I want a user to be able to login using magic a link as below:
myapp://app.com/login-with-token?email=someEmail&token=sometoken
For some reason the app only receives the part before &
character as:
myapp://app.com/login-with-token?email=someEmail
Does anybody have an idea how to work around this problem?
EDIT: Here's what I've added in AndroidManifest.xml
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp"
android:host="app.com"
android:pathPrefix="/"/>
</intent-filter>