From fffad00f00a40c2d1ad4a9468f0d4cd2bbc2b5f2 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 29 Jun 2024 18:09:56 +0800 Subject: [PATCH] :lipstick: Better multi-factor authenticate callback experience :sparkles: Support custom app protocol solink:// --- android/app/src/main/AndroidManifest.xml | 79 +++++++------ ios/Podfile.lock | 14 ++- ios/Runner/Info.plist | 15 +++ ios/Runner/Runner.entitlements | 5 + lib/main.dart | 10 +- lib/screens/auth/signin.dart | 4 +- lib/shells/listener_shell.dart | 39 +++++++ macos/Flutter/GeneratedPluginRegistrant.swift | 2 + macos/Runner/Info.plist | 13 +++ pubspec.lock | 108 ++++++++++++------ pubspec.yaml | 5 +- .../flutter/generated_plugin_registrant.cc | 3 + windows/flutter/generated_plugins.cmake | 1 + windows/runner/main.cpp | 14 ++- 14 files changed, 235 insertions(+), 77 deletions(-) create mode 100644 lib/shells/listener_shell.dart diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6343bc4..d68b9bd 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,50 +1,63 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + - - + android:label="Solian" + android:name="${applicationName}" + android:icon="@mipmap/launcher_icon" + android:supportsRtl="true"> + + - + + android:name=".MainActivity" + android:exported="true" + android:launchMode="singleTop" + android:taskAffinity="" + android:theme="@style/LaunchTheme" + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" + android:hardwareAccelerated="true" + android:windowSoftInputMode="adjustResize"> + + + + + + + + + + + + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> @@ -53,8 +66,8 @@ + android:name="flutterEmbedding" + android:value="2"/>