Answer the question
In order to leave comments, you need to log in
Why does GoogleSignIn work on a local server, but after installing the apk on Android, it doesn't?
Hello! I created a small application using React-Native (expo), it has the ability to log in through a Google account (the data goes and is stored in Firebase . Everything works fine on local, authorization data comes to Firebase. (here is a link to the repository: click , code small) But when I built the application (using expo build:android
), then dragged it to my emulator (android studio), it was installed, everything starts up fine, the login window appears, I click on the LogIn with Google button, and nothing happens, no reaction. LogCat, and here is the error there:
7-09 18:42:02.185 7912 7975 I ReactNativeJS: 'err:', { [Error: Please provide the appropriate client ID. See the documentation for more details https://docs.expo.io/versions/latest/sdk/google/#loginasync]
07-09 18:42:02.185 7912 7975 I ReactNativeJS: code: 'ERR_GOOGLE_CONFIG',
07-09 18:42:02.185 7912 7975 I ReactNativeJS: line: 112,
07-09 18:42:02.185 7912 7975 I ReactNativeJS: column: 244,
07-09 18:42:02.185 7912 7975 I ReactNativeJS: sourceURL: '/data/user/0/com.yourcompany.yourappname/files/38.0.0/cached-bundle-experience-%40dmitriykulikovskiy%2Fyour-app-slug1365844490-38.0.0' }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question