In my app the server send this link: appname://veryfy?email=test@mail.com&token=asdf-asdf-asdf-xcfghfgh
but is it possible to get the values like email= test@mail.com
and the token = sdfdkgdkgjgfd
.
So far I've only added this intent filter inside my manifest but the app is not called:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain" android:scheme="appname://"/>
</intent-filter>
Note this should open my app when the link is clicked in the browser