diff --git a/android/app/src/main/AndroidManifestBase.xml b/android/app/src/main/AndroidManifestBase.xml index 2dceca577..6b66bb370 100644 --- a/android/app/src/main/AndroidManifestBase.xml +++ b/android/app/src/main/AndroidManifestBase.xml @@ -57,6 +57,7 @@ <data android:scheme="ethereum-wallet" /> <data android:scheme="ethereum_wallet" /> <data android:scheme="nano" /> + <data android:scheme="nanoauth" /> <data android:scheme="nano-wallet" /> <data android:scheme="nano_wallet" /> <data android:scheme="bitcoincash" /> diff --git a/ios/Runner/InfoBase.plist b/ios/Runner/InfoBase.plist index 4f7036498..2a158821e 100644 --- a/ios/Runner/InfoBase.plist +++ b/ios/Runner/InfoBase.plist @@ -130,6 +130,16 @@ <string>nano</string> </array> </dict> + <dict> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>CFBundleURLName</key> + <string>nanoauth</string> + <key>CFBundleURLSchemes</key> + <array> + <string>nanoauth</string> + </array> + </dict> <dict> <key>CFBundleTypeRole</key> <string>Viewer</string> diff --git a/lib/src/screens/root/root.dart b/lib/src/screens/root/root.dart index b3d503162..ddf910d82 100644 --- a/lib/src/screens/root/root.dart +++ b/lib/src/screens/root/root.dart @@ -209,6 +209,8 @@ class RootState extends State<Root> with WidgetsBindingObserver { bool get isWalletConnectLink => launchUri?.authority == 'wc'; + bool get isNanoLink => launchUri?.authority == 'nanoauth'; + String? _getRouteToGo() { if (isWalletConnectLink) { if (isEVMCompatibleChain(widget.appStore.wallet!.type)) {