Back

Magic URl

  • 0
  • Flutter
alex2341355
30 Sep, 2023, 08:13

what is mean? flutter: error -createMagicUrl flutter: AppwriteException: general_argument_invalid, Invalid url param: URL host must be one of: localhost, cloud.appwrite.io (400).Magic url is working on Android. But IOS do not open app

TL;DR
There is an error with the magic URL in Flutter when using iOS. The error message states that the URL host must be either "localhost" or "cloud.appwrite.io." This issue is specific to iOS and does not occur on Android. The solution is to ensure that the URL host in the magic URL is set to either "localhost" or "cloud.appwrite.io" in order for the app to open properly on iOS.
Drake
1 Oct, 2023, 23:56

You need to provide some url and that url should take the user back to your app so you can finish the flow. Look into deep linking for flutter

mc-stephen
2 Oct, 2023, 00:03
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more