mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
nano auth
This commit is contained in:
parent
9754d67601
commit
3faa99450b
3 changed files with 13 additions and 0 deletions
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue