Navigation Handler
Defines how your app handles deep link route triggers configured in Userpilot experiences, requiring you to route the user to the appropriate location.UserpilotNavigationHandler. When a deep link with a defined scheme and host is present in the manifest file, the SDK will open the corresponding Activity. If the link is external, the SDK will handle it appropriately. For complete control over link handling, implement UserpilotNavigationHandler to customize behavior for all link types.
The useInAppBrowser flag (when you do not implement UserpilotNavigationHandler) determines whether to open URLs using an in-app browser (e.g., Chrome Custom Tabs) or fall back to the system browser.
- When
useInAppBrowseristrue: opens using Chrome Custom Tabs for a faster, integrated experience. - When
useInAppBrowserisfalseor not set: opens using the default system browser or another fallback.