react-native-uxrate
v0.9.1
Published
React Native module for the UXRate SDK — embed AI-powered surveys in your React Native app. Supports iOS and Android.
Downloads
90
Maintainers
Readme
react-native-uxrate
React Native module wrapping the native iOS and Android UXRate SDKs. Provides a thin JavaScript API that bridges to the platform-specific implementations via React Native's NativeModules.
Architecture
JS (index.js) --> NativeModules bridge --> iOS SDK (Swift)
--> Android SDK (Kotlin)The React Native layer is intentionally thin. All survey logic, session replay, networking, and UI rendering happen inside the native SDKs. This module exposes four methods that forward calls across the bridge:
configure-- initialise the SDK with an API key and optionsidentify-- associate the current user with a user ID and propertiestrack-- record a custom eventsetScreen-- report the currently visible screen name
TypeScript definitions are included in index.d.ts.
Development
git clone <repo-url>
cd react-native-uxrate
npm installRun the example app
cd example
npm install
npx react-native run-ios # or run-androidThe example app demonstrates configure, identify, screen tracking with React
Navigation, and custom event tracking. See example/App.tsx.
Run tests
npm testDocumentation
- Installation
- Quick Start
- Event Tracking
- Session Replay Configuration
- API Reference
- React Navigation Integration
Release
- Bump version in
package.json. - Push a version tag (e.g.
0.2.0). - CI publishes the package to npm and syncs documentation, tutorials, and the example app to the public repository.
License
Proprietary -- SVUG Tech
