Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: new arch support is public #12

Merged
merged 1 commit into from
May 23, 2024
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
5 changes: 1 addition & 4 deletions docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ Your sponsorship enables continued maintenance and development of the module. Th

### Public Version

Available on the public npm registry, this version does not include the features, updates and bugfixes found in the sponsor-only version.

Please note that this documentation site covers the sponsor-only version. If you're using the public version, please refer to this [readme](https://github.com/react-native-google-signin/google-signin/blob/master/README.md#project-setup-and-initialization).

Available on the public npm registry, this version does not include One-tap sign-in (= it uses the deprecated Google Sign-In for Android) and Web support found in the sponsor-only version.

## Accessing the private package for sponsors

Expand Down
6 changes: 1 addition & 5 deletions docs/original.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ sidebar_position: 40

This module exposes the [Google Sign-In for Android (legacy)](https://web.archive.org/web/20240308064911/https://developers.google.com/identity/sign-in/android/start-integrating) and [Google Sign-In for iOS](https://developers.google.com/identity/sign-in/ios/start) SDKs.

:::info
Please note this documentation is for the latest version of the module which is [only available to sponsors ❤️](install). If you're not a sponsor, read the [docs here](https://github.com/react-native-google-signin/google-signin).
:::

```ts
import {
GoogleSignin,
Expand All @@ -22,7 +18,7 @@ import {

signature: (`options`: [`ConfigureParams`](api#configureparams)) => `void`

It is mandatory to call this method before attempting to call `signIn()` and `signInSilently()`. This method is sync meaning you can call `signIn` / `signInSilently` right after it. In typical scenarios, `configure` needs to be called only once, after your app starts. In the native layer, this is a synchronous call. All parameters are optional.
It is mandatory to call this method before attempting to call `signIn()` and `signInSilently()`. This method is sync meaning you can call `signIn` / `signInSilently` right after it. In typical scenarios, `configure` needs to be called only once, after your app starts. All parameters are optional.

Example usage with default options: you'll get user email and basic profile info.

Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const config: Config = {
announcementBar: {
id: 'announcementBar',
content:
'<a target="_blank" href="https://github.com/react-native-google-signin/google-signin/issues/1259">Bridgeless mode</a> support is now available to sponsors!',
'<a target="_blank" href="https://github.com/react-native-google-signin/google-signin/issues/1259">Bridgeless mode</a> support is now publicly available!',
isCloseable: true,
},
image: "img/docusaurus-social-card.jpg",
Expand Down