
sing in with google on flutter keeps crashing on android, so that after clicking an email to sign in with, instead of redirecting to the app it just refreshes the list of emails screen. anyone faced with this? how did you fix it? what am i missing?
i already did the android manifest thing:
TypeScript
<!-- Add this inside the <application> tag, along side the existing <activity> tags -->
<activity android:exported="true" android:name="com.linusu.flutter_web_auth_2.CallbackActivity" >
<intent-filter android:label="flutter_web_auth_2">
<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-6897c91100139bf837d3" />
</intent-filter>
</activity>
TL;DR
Developers facing Google OAuth bug on Flutter where signing in with Google on Flutter causes the app to crash on Android. The screen refreshing after selecting an email to sign in with instead of redirecting to the app. One suggested fix is verifying the Android manifest configuration.
Flutter Google OAuth bug
Recommended threads
- why the createOAuth2Token method does no...
I need it to get secret and key, how to get in flutter code?
- google oauth issues on android
i've set up my appwrite using documentation guidelines. google oauth works just fine on ios, but on android it won't redirect to the app after selecting an ema...
- Unhandled Exception: type 'Null' is not ...
Hello I upgraded my instance from 1.6.2 to latest 1.7.4, doing migration. All seems to work fine but when I use the latest version of the appwrite plugin on my ...
