Navigation Plugin Setup
Android
First, add the plugin to your Flipper client instance:
Navigation events in the app can then be recorded by calling sendNavigationEvent
method of the NavigationFlipperPlugin
instance from anywhere in the app. This allows for the Navigation Plugin to be integrated into existing navigation frameworks.
Using Android Deep Links
The Navigation Plugin can be used with built in deep links for Android.
To deep link to an activity, edit the AndroidManifest.xml and add the intent filter for the given activity.
This will allow the user to jump to flipper://deep_link_activity
within Flipper.
To log that navigation event in flipper, we can send the navigation event in the Activity's onCreate
method.
Third Party Solutions
The Navigation Plugin can easily be integrated into a third party navigation framework.
AirBnB Deep Link Dispatch
Deep Link Dispatch will work out of the box with Flipper for navigating to links, including support for url parameters. To add logging, simply add a BroadcastReceiver to your app that is called on any incoming deep links.
iOS
iOS support is coming soon.