App Verification from website

Posted on Posted in Android

We can share the app using website link and now we also check the app installed from same link.

In addition to using intent filters to declare an association between your app and a website, your manifest must also include an additional declaration for requesting automatic verification. When this declaration is present, the Android system attempts to verify your app after installation. If the verification succeeds, and the user has not set an alternate preference for handling your website URIs, the system automatically routes those URI requests to your app.

<activity ...>

    <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="www.rameshchavan.in" />
        <data android:scheme="https" android:host="www.rameshchavan.in" />
    </intent-filter>

</activity>

Leave a Reply

Your email address will not be published. Required fields are marked *