open-index/open-npm huggingface dataset:
npm package: @naser1945/react-native-google-signin
Description: google sign in
Author: Nasser
Latest version: 1.0.1

# Google Sign-In 
> [!NOTE]  
> This Module supports Android only for now.


# Installation

```bash
npx expo install @naser1945/react-native-google-signin
```

# Usage

```jsx
import * as GoogleSignin from "google-signin";
import { Button, StyleSheet, View } from "react-native";

export default function App() {
  return (
    <View style={styles.container}>
      <Button
        onPress={async () => {
          const {idToken,nonce} = await GoogleSignin.googleOneTabSignIn(
            "YOUR_CLIENT_ID.apps.googleusercontent.com",
          );
          // Send the idToken to supabase or any other backend.
        }}
        title="Sign in"
      />
    </View>
  );
}
```