aboutsummaryrefslogtreecommitdiffstats
path: root/android/app
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-06-26 16:14:15 -0700
committerAdam Soltys <[email protected]>2025-06-26 16:14:15 -0700
commit85b541402a3f392d199419f80fcfb465d05e20be (patch)
treef2ffbd9471bfab984d7812ea93aac3239213a7eb /android/app
parentd4f28a91edc7260f689e9e420a4a4fd312b6b719 (diff)
downloadcoinos-ui-85b541402a3f392d199419f80fcfb465d05e20be.tar.gz
coinos-ui-85b541402a3f392d199419f80fcfb465d05e20be.zip
add intents
Diffstat (limited to 'android/app')
-rw-r--r--android/app/src/main/AndroidManifest.xml78
1 files changed, 52 insertions, 26 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 86de46b2..97c0e655 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -7,34 +7,60 @@
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">
- <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>
- <intent-filter>
- <data android:scheme="bitcoin" />
- <data android:scheme="lightning" />
- <data android:scheme="nostr" />
- <action android:name="android.intent.action.VIEW" />
- <category android:name="android.intent.category.DEFAULT" />
- <category android:name="android.intent.category.BROWSABLE" />
- </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 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>
+ <!-- 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>
+
+ <!-- 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>
+
+ <!-- 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>
+
+ <!-- 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"