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
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?