mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-05 22:39:10 +08:00
1.0 KiB
1.0 KiB
title, description
| title | description |
|---|---|
| Android Setup | App Indexing | Setup your Android application to handle app indexed URLs. |
Android Manual Linking
Your Android application needs to be setup to detect whether URLs which a user navigates to on your device are to be handled by your application.
To set this up, add a new intent-filter to your manifest file. The example below will trigger the app indexing module
to handle URLs from any https://invertase.io/blog URL.
android/app/src/main/AndroidManifest.xml:
<manifest ...>
<application android:name="com.your.app.MainApplication"
...>
<activity android:name="com.your.app.MainActivity"
...>
<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="https"
android:host="invertase.io"
android:pathPrefix="/blog" />
</intent-filter>