Android
Deep Linking in your Android app
Using Intercom you can embed a deep link in your in-app messages or as the URI for your push messages.
Setting up a Deep Link in your App
You will need to set up a deep link in your apps AndroidManifest.xml. Android supports both app://page and http://www.app.com/page type schemes.
<activity android:name="app.SettingsActivity">
<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"
android:host="www.app.com"
android:pathPrefix="/settings" />
<data android:scheme="app"
android:host="settings" />
</intent-filter>
</activity>
Linking to your app
Once you have set up your app to respond to a URI, you can send a push message with that as the URI. Tapping the push message will open your app to the specified page.
![Screen Shot 2017-05-16 at 15.41.45.png 2472](https://files.readme.io/ecd07b5-Screen_Shot_2017-05-16_at_15.41.45.png)
You can also add a link to your in-app messages and replies as follows:
![Screen Shot 2017-05-16 at 15.46.12.png 1322](https://files.readme.io/c694652-Screen_Shot_2017-05-16_at_15.46.12.png)
Linking to other apps
You can link to other apps instead of your own. For example if you wanted to link to a location in Google Maps you could set the URI. Tapping the push message would open the Maps app and move you to the coordinates provided.
![Screen Shot 2017-05-16 at 13.47.44.png 2476](https://files.readme.io/c63cc33-Screen_Shot_2017-05-16_at_13.47.44.png)
What's next?
Now that you have Intercom deep links set up you can:
Set up Identity Verification
Configure Android Push Notifications for GCM or FCM.
Updated about 7 years ago