FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
2.04k stars 441 forks source link

[Android] Force opens the Play Store and terminates the app when user is not logged in to a Google account #1004

Closed gwesseling closed 3 months ago

gwesseling commented 4 months ago

Issue

This package seems to force open the Google Play Store and terminates the app on Android devices where the user is not logged in to a Google account. Sign in with Google is optional within our app, but users cannot use the app at all when opening the app without being signed in to the Play Store. This only seems to happen when using a build from the Play Store, creating a debug/release mode will not trigger this issue.

Screenshot_20240724-134006

Reproduction

  1. Download your app from the Play Store (e.g. https://play.google.com/store/apps/details?id=app.croma, it has the same issue);
  2. Remove all Google accounts from your device;
  3. Open the app;
  4. The app will redirect to the Play Store and terminates the app;

Environment