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:
Import the module:
import { ScreenNavigation } from 'zipyai-react-native';
Add
onStateChange
to your navigation container:
return (
<NavigationContainer onStateChange={ScreenNavigation}>
)
OR
return (
<NavigationContainer onStateChange={(state)=> {ScreenNavigation(state)}}>
)
Last updated