sdk-for-flutter icon indicating copy to clipboard operation
sdk-for-flutter copied to clipboard

🐛 Bug Report: auth screen for google in android devices is not closing after auth

Open joaquingrech opened this issue 1 year ago • 4 comments

👟 Reproduction steps

After setting up all in androidmanifest.xml if you call account.createOAuth2Session(provider: google) you will get the login screen. Then you enter your google information and it works, BUT, the appwrite screen does not close. It stays open forever.

👍 Expected behavior

the screen should close right after auth.

👎 Actual Behavior

The screen stays open blocking all user interaction and you go into infinity loop getting asked to login again.

🎲 Appwrite version

Version 2.0.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

joaquingrech avatar Jun 21 '24 04:06 joaquingrech

I currently have the same problem, it's annoying, did you identify the problem?

andronedev avatar Jul 11 '24 15:07 andronedev

Same issue any update in addition to that some time the auth happens but there is a dummy app running in the backend.

Shiba-Kar avatar Jul 16 '24 17:07 Shiba-Kar

I would like to work on this issue.

ParadoxNJ005 avatar Oct 05 '24 12:10 ParadoxNJ005

@joaquingrech, thanks for creating this issue! 🙏🏼 Some questions for you:

  1. Are you using Appwrite Cloud or self-hosting Appwrite?
  2. If you're self-hosting Appwrite, what version of Appwrite do you have?
  3. What version of the Appwrite Flutter SDK do you have?
  4. Would you please share your android manifest?

stnguyen90 avatar Dec 18 '24 22:12 stnguyen90