Back

On oauth, the browser instance disappears if the user puts the app in the background

  • 0
  • Android
  • Flutter
  • Users
  • Accounts
meroo36
16 Oct, 2023, 08:23

in my app user needs to click a link in their mail to accept the oauth, and in order to do that user needs to open a mail app which means putting the main app to the background. The problem is there is no browser if you switch back to the app and there is no redirect happening.

This works fine on IOS, but doesnt work for android. I am using Flutter.

TL;DR
The user experiences a problem with the oauth process in their Android Flutter app. When the user puts the app in the background to open a mail app and then switches back to the app, the browser instance disappears, causing a lack of redirect to occur. The issue does not occur on iOS. The solution may involve examining the launchMode in the AndroidManifest.xml file.
Drake
19 Oct, 2023, 00:30

what do you have for launchMode?

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