Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/buttons/web.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Banner from '../_sponsorBanner.mdx';

The button will _not render_ before the [Google Client API has been loaded](../setting-up/web). You can use the `onError` prop to detect this case.

### How to use this
### Usage

As the Universal sign in Guide explains, there are two ways to sign in on the web: using the One-tap UI or using the Google Sign-In button.

Expand Down
2 changes: 1 addition & 1 deletion docs/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const getNonce = async () => {
// Supabase makes a hash of `rawNonce` and compares it with the `nonceDigest`
// which is included in the ID token from RN-google-signin.
const rawNonce = getUrlSafeNonce();
// `nonceDigest` goes to the `nonce` parameter in RN-google-signin APIs
// `nonceDigest` (SHA-256 hash, hex-encoded) goes to the `nonce` parameter in RN-google-signin APIs
const nonceDigest = await digestStringAsync(
CryptoDigestAlgorithm.SHA256,
rawNonce,
Expand Down
4 changes: 2 additions & 2 deletions docs/setting-up/expo.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ After installing the npm package, add a config plugin (read more details below)

If you're _not_ using Firebase, provide the `iosUrlScheme` option to the config plugin.

To obtain `iosUrlScheme`, follow [the guide](./get-config-file#ios).
To obtain `iosUrlScheme`, follow [the guide](./get-config-file?firebase-or-not=cloud-console#ios).

```json title="app.json | js"
{
Expand All @@ -41,7 +41,7 @@ To obtain `iosUrlScheme`, follow [the guide](./get-config-file#ios).

### Expo and Firebase Authentication

If you are using Firebase Authentication, obtain the 2 Firebase config files (`google-services.json` for Android and `GoogleService-Info.plist` for iOS) according to the [guide](./get-config-file?firebase-or-not=firebase) and place them into your project. Then specify the paths to the files:
If you are using Firebase Authentication, obtain the 2 Firebase config files (`google-services.json` for Android and `GoogleService-Info.plist` for iOS) according to the [guide](./get-config-file?firebase-or-not=firebase#ios) and place them into your project. Then specify the paths to the files:

```json title="app.json | js"
{
Expand Down