Skip to main content
The onStateChange prop of NavigationContainer can be used to call Userpilot.screen once rather than in each View:
Refer to the React Navigation doc Screen Tracking for Analytics for more details.