Skip to content

Instantly share code, notes, and snippets.

Avatar

Robert RobertApikyan

  • V-Mobile
  • Armenia, Yerevan
View GitHub Profile
View MsalPlugin.kt
package global.raiser.app.plugins.msal
import android.app.Activity
import com.microsoft.identity.client.AuthenticationCallback
import com.microsoft.identity.client.IAuthenticationResult
import com.microsoft.identity.client.IPublicClientApplication
import com.microsoft.identity.client.PublicClientApplication
import com.microsoft.identity.client.exception.MsalException
import global.raiser.app.R
import io.flutter.embedding.engine.plugins.FlutterPlugin
View KeyHashGenerator.java
package global.raiser.app.plugins.utils;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.net.Uri;
import android.util.Base64;
import java.security.MessageDigest;
View PlatformMethodHandler.swift
//
// PlatformMethodHandler.swift
// Runner
//
// Created by Tigran Kirakosyan on 11/23/20.
// Copyright © 2020 The Chromium Authors. All rights reserved.
//
import Flutter
import MSAL
View Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
View pubspec.yaml
name: raiser
description: A new Flutter application.
publish_to: none
version: 2.0.4+321
# !!! TO BUILD RELEASE VERSION RUN
# flutter build {apk,ios} --release -t lib/run/{Dev, Prod, Stage}.dart --flavor {dev,prod,stage}
# Since the app stizzzzzll uses flies with no null safety, the --no-sound-null-safety argument needs to be added
# Example - fvm flutter build apk --release -t lib/run/Dev.dart --flavor dev --no-sound-null-safety
# Example - fvm flutter build apk --release -t lib/run/Prod.dart --flavor prod --no-sound-null-safety
View gist:d57c6c556f66f895cf94b4de53adb024
submit,
feedback,
document_open,
document_reload,
back,
link,
info_panel_mute,
info,
capture_mode,
capture_photo,
View gist:ebc23e7a7bf0eb4bdad03b780078614a
file_viewed('FILE_VIEWED'),
auto_fill_tan("AUTO_FILL_TAN"),
face_scan_canceled("FACE_SCAN_CANCELED"),
automatic_document_capture("AUTOMATIC_DOCUMENT_CAPTURE"),
automatic_document_capture_failure("AUTOMATIC_DOCUMENT_CAPTURE_FAILURE"),
moved_to_foreground("MOVED_TO_FOREGROUND"),
moved_to_background("MOVED_TO_BACKGROUND"),
purpose_selection("PURPOSE_SELECTION"),
dialog_shown("DIALOG_SHOWN"),
toast_shown("TOAST_SHOWN"),
View content_fade.dart
import 'package:flutter/material.dart';
import 'package:qundo/app/app_colors.dart';
class ContentFade extends StatelessWidget {
const ContentFade(
{required this.child,
Key? key,
this.fadeStart = true,
this.fadeEnd = true})
: super(key: key);
View app_button.dart
class AppButton extends StatefulWidget {
const AppButton({
required this.text,
required this.styleBundle,
super.key,
this.onTap,
this.isDisabled = false,
});
final String text;