Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeplink not working #156

Open
chirastefan opened this issue Jul 13, 2022 · 1 comment
Open

Deeplink not working #156

chirastefan opened this issue Jul 13, 2022 · 1 comment

Comments

@chirastefan
Copy link

I'm using [https scheme, http scheme] and I am testing
on my [Galaxy S7 edge],
which is running [Android 8.0.0].

I'm using Apwrite(running locally with docker on my.ip.address) for user auth and other stuff, but the deep link doesn't seem to work.
For user email verification, Appwrite sends an email with a decorated URL for the activation of the account. For example: my.ip.address://account/verification?userId=testUserId?secret=testSecret. Tapping on that doesn't open the application.

Config:

<intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>           
<intent-filter android:autoVerify="true" tools:targetApi="m">
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <!--                <data android:scheme="https"/>-->
                <data
                        android:scheme="http"
                        android:host="my.ip.address"
                        android:pathPrefix="/v1/account/verification"
                />
  </intent-filter>
@jjsebastianfuertes
Copy link

Hi, in this case the scheme must be my.ip.address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants