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
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...