I'm trying to open my deeplink by responding to app action intent.
My actions.xml
<?xml version="1.0" encoding="utf-8"?>
<actions>
<action intentName="actions.intent.RECORD_HEALTH_OBSERVATION" >
<fulfillment urlTemplate="myapp://logMeasure{?measureName}">
<parameter-mapping
intentParameter="healthObservation.measuredProperty.name"
urlParameter="measureName" />
</fulfillment>
</action>
</actions>
In the manifest, I've declared the MainActivity as exported
and with deeplink and the meta for actions.
<activity
android:name="com.myapp.MainActivity"
android:exported="true">
<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:host="logMeasure"
android:scheme="myapp"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.actions"
android:resource="@xml/actions"/>
I'm correctly logged in with the same google account on android studio and my phone. My account can access the Google Play Developer console and the app is already published.
Here is the app action test tool screenshot with the configuration.
When I click run, the assistant open, load and then display the toast with "App isn't installed."
What am I missing?