Rank 2: Process
How would user receive an email if the code which sends the email is embedded in the app?...
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
How would user receive an email if the code which sends the email is embedded in the app?...
Admin
I think it's for the case where the user opens the email on a different device.
Rank 2: Process
that case is so rare that basically makes no sense 😄
Rank 4: Virtual Machine
That's good you don't have to worry about that case. Several of the systems I've had to implement this for did have to be concerned about it.
Rank 4: Virtual Machine
And yes, it has to do with when a user has multiple devices.
just to be sure:
If i'm hosting appwrite on a server, I need to point to that url instead of localhost. And this, static html file needs to be hosted in that server. Correct? Also, will I need to add a WEB platform to my appwrite dashboard?
Admin
the assetlinks.json? That's supposed to be hosted at the domain for your client app
I was asking about the html file that redirects users back to the app
Admin
the auth.html file is supposed to be hosted with your flutter web app
ah okay
Thanks!
Rank 3: Container
This is a serious problem with appwrite. Smtp and deeplinks/universal links are a headache.
Rank 3: Container
I have 5 apps that I can't release because forgot password function isn't working.
Rank 3: Container
I can't opt for phone authentication because the accepted 3rd parties are expensive in my country
Rank 3: Container
I think the dev team should create YouTube videos on serious matters like these
i agree
@frankenstein we're working with the core team to simplify the process from the SDK as we speak. Hopefully we could share more on that very soon.
Rank 3: Container
thanks in advance. but if there is anything like a demo app please share
Rank 3: Container
like this forgot password thing is letting me down.
Rank 3: Container
Or anyone with a complete project can be an ambassador and help us with these problems
Admin
Flutter's docs on deep linking are pretty good https://docs.flutter.dev/development/ui/navigation/deep-linking
Rank 3: Container
i read about these links. there are deep links which dont require https and the json and applinks which require these
Rank 3: Container
in password recovery which one can be used? deeplink or applinks?
Admin
Either. It's up to you. One thing, though, is if a user is going to be opening the link, I would recommend using a link with a https url scheme because sometimes email clients don't render links with a custom url scheme.
Rank 3: Container
so it means i have to connect my database with a custom domain?
Update: @dlohani had some success fixing this issue for magic login and password recovery. We still need to do more tests and make sure we apply changes to our native iOS and Android SDK, but things seem positive right now.