diff --git a/docs/install.mdx b/docs/install.mdx index 0d0a0eb..8f57331 100644 --- a/docs/install.mdx +++ b/docs/install.mdx @@ -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. @@ -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. diff --git a/docs/setting-up/ios.md b/docs/setting-up/ios.md index f3acf79..decfbfa 100644 --- a/docs/setting-up/ios.md +++ b/docs/setting-up/ios.md @@ -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.