Install
iOS
npx react-native run-ios / run-android) so the native module is bundled.
Android. The native Android engine resolves automatically from Maven Central — no repository configuration is needed (
mavenCentral() is already in the standard React Native Android template). If you pin a pre–Maven Central version, add maven { url 'https://jitpack.io' } to your app’s android/settings.gradle as a fallback.Initialize
1
Start recording
Boot the SDK once, as early as possible. This is idempotent.
2
Or boot from a provider
Wrap your tree to start recording on mount.
3
Identify and track
Once recording, attach identity and events.A
picture (or avatar) trait set to a public https image URL — top-level or inside customProps — becomes the user’s avatar on the recording header and Users list.Verify
Reload the app and interact for a few seconds. Your first session appears in the Replayfy dashboard within moments.
Configuration
Pass these toReplay.start(config):
Network capture options (
config.network):
API reference
Reach the client through the default export (Replay), or getClient().
React Navigation screen tracking
Privacy & masking
Replayfy keeps sensitive data off your servers.-
<ReplayMask>— wrap any element to mask it in replay: -
Automatic input masking — secure/password inputs are masked automatically. Set
maskAllInputs: trueto mask every input. -
Mask style — choose how masked regions render:
-
Screen occlusion — hide fields or entire flows:
-
Network redaction — drop sensitive headers or skip URLs via
config.network.redactHeadersandconfig.network.ignoreUrls; request/response bodies are off by default.
Identify users
Attach identities and traits to power funnels and cohorts.
Track events
Record custom events for analytics and funnels.
Privacy & masking
Mask, occlude, and redact sensitive data.