Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter'

Trying to upload instant application but getting this error

You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter'.

<activity
    android:name=".ui.InstantSplash"
    android:screenOrientation="portrait"
    android:theme="@style/splashScreenTheme">

    <meta-data
        android:name="default-url"
        android:value="https://sample.com/base-app/salt_one" />

    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>

    <intent-filter
        android:autoVerify="true"
        tools:targetApi="m">
        <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:host="sample.com" />
        <data android:pathPrefix="/base-app" />
        <data android:scheme="https" />
    </intent-filter>
</activity>
like image 372
Dart Avatar asked Dec 20 '17 15:12

Dart


People also ask

What is intent filter in android manifest?

An intent filter is an expression in an app's manifest file that specifies the type of intents that the component would like to receive. For instance, by declaring an intent filter for an activity, you make it possible for other apps to directly start your activity with a certain kind of intent.

What is intent filter in Android with example?

An intent filter declares the capabilities of its parent component — what an activity or service can do and what types of broadcasts a receiver can handle. It opens the component to receiving intents of the advertised type, while filtering out those that are not meaningful for the component.

What are the parameters required to build an intent?

Intent is created in Application_1, action, data, category parameters are filled. Let's name this set of parameters Param_C for convenience. Using startActivity, this Intent will be sent to look for an appropriate Activity, which will be able to accomplish what we need (that is what is defined by Param_C).


1 Answers

Upload installable APK in alpha, beta or production with same HOST web 'intent-filter'.

like image 84
wadali Avatar answered Nov 15 '22 04:11

wadali