I'm getting the error message when releasing instant-app to production.
I've read this post here: You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter' and this is a bit more specific.
The answer in the above link states:
Upload installable APK in alpha, beta or production with same HOST web 'intent-filter'.
I uploaded an installable apk w/ the intent-filter to alpha and that the error message went away when releasing my instant-app to pre-release, but when releasing instant-app to production I'm getting the same error.
You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter'.
My installable apk with the default-url
intent-filter was only uploaded to alpha. However, I'm wondering if my installable apk w/ intent-filter needs to be moved to production when I try to push my instant-app to production?
The reason is because the behavior needs to be the same between the same track level of the installed and instant app. The user would experience a different URL resolving behavior if the user uses the installed-app (without the proper intent-filters) after downloading the instant app.
You have to add the app-link to your activity. Here's one example of what it looks like.
You can also use App link assistant tool to generate intent-filters. To open it Select Tools > App Links Assistant. For more details go to https://developer.android.com/studio/write/app-link-indexing.html
You need to define at least one
default-url
as the entry point to your app. I have defined it inside<activity>
tag as below.