From 4c9fd5db6549c6f586b207ae5b844225f2092835 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 15 Dec 2022 18:00:56 +0200 Subject: [PATCH 1/2] Navigate to send screen even if the user does not need to authenticate --- lib/src/screens/root/root.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/src/screens/root/root.dart b/lib/src/screens/root/root.dart index 0ab1c23c1..052d4c71b 100644 --- a/lib/src/screens/root/root.dart +++ b/lib/src/screens/root/root.dart @@ -124,6 +124,12 @@ class RootState extends State with WidgetsBindingObserver { launchUri = null; }); }); + } else if (launchUri != null) { + widget.navigatorKey.currentState?.pushNamed( + Routes.send, + arguments: PaymentRequest.fromUri(launchUri), + ); + launchUri = null; } return WillPopScope(onWillPop: () async => false, child: widget.child); From 4be874113047fa981f1f81ae0242c062e9245555 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 15 Dec 2022 18:54:12 +0200 Subject: [PATCH 2/2] Open app in a single instance only and not on top if launched from other apps --- android/app/src/main/AndroidManifestBase.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/AndroidManifestBase.xml b/android/app/src/main/AndroidManifestBase.xml index cf67a8c26..9f6b65785 100644 --- a/android/app/src/main/AndroidManifestBase.xml +++ b/android/app/src/main/AndroidManifestBase.xml @@ -16,7 +16,7 @@ android:requestLegacyExternalStorage="true">