React Native SDK
Preview · 0.1.0-beta.1 · React Native 0.74+
Download the npm-compatible package and install it locally:
npm install ./kemegames-pushhub-react-native-0.1.0-beta.1.tgz
cd ios && pod install
import * as PushHub from '@kemegames/pushhub-react-native';
await PushHub.configure({ appId, publishableKey: 'ph_pub_YOUR_KEY' });
await PushHub.start();
await PushHub.identify('player-1842', { tier: 'gold' });
await PushHub.track('level_completed', { level: '20' });
The typed TurboModule surface ships CommonJS, ESM, and declarations. Android and iOS implementations delegate to native cores; autolinking metadata is included. The JavaScript package passes strict TypeScript and clean package builds. Native codegen/example-app matrices remain Preview gates.