@react-native-google-signin/config-doctor
v0.13.0
Published
A command-line tool designed to help with Android signing configuration issues and quickly resolve the infamous `DEVELOPER_ERROR`, or potentially [other errors](#when-to-use) too. Works with any Android app, not just React Native.
Downloads
1,607
Maintainers
Readme
Google Sign-In Configuration Doctor
A command-line tool designed to help with Android signing configuration issues and quickly resolve the infamous DEVELOPER_ERROR, or potentially other errors too. Works with any Android app, not just React Native.
Usage
The tool can extract SHA-1 fingerprints directly from a device/emulator with your app installed, or from an apk file.
Run the command as shown below and follow the instructions.
# Usage with device/emulator
npx @react-native-google-signin/config-doctor --package-name com.yourapp.name
# Usage with an APK file
npx @react-native-google-signin/config-doctor --apk-path ./app-release.apkArguments
--package-name(optional): Your Android app's package name. If provided, the tool extracts the APK from a connected device/emulator.--apk-path(optional): Path to an APK file.
When to use
When getting DEVELOPER_ERROR, unexpected cancelled or even GetCredentialProviderConfigurationException during Sign-In. You can run into these errors:
- When setting up Google Sign-In for the first time
- After downloading your app from Play Store
- When switching between debug and release builds
Requirements
- Valid subscription (get access at universal-sign-in.com)
- Android device/emulator with your app installed, OR a built APK file
