I am using the websdk to login using magic url but I am using it in an android and ios app using capacitor can some one guide me how to setup the <application> in AndroidManifest.xml in that case and info.plist in ios case. Does appwrite sdk handle something that I need to know
this is how to do it in supabase https://supabase.com/blog/authentication-in-ionic-angular#magic-links-for-native-apps
How about you do the same thing?
Although, I think a custom url scheme isn't the best approach...deep link might be better
So I capture the url via deeplink and process it further right
yes. so the email will a URL. the user will tap and then it should link into your app. Then, you can grab the userId and secret from the query params to finish the magic url auth
Thanks
[SOLVED] Login using magic url in web-sdk in mobile for capacitor
for your help
@Ajit Singh curious how you solved it?
I used deeplinks
I added deeplinks to my website and redirect to my mobile app
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...