Did you add "DEFAULT" category to your intent filter in :instant_experience
?
Here is what we have for our app, in our instant module's AndroidManifest.xml
:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:dist="http://schemas.android.com/apk/distribution"
xmlns:tools="http://schemas.android.com/tools"
package="a.b.c.instant">
<dist:module
dist:instant="true"
dist:title="@string/module_instant_title">
<dist:delivery>
<dist:install-time />
</dist:delivery>
<dist:fusing dist:include="true" />
</dist:module>
<application>
<activity
android:name=".InstantActivity"
android:theme="@style/Theme.Splashscreen"
android:visibleToInstantApps="true"
tools:targetApi="o">
<meta-data
android:name="default-url"
android:value="https://www.example.org/foo/bar" />
<intent-filter android:autoVerify="true">
<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" />
<data
android:scheme="https"
android:host="www.example.org"
android:pathPrefix="/foo/" />
</intent-filter>
</activity>
</application>
</manifest>
Note that we used android:autoVerify="true"
in the intent filter to support App Links.
Looks like we also needed to add android:visibleToInstantApps="true"
to our instant activity node, but I don't remember why...
Does this example helps you fix your situation? Otherwise, would you mind updating your question with :instant_experience
's AndroidManifest.xml
?