Rank 2: Process
How do I use mgic url in iOS? I can’t create the email that is sent to the user myself. and i cant create uapple-app-site-association
Votes
0
Replies
5
Participants
Unknown
Messages
6
Rank 2: Process
How do I use mgic url in iOS? I can’t create the email that is sent to the user myself. and i cant create uapple-app-site-association
You need to implement deep linking so that the URL in the email will link into the app where you can extract the secret and finish the flow
Rank 2: Process
cant understand. what about this
3. Hosting apple-app-site-association file
You need to host an apple-app-site-association file in the web domain. This file tells the mobile browser which iOS application to open instead of the browser. To create the file, get the app ID of the Flutter app you created in the previous step.
Rank 2: Process
There are no good instructions on the Internet how i can use Appwrite magic link
apple-app-site-association isn't an explicit requirement but can be useful. All you need to do is use deep-linking for Magic Url Auth.
Request session via magic link, user receives the link, user clicks it, a site url opens, here you should use deeplink so that when the page opens, it tries to pass the userId, secret to your app via deeplink.
Process the userId & secret to create a session.
Deep linking is not an appwrite specific thing. Whatever you find online should be applicable.