aboutsummaryrefslogtreecommitdiffstats
path: root/android/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-07-06 23:10:37 -0700
committerAdam Soltys <[email protected]>2025-07-06 23:10:37 -0700
commit8af38f7f4736beadf23b4a2c68b0b918a6cfeb0d (patch)
tree65a42b90251fb582c965c4c9e90ff58c35bee472 /android/app/src/main/AndroidManifest.xml
parent77d1c092bdffdb8cd1648fbbdb930748636e256e (diff)
downloadcoinos-ui-8af38f7f4736beadf23b4a2c68b0b918a6cfeb0d.tar.gz
coinos-ui-8af38f7f4736beadf23b4a2c68b0b918a6cfeb0d.zip
nfc intents
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
-rw-r--r--android/app/src/main/AndroidManifest.xml119
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"/>