1.0.6 • Published 4 months ago

nativereplay v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

nativereplay

Session Replays built for React Native

Installation

npm install nativereplay

Usage

In highest level of the app (likely app.js):

import { NativeReplayProvider } from "nativereplay";
// ...
<NativeReplayProvider apiKey={NATIVE_REPLAY_TOKEN}>
    // ... rest of your app
</NativeReplayProvider>

On the different screens you want to track:

import { addReplayTrackingProps, useNativeReplay } from "nativereplay";
// ...
const nativeReplayContext = useNativeReplay();
// ...
<View {...addReplayTrackingProps(nativeReplayContext, "the-screen-name")}>
</View>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

1.0.6

4 months ago

1.0.5

5 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago