
I am currently trying to implement the google authentication in my Flutter App but when you choose an account the app stops and its not able to login
I have written this code in my AndroidManifest :-
<activity android:name="io.appwrite.views.CallbackActivity" android:exported="true"> <intent-filter android:label="android_web_auth"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="appwrite-callback-[PROJECT_ID]" /> </intent-filter> </activity>Kindly help if you know anything about this

I hope you replaced the [PROJECT_ID] with your actual project id

yes I did

but even after that its not working

If you can share your Appwrite console photo of Setting up google signIn & Flutter code, I can help you out


here you go

In your google cloud console, you're required to add some test emails in development. Add the emails there and try signin again

Also make sure to add this redirect URI

what to add in redirect URI

i have already added the test emails

Scroll down and you will find the redirect uri

Also remember adding this as web in the Google cloud panel, instead of as Android

Just to extend on this point -
When you use Google OAuth in your flutter x appwrite project, always add a WEB
platform on your Google Cloud Console. If you've used oauth with appwrite before, you might have noticed that the oauth flow takes place in a browser, and not directly in your app. This is why you need to make sure to add a WEB
platform to your GCP.

https://github.com/appwrite/docs/pull/369
It's about to get added in the docs

make sure to clean and rebuild after

it would help if you clarified this:
app stops and its not able to login
Recommended threads
- android kotlin error updatePhone
package vasu.apps.schooldashboard.Services import android.util.Log import io.appwrite.Client import io.appwrite.ID import io.appwrite.exceptions.AppwriteExcept...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
- Error sending push message from dashboar...
I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the...
