Upload failed
You should use both http and https as schemes for your web intent-filters.
I am getting this error while uploading the instant app to Play Store. I have declared intent filters for both http and https in Manifest as below.
<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:scheme="http"
android:host="XXXX" />
</intent-filter>
<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:scheme="https"
android:host="XXXX" />
</intent-filter>
Could you please let me know what could be wrong and why i am getting this error while uploading to Play Store ?
Try to declare IntentFilter
like this
<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:scheme="http" />
<data android:scheme="https" />
<data android:host="yourhost.ru" />
<data android:pathPattern="/featurePath" />
</intent-filter>
you have to define both in the same intent filter
<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="XXXX"
android:scheme="http" />
<data
android:scheme="https"
android:host="XXXX" />
</intent-filter>
<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"
android:host="XYZ"
android:pathPattern="/app" />
<data
android:scheme="https"
android:host="XYZ"
android:pathPattern="/app" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="default-url"
android:value="https://XYZ/app" />
</activity>
Had the same problem. The above manifest solved my problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With