I have been trying to open my app when user clicks on a link in browser. I tried to use scheme to open my app. The change I made in Manifest
is given below.
<activity
android:name="com.test.testapp.TestAppActivity"
android:label="@string/app_name"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data android:scheme="testscheme" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
I also have internet permission added. However opening links like "testscheme://testID=1" do not open up my app. Am I missing something here? I cannot find a solution for this anywhere. Please help.