Last active
December 6, 2020 09:38
-
-
Save naishe/f30cf0159a4d42117e83e10d54b474da to your computer and use it in GitHub Desktop.
Deep Linking Push Notifications with React Navigation #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- File Name: android/app/src/main/AndroidManifest.xml --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="your.app.package.name"> | |
<!-- redacted permissions and other tags --> | |
<application > | |
<activity > | |
<!-- redacted other intent filters --> | |
<!-- this intent filter handles myapp:// scheme --> | |
<intent-filter> | |
<action android:name="android.intent.action.VIEW"/> | |
<category android:name="android.intent.category.DEFAULT"/> | |
<category android:name="android.intent.category.BROWSABLE"/> | |
<data android:scheme="myapp"/> | |
</intent-filter> | |
<!-- this intent filter handles https://app.myapp.com/ and http://app.myapp.com/ schemes --> | |
<intent-filter> | |
<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" /> | |
<data android:scheme="https" /> | |
<data android:host="app.myapp.com"/> | |
</intent-filter> | |
</activity> | |
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity"/> | |
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_stat_ic_notification"/> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment