You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/install.mdx
+8-8
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,20 @@ There are two ways to consume the package:
8
8
9
9
[//]: #'🌟'
10
10
11
-
### Universal Sign In {#sponsor-only-version}
11
+
### Universal Sign In ([premium](https://universal-sign-in.com)) {#sponsor-only-version}
12
12
13
13
⭐️ **Key Features**:
14
14
15
-
-**Cross-Platform**: Unified API which works on **Android**, **iOS**, **Web**, and **macOS**.
15
+
-**Cross-Platform**: Unified APIs which work on **Android**, **iOS**, **Web**, and **macOS**.
16
16
17
17
- Android: Built with [Credential Manager library](https://developers.google.com/identity/android-credential-manager)
18
18
- Web: Uses [Sign In with Google for Web](https://developers.google.com/identity/gsi/web/guides/features)
19
19
- iOS & macOS: Powered by the [Google Sign-In SDK](https://developers.google.com/identity/sign-in/ios/start)
20
20
21
21
-**Licensed:** see [pricing](https://universal-sign-in.com/#pricing) and [license](https://universal-sign-in.com/license).
22
-
-**Trusted**: Over 130k npm package downloads.
23
-
-**See the UI**: [screenshots](screenshots) of the features.
22
+
-**Trusted**: A total of over 150k npm package downloads.
24
23
-**Faster Sign-Ups**: Reduce sign-up and sign-in times on Android by up to 50%, according to [Google](https://developer.android.com/identity/sign-in/legacy-gsi-migration#authentication).
24
+
-**See the UI**: [screenshots](screenshots) of the features.
@@ -31,14 +31,14 @@ There are two ways to consume the package:
31
31
32
32
📱 **An example app** - to showcase all Universal sign in features
33
33
34
-
Your purchase enables improvements in the module and upstream SDKs (such as [1](https://github.com/openid/AppAuth-iOS/pull/788), [2](https://github.com/google/GoogleSignIn-iOS/pull/402)).
34
+
_Your purchase enables improvements in the module and upstream SDKs (such as [1](https://github.com/openid/AppAuth-iOS/pull/788), [2](https://github.com/google/GoogleSignIn-iOS/pull/402), [3](https://github.com/googlesamples/google-services/issues/426))._
35
35
36
-
### Public version
36
+
### Public version (free)
37
37
38
-
Available on the public npm registry, this version:
38
+
Available on the public npm registry under MIT license, this version:
39
39
40
+
- Uses the fully functional, but deprecated [legacy Android Google Sign-In](https://web.archive.org/web/20240308064911/https://developers.google.com/identity/sign-in/android/start-integrating).
40
41
- Has platform support limited to Android and iOS.
41
-
- Uses functional, but deprecated [legacy Android Google Sign-In](https://web.archive.org/web/20240308064911/https://developers.google.com/identity/sign-in/android/start-integrating).
42
42
- Contains none of the extra features listed above.
43
43
44
44
> If you want to migrate from the public version to the Universal version, follow the [migration guide](migrating#migrating-from-original-to-universal-sign-in).
If you use Jest for testing, you may need to mock the functionality of the native module - this is because the native code cannot run in Node environment.
10
+
11
+
This library ships with a Jest mock that you can add to the `setupFiles` array in your Jest config.
12
+
13
+
By default, the mock behaves as if the calls were successful and returns mock user data.
[//]: #'You can use [`@testing-library/react-native`](https://callstack.github.io/react-native-testing-library/) to write tests for React components that use React Native Google Sign In.'
0 commit comments