I feel like this is an embarrassingly stupid question, but oh well, as long as I get an answer.
The purpose of an app intent Nearby Notification is that users who tap the notification will be taken to the Play Store to install an app if they don't have it, or it will open the app if it is already installed. My problem is that, even when it is already installed, tapping the notification always takes me to the Play Store listing for the app.
In the Google Beacons dashboard, I select a beacon from the list and then select "View Nearby Notifications" from the dashboard. I enter a title, the language, ensure production mode is selected, select "App intent" from the dropdown. Then I have fields for intent scheme, intent path, package name of the app.
Is an intent path required? Why isn't a host required?
I'm unclear about what intent filter I need to set in my AndroidManifest.xml. This is what I am trying:
<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="nearbyapidemo"
android:host="name.chadschultz.nearbyapidemo"/>
</intent-filter>
What am I doing wrong?