
I have read all the questions people have posted before me and this is what i have tired
onPressed: () async {
final account = Account(client);
try {
await account.createMagicURLSession(
email: _emailController.text,
);
} on AppwriteException catch(e) {
print(e.message);
// display error to the user
}
}```
if you dont pass a url the email you receive will have https://cloud.appwrite.io/auth/magic-url? with userId and secret.
okey so this was the AndroidManifest.xml file
no luck did not even open the android app
okey now i have tired the custom domain option. i added the custom domain to appwrite console /settings/domains and as well added a platform with same custom domain or it doesnt work. and passed it as a url ,i was still not able to open app with link

onPressed: () async {
final account = Account(client);
try {
await account.createMagicURLSession(
email: _emailController.text,
url:'appwrite-auth-callback-auth-[projectIDexample]://subdomain.Domain
.com/magic_url_session',
);
} on AppwriteException catch(e) {
print(e.message);
// display error to the user
}
}
subdomain.Domain.com is the custom domain you added

i even updated the AndroidManifest.xml
<data android:scheme="appwrite-auth-callback-auth-[projectIDexample]:" android:host="subdomain.Domain
.com" android:pathPrefix="/magic_url_session" />
Recommended threads
- Site Screenshot error
It seems there is an error in taking site screenshot, i deployed to sites and screenshot having issues for both.
- Cannot load nested relationships
When trying to load a nested relationship using the below query I get this error: ```Invalid query: Attribute not found in schema: *``` ```dart try { fina...
- React Client SDK - CORS issue for Storag...
Hi I've been working on a project for a few weeks with the React Client SDK and OAuth2.0 Google login. All has been working alright, but today I've started gett...
