open-index/open-npm huggingface dataset:
npm package: @react-native-google-signin/config-doctor
Description: 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.
Latest version: 0.14.0

# 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](#when-to-use) 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.

```bash
# 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.apk
```

### Arguments

- `--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](https://universal-sign-in.com))
- Android device/emulator with your app installed, OR a built APK file