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
4 changes: 2 additions & 2 deletions docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Why paid? According to the [State of React Native Survey](https://results.2024.s
- iOS & macOS: Powered by the [Google Sign-In SDK](https://developers.google.com/identity/sign-in/ios/start)

- **Licensed:** see [pricing](https://universal-sign-in.com/#pricing) and [license](https://universal-sign-in.com/license).
- **Trusted**: 1 mil+ npm downloads.
- **Trusted**: 1.5 mil+ npm downloads.
- **Faster**: Reduce sign-up and sign-in times on Android, according to [Google](https://developer.android.com/identity/sign-in/legacy-gsi-migration#authentication).
- **See the UI**: [screenshots](screenshots) of the features.
- **Widely compatible & stable:** Both old and [new architecture](https://reactnative.dev/architecture/landing-page) of React Native are supported. See version [compatibility table](#requirements) below.
Expand Down Expand Up @@ -169,6 +169,6 @@ The latest version of the Universal Sign In package supports (use older versions
| | supported range |
| ------------ | --------------- |
| expo | 52.0.40 - 57 |
| react-native | 0.76.0 - 0.86 |
| react-native | 0.76.0 - 0.87 |

> We recommend [Expo](https://expo.dev) and [EAS](https://expo.dev/eas) for building and deploying your React Native app. Expo offers the best developer experience and is well-supported by this library.
15 changes: 15 additions & 0 deletions docs/setting-up/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ If you use Expo, follow [this guide](/setting-up/expo.md) instead. This guide ap

- run `pod install` in the `ios/` directory to install the module

#### CocoaPods modular headers

Some dependency combinations may require modular headers. If `pod install` reports that the Swift pod `AppCheckCore` depends on `GoogleUtilities` or `RecaptchaInterop`, which do not define modules, add both pods to your existing application target in the `Podfile`:

```ruby title="ios/Podfile"
target 'YourApp' do
pod 'GoogleUtilities', :modular_headers => true
pod 'RecaptchaInterop', :modular_headers => true

# The rest of your existing target configuration
end
```

Do not add version constraints to these declarations. CocoaPods will select versions compatible with Google Sign-In, and your other dependencies. Projects that already use `use_modular_headers!` or `use_frameworks!` do not need these additional declarations.

### Google project configuration

- Follow [this](./get-config-file) guide to get the configuration information which you need for the next steps.
Expand Down