Reputation: 9
I would like to open a certain instagram profile in the App when a user clicks on a Nearby Notification.
I have three fields to fill out:
The package name is fairly clear (com.instagram.android). But when I only fill this field, the app store opens first. There I have to click on "open" to open Instagram. What am I doing wrong? The only app intent tutorials I found are about direct app integration and not of much use.
Upvotes: 0
Views: 340
Reputation:
The App intent only works for apps that have been published on the Google Play store.
Upvotes: 1
Reputation: 1
Maybe you should add some content at your app like this:
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data
android:host="scan"
android:pathPrefix="/profile/foo"
android:scheme="fb"/>
</intent-filter>
You can see more information here.
Upvotes: 0