nano auth

This commit is contained in:
fosse 2024-01-24 16:01:14 -05:00
parent 9754d67601
commit 3faa99450b
3 changed files with 13 additions and 0 deletions

View file

@ -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" />

View file

@ -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>

View file

@ -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)) {