Prerequisites
Before you begin, make sure you have the following ready:- A Tappd account and your App ID
- A React Native project running version 0.60 or later
- iOS: Xcode and CocoaPods installed
- Android: Android Studio installed
Project Setup Patterns
Choose the pattern that best fits how your project is structured. All three approaches produce the same result — pick the one that matches your team’s conventions.- Context Provider (Recommended)
- Custom Hook
- Global Variable
The Context pattern gives every component in your tree clean access to the SDK instance without relying on globals. Create a dedicated context file and wrap your app in the provider.Then wrap your root component with Access the SDK in any component using the
TappdProvider in App.js.useTappd hook.Verify Installation
Enabledebug: true when you first set up the SDK to confirm everything is working. With debug mode on, the SDK prints detailed logs to your React Native console.
Next Steps
Configuration
Customize every SDK option — session timeouts, polling intervals, in-app messages, and environment-based config.
React Navigation
Integrate automatic screen tracking with your React Navigation stack.
Push Notifications
Register FCM and APNs push tokens and manage notification subscriptions.
API Reference
Browse every method available on the TappdSDK instance with full parameter documentation.