Gameball React Native SDK — v4.0.0
This documentation is tailored to Gameball React Native SDK v4.0.0. Use these pages as a versioned SDK reference for teams embedding Gameball into their React Native applications.SDK v4.0.0 adds in-app messaging and purchase logging, and raises the minimum versions to iOS 15.0 and Android API 24. Every v3.x call keeps its signature and behavior.
Integration Guide
Getting Started
Install the Gameball React Native SDK v4.0.0 and set up your project
Initialize SDK
Initialize the SDK with your API key and configuration
Initialize Customer Profile
Register customers and show the profile widget
Track Customer Events
Send customer events to power campaigns and rewards
Show Profile Widget
Display the customer profile widget with rewards and leaderboard
In-App Messaging
Display dashboard in-app campaigns in your app
Go-Live Checklist
Verify your integration before going live
Migration Notes
Upgrade from v3 to v4.0.0, or migrate from v2
Requirements
- React Native: 0.70+
- Node.js: 18+
- TypeScript: 4.0+ (optional but recommended)
- iOS: iOS 15.0+
- Android: API level 24+ (Android 7.0)