Skip to content

Instantly share code, notes, and snippets.

@eugenehp
Created April 19, 2021 16:08
Show Gist options
  • Save eugenehp/0a45ca3a39ac43f9d0af4ada3bf6b8ef to your computer and use it in GitHub Desktop.
Save eugenehp/0a45ca3a39ac43f9d0af4ada3bf6b8ef to your computer and use it in GitHub Desktop.
Deep linking on Android
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.billingapp">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="filter_react_native">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="billing-app" android:host="billing" />
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment