Skip to content

Google Sign-In closes without logging in on downloaded APK #6959

@VicSim001

Description

@VicSim001

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When tapping "Continue with Google" on the downloaded APK, the Google account picker appears, I select my account, the dialog closes but nothing happens - no login occurs and no navigation to HomePage.

Expected Behavior

After selecting Google account, user should be logged in and navigated to HomePage.

Steps to Reproduce

  1. Download APK from FlutterFlow
  2. Install on Android device
  3. Open app and tap "Continue with Google"
  4. Select Google account
  5. Dialog closes but nothing happens

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

Opacity( opacity: 0.4, child: Align( alignment: AlignmentDirectional(0.03, 0.16), child: FFButtonWidget( onPressed: () async { logFirebaseEvent('LOGIN_continueWithGoogle_ON_TAP'); logFirebaseEvent('continueWithGoogle_auth'); GoRouter.of(context).prepareAuthEvent(); final user = await authManager.signInWithGoogle(context); if (user == null) { return; } logFirebaseEvent('continueWithGoogle_custom_action'); await actions.initializeUserFields( currentUserUid, ); logFirebaseEvent('continueWithGoogle_navigate_to'); context.pushNamedAuth(HomePageWidget.routeName, context.mounted); }, text: 'Button', options: FFButtonOptions( width: 337.6, height: 47.2, padding: EdgeInsetsDirectional.fromSTEB(16, 0, 16, 0), iconPadding: EdgeInsetsDirectional.fromSTEB(0, 0, 0, 0), color: FlutterFlowTheme.of(context).primary, textStyle: FlutterFlowTheme.of(context).titleSmall.override( font: GoogleFonts.interTight( fontWeight: FlutterFlowTheme.of(context).titleSmall.fontWeight, fontStyle: FlutterFlowTheme.of(context).titleSmall.fontStyle, ), color: Colors.white, letterSpacing: 0.0, fontWeight: FlutterFlowTheme.of(context).titleSmall.fontWeight, fontStyle: FlutterFlowTheme.of(context).titleSmall.fontStyle, ), elevation: 0, borderRadius: BorderRadius.circular(24), ), ), ), )

Visual documentation

Image Image Image Image Image Image

Environment

- FlutterFlow version: latest
- Platform: Android
- Browser: Chrome (latest)
- Operating system: Windows 11

Additional Information

Works perfectly in FlutterFlow Test Mode but not on downloaded APK. All SHA-1 fingerprints are added to Firebase. google-services.json is regenerated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions