Skip to content

Instantly share code, notes, and snippets.

@Astroa7m
Created October 25, 2022 16:46
Show Gist options
  • Save Astroa7m/c529060ca1e273ca3b6f43ab8e2e7dcb to your computer and use it in GitHub Desktop.
Save Astroa7m/c529060ca1e273ca3b6f43ab8e2e7dcb to your computer and use it in GitHub Desktop.
final AndroidManifest.xml
<manifest ...>
<application
...>
<activity
....>
....
<intent-filter >
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE"/>
<action android:name="android.intent.action.VIEW" />
<data
android:host="@string/host"
android:path="@string/path_to_existed_user"
android:scheme="@string/scheme" />
<!--add this-->
<data
android:host="@string/host"
android:scheme="@string/scheme"
android:path="@string/path_to_add_user"/>
</intent-filter>
...
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment