Android deep linking not working from gmail

Viewed 2373

Iam using deep linking from gmail to my application. after clicking deep link in gmail it opening in gmail webview and not supporting deeplink(Getting error like site can not be reache), if i open the same url in chrome then working fine.

Below is the code i added in manifest

 <activity android:name=".MainActivity">
        <intent-filter>
            <data
                android:host="XXXX"
                android:pathPrefix="/v1/user/reset_password/"
                android:scheme="http" />

            <action android:name="android.intent.action.MAIN" />
            <action android:name="android.intent.action.VIEW" />

            <category android:name="android.intent.category.LAUNCHER" />
            <category android:name="android.intent.category.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
        </intent-filter>
    </activity>

Please let me know how can i resolve this issue.

1 Answers
Related