React Native SDK
Integrate deep linking, attribution, and smart links into your React Native app with the Grovs SDK
The Grovs React Native SDK provides deep linking, link generation, in-app messaging, event and screen tracking, revenue tracking, and attribution for React Native apps. The react-native-grovs-wrapper package wraps the native iOS and Android SDKs and supports both the new architecture (TurboModules) and the legacy bridge.
Requirements: React Native 0.70 or later. The native SDKs need iOS 13.0 and Android 5.0 (API 21); your React Native version may require more. Wrapper 3.0 uses the Grovs iOS SDK 3.0 (Grovs ~> 3.0 from CocoaPods) and the Grovs Android SDK 3.0.0 (io.grovs:Grovs:3.0.0 from Maven Central).
- Quick Start — Install and configure the SDK
- Deep Linking — Handle incoming deep links
- Link Creation — Generate smart links programmatically
- Messages — In-app messaging and push notifications
- Revenue — Track in-app purchases and custom payments
- Events & Screen Tracking — Track custom events and React Navigation screens
- Privacy & Consent — Gate collection on consent, and what the SDK collects
- API Reference — Complete methods and types reference
- Upgrading to 3.0 — Moving from 1.x
Upgrading to 3.0
Already on 1.x? Existing JavaScript keeps working except logInAppPurchase, which now takes an object. The native side moves to the Grovs 3.0 SDKs: bump io.grovs:Grovs in your app's build.gradle, pass autoTrackScreenViews: false and the wrapper's stored consent value to the native configure calls, and re-run npx expo prebuild --clean in Expo projects. See the 3.0 upgrade guide.
Example apps
A demo project showing a full Grovs integration is available at grovs-io/grovs-react-native-example-app. The wrapper repository also ships two example apps, one on the new architecture and one on the legacy bridge, at grovs-io/grovs-react-native.