Does "com.android.asset-pack"-on-demand effect InstallApp?

  android, android-instant-apps

I using both assetPacks and instantApp in an app. The instant app work well when I install with Android Studio. But after build and release to Google play, I cannot see "Try Now"
button on GooglePlay. I don’t know which part I missed. Please help me.

app.gradle

assetPacks = [
                ":background_asset_pack"
        ]
...

implementation "com.google.android.gms:play-services-instantapps:17.0.0"

manifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:dist="http://schemas.android.com/apk/distribution"
    android:targetSandboxVersion="2"
    package="app.xxx.xxx">

 <dist:module dist:instant="true" />

Source: Android Questions

LEAVE A COMMENT