
Hi there
After clicking on the link for password recovery, the link does not redirect to my flutter ( android app ) It only open cloud.appwrite.io
So I'm wondering if there's any extra steps to make this work

Did you put a returning address into recovery function?

As parameters of the function , I added email and URL ( cloud.appwrite.io )

The url should be your domain for app (yourdomain.com)

When passing another URL the console says URL host must be one of: localhost , cloud.appwrite.io

So where should I use my app domain

And to be sure, we understand ourselves, what does domain refers to in case of a flutter android app

Oh, sorry, flutter app.... I dont really know how is it there.


I've already seen this , but it's unclear

That's a pretty complex topic. You'll need to add deep linking to your app, by that you'll send the user to a custom URL in which your app is connected.
Also, check here https://discord.com/channels/564160730845151244/1108537125160353802/1108537840826073199


in my project your can see how implement the redirect

you need window.location.replace(
"appwrite-callback-645117a4024fbb32ed34://updateRecovery"
);

Thanks I'll check

Okay I'll check

I finally managed to redirect to the app , now I'm searching how to handle it like navigating to a specific page after password update , or just showing a snack bar

WidgetsFlutterBinding.ensureInitialized();
final deepLinkHandler = DeepLinkHandler(onLinkReceived: (Uri uri) {
// watch snackbar o redirect
print('URL recibido: $uri');
});
WidgetsBinding.instance!.addObserver(deepLinkHandler);
runApp(MyApp());
}```

you need a event observator

Which package is DeepLinkHandler from ?

final Function(Uri) onLinkReceived;
DeepLinkHandler({required this.onLinkReceived});
@override
Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
if (state == AppLifecycleState.resumed) {
final initialLink = await getInitialLink();
if (initialLink != null) {
onLinkReceived(initialLink);
}
}
}
}```
Use is package https://pub.dev/packages/uni_links

When setting up, should I use the intent in the description or just keep appwrite one
Recommended threads
- Multiple import failures migrating from ...
Multiple import failures migrating from cloud to localhost Docker. See attached doc for logs. Local docker on win 11 is V1.7.4 as per latest setup, but cloud ...
- Doubt regarding running Nextjs APIs on A...
How are the API calls running on my NextJS API routes charged by the Appwrite cloud? Like if each of my API calls takes 20s, then will that be deducted from my ...
- Subscription problem
I want to subscribe 25$ pro plan , but its showing : "Provided payment method is no longer available."
