Dear all,
I am using Windows 11 VS Code to create the Flutter app to login using Appwrite OAuth to sign Google account. When I tested it on Andriod emulator, it goes to the blank screen after I login google account. I have updated the information on C:...\android\app\src\main\AndroidManifest.xml. Please see the attached screen dump.
Does anyone what is wrong on AndroidManifest.xml?
Because It is worked when I run the Flutter Web. It is successfully to sign in Google account and redirect to the Success URL. Here is the code for your reference.
.createOAuth2Session(
provider: provider,
failure: kIsWeb ? '${location?.origin}' : null,
success: kIsWeb ? '${location?.origin}' : null,
)```
BTW, I have another question for the Flutter Web on this Appwrite OAuth sign on. Is it possible to use the same browser tab to login Google account? When I click the Google Sign in button, it launches a new Windows of Chrome browser. Once it is successfully signed in, it redirect to web home page but it has 2 tabs of my web site.
Regards
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems