@on-lang/react-native
v1.0.0-rc.2
Published
Onlang SDK for React Native: server-driven paywall and onboarding flows rendered with your own React components, with Onlang's telemetry, kill switch and consent-gated event queue.
Readme
@on-lang/react-native
Onlang's React Native SDK: server-driven paywall and onboarding flows rendered with your own React components, with Onlang's telemetry, kill switch, and an install id and event queue gated on consent. Pure JavaScript (React ≥ 18, React Native ≥ 0.74), no native module.
Integration guide: docs/sdk/react-native.md. Design: ADR-0013.
pnpm --filter @on-lang/react-native build # dist/index.js + types
pnpm --filter @on-lang/react-native test # conformance (45 bundles), golden sessions, runtime, <OnlangFlow>
pnpm pack # in this directory: a tarball for an app to install