Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Add deeplink action to enable testing from terminal

Don Turner29e08ea1a0bf
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 0b0482c13..b925090cf 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -44,10 +44,14 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
- <intent-filter>
- <data
- android:scheme="https"
- android:host="www.nowinandroid.apps.samples.google.com" />
+ <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" />
+ <data android:host="www.nowinandroid.apps.samples.google.com" />
</intent-filter>
</activity>