diff options
| author | Adam Soltys <[email protected]> | 2025-07-06 23:10:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-07-06 23:10:37 -0700 |
| commit | 0ba4dbf4b1e3133bdff4b416327f0e7c99f397a2 (patch) | |
| tree | 65a42b90251fb582c965c4c9e90ff58c35bee472 /android/app/src/main/AndroidManifest.xml | |
| parent | d17aa395a3579bba23156f0861f605f5844b29d9 (diff) | |
| download | coinos-ui-1.0.8.tar.gz coinos-ui-1.0.8.zip | |
nfc intentsv1.0.8
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 119 |
1 files changed, 69 insertions, 50 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 97c0e655..72d7ccc0 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -7,60 +7,80 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> - <activity - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" - android:name=".MainActivity" - android:label="@string/title_activity_main" - android:theme="@style/AppTheme.NoActionBarLaunch" - android:launchMode="singleTask" - android:exported="true"> - - <!-- Launcher intent --> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> + <activity + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" + android:name=".MainActivity" + android:label="@string/title_activity_main" + android:theme="@style/AppTheme.NoActionBarLaunch" + android:launchMode="singleTask" + android:exported="true"> + + <!-- Launcher intent --> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> - <!-- bitcoin: scheme --> - <intent-filter> - <action android:name="android.intent.action.VIEW" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.BROWSABLE" /> - <data android:scheme="bitcoin" /> - </intent-filter> + <!-- bitcoin: scheme --> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + <data android:scheme="bitcoin" /> + </intent-filter> + <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="bitcoin" /> + </intent-filter> - <!-- lightning: scheme --> - <intent-filter> - <action android:name="android.intent.action.VIEW" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.BROWSABLE" /> - <data android:scheme="lightning" /> - </intent-filter> + <!-- lightning: scheme --> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + <data android:scheme="lightning" /> + </intent-filter> + <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="lightning" /> + </intent-filter> - <!-- lnurl: scheme --> - <intent-filter> - <action android:name="android.intent.action.VIEW" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.BROWSABLE" /> - <data android:scheme="lnurl" /> - </intent-filter> + <!-- lnurl: scheme --> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + <data android:scheme="lnurl" /> + </intent-filter> + <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="lnurl" /> + </intent-filter> - <!-- nostr: scheme --> - <intent-filter> - <action android:name="android.intent.action.VIEW" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.BROWSABLE" /> - <data android:scheme="nostr" /> - </intent-filter> + <!-- nostr: scheme --> + <intent-filter> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + <data android:scheme="nostr" /> + </intent-filter> + <intent-filter> + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:scheme="nostr" /> + </intent-filter> - <!-- Deep linking to https://coinos.io --> - <intent-filter android:autoVerify="true"> - <action android:name="android.intent.action.VIEW" /> - <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.BROWSABLE" /> - <data android:scheme="https" android:host="coinos.io" /> - </intent-filter> - </activity> + <!-- Deep linking to https://coinos.io --> + <intent-filter android:autoVerify="true"> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + <data android:scheme="https" android:host="coinos.io" /> + </intent-filter> + </activity> <provider android:name="androidx.core.content.FileProvider" @@ -72,7 +92,6 @@ </application> <!-- Permissions --> - <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" android:required="true"/> |
