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
The user wants to implement login using magic URLs in a mobile app using the Web SDK and Capacitor. They mention using deep links to redirect from their website to their mobile app. They successfully capture the URL via deep link and process it further. They seek guidance on setting up `<application>` in AndroidManifest.xml and info.plist for Android and iOS respectively. They also mention Supabase's approach to magic links for native apps.
Drake
Jul 20, 2023, 04:25
How about you do the same thing?
Drake
Jul 20, 2023, 04:26
Although, I think a custom url scheme isn't the best approach...deep link might be better
Ajit Singh
Rank 3: Container
Jul 20, 2023, 04:42
So I capture the url via deeplink and process it further right
Drake
Jul 20, 2023, 05:06
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
Ajit Singh
Rank 3: Container
Jul 20, 2023, 06:10
Thanks
Ajit Singh
Rank 3: Container
Jul 20, 2023, 06:11
[SOLVED] Login using magic url in web-sdk in mobile for capacitor
Ajit Singh
Rank 3: Container
Jul 20, 2023, 06:11
for your help
aaronksaunders
Jul 30, 2023, 01:59
@Ajit Singh curious how you solved it?
Ajit Singh
Rank 3: Container
Jul 30, 2023, 05:04
I used deeplinks
Ajit Singh
Rank 3: Container
Jul 30, 2023, 05:05
I added deeplinks to my website and redirect to my mobile app