Screen Transition Capture

Capturing Screen Transitions for enhanced user journey analysis

Screen Transition Capture is a Zipy feature for capturing screen transitions within your React Native app. To enable this feature, you need to import ScreenNavigation from 'zipy-react-native' and add onStateChange to your NavigationContainer.

Here's how you can do it:

  1. Import the module:

import { ScreenNavigation } from 'zipyai-react-native';
  1. Add onStateChange to your navigation container:

return (
  <NavigationContainer onStateChange={ScreenNavigation}>
  )

OR

return (
  <NavigationContainer onStateChange={(state)=> {ScreenNavigation(state)}}>
  )

Last updated