Seeing issue running Instant App in Android Studio when @string
value is used for host name (getting "URL not defined in the manifest" error). For example:
<data android:scheme="https" android:host="@string/SOME_DOMAIN" />
This is working fine if android:host
is set to raw domain string. I can work around this by setting that value to specific domain value when running/debugging from AS but not ideal (always danger of pushing code that contains the hard coded string!)
Also, this works fine if I build/deploy base and feature apks from command line and trigger using something like adb shell am start -W -a android.intent.action.VIEW -d "<my url>"
android:host
@string/SOME_DOMAIN
...issue is only if I run from AS