Hi,
I want to open my app when tapping on a url and read the value appended to the url. For example, I need to get string "123" in my code by opening my app with url "myapp://open?code=123".
I add some code to manifest inside application tag :
<activity android:name="com.companyname.appname.MainActivity" android:label="appname">
<intent-filter>
<data android:scheme="https" android:host="appname" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
I am testing this feature by tapping a demo url from my phone. But always open google chrome when tapping the demo url.
Thanks in advance