Skip to content

Instantly share code, notes, and snippets.

@merttoptas
Last active March 22, 2023 11:22
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 merttoptas/edcfc82c3b0580a2af4953a904a7a9f4 to your computer and use it in GitHub Desktop.
Save merttoptas/edcfc82c3b0580a2af4953a904a7a9f4 to your computer and use it in GitHub Desktop.
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.ComposeDeeplinkTutorial">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<!--below line is to set the action to our intent to view-->
<action android:name="android.intent.action.VIEW" />
<!--on below line we are adding a default category to our intent-->
<category android:name="android.intent.category.DEFAULT" />
<!--on below line we are adding a category to make our app browsable-->
<category android:name="android.intent.category.BROWSABLE" />
<!--on below line we are specifying the host name and
the scheme type from which we will be calling our app-->
<data
android:host="compose"
android:scheme="example" />
</intent-filter>
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment