npm Installation
Yarn Installation
Import the public API from
'zixflow-reactnative' (Zixflow, ZixflowConfig, enums, and modules).
API key
The SDK needs a single write credential: your API key. Pass it asapiKey on ZixflowConfig when you call Zixflow.initialize.
- Open the Zixflow dashboard.
- Go to your workspace Settings (or your mobile / React Native integration connection).
- Copy the API key for that integration.
siteId field — pass your workspace API key as apiKey on ZixflowConfig.
Rich push on iOS initializes the push module inside the Notification Service Extension with the same API key (see Push Notifications).
Securing credentials: Prefer environment variables or CI secrets — avoid committing production keys. Keep ZixflowLogLevel.Debug for development only.
iOS CocoaPods subspecs
Add pods under your app target (and NSE target when using rich push). Paths assume the package lives innode_modules.
Pick either
apn or fcm for the host app (and the matching richpush subspec). Details: Platform-Specific Setup, Push Notifications.
On Android, React Native auto-linking pulls native modules. FCM needs the Google Services plugin and google-services.json — see Platform-Specific Setup.
Configuration options (ZixflowConfig)
Set options before Zixflow.initialize. You cannot change them after init.
More detail: Advanced Configuration, API Reference.
After installation, follow Platform-Specific Setup, then Quick Start.