Skip to content

Instantly share code, notes, and snippets.

@tsmrecki
Last active December 20, 2017 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsmrecki/43e60ce168b111c76c51e9d723ba95e1 to your computer and use it in GitHub Desktop.
Save tsmrecki/43e60ce168b111c76c51e9d723ba95e1 to your computer and use it in GitHub Desktop.
Android Instant App activity intent filter example
<activity android:name=".ProductActivity">
<intent-filter
android:autoVerify="true"
android:order="100">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="http"
android:host="example.domain"
android:pathPrefix="/products" />
<data android:scheme="https"/>
</intent-filter>
</activity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment