Description of your new file.
@userpilot/segment-react-native
and the @userpilot/react-native
dependency.
Userpilot segment react native latest version
Check Userpilot ReactNative SDK for more details.
pod install
after the installation to autolink the Userpilot SDK.
.add(plugin)
method with an UserpilotPlugin
instance:
startListeningToUserpilotEvents
function from @userpilot/segment-react-native
.
For example, to handle deep links and other SDK-triggered events, you can implement the appropriate event callbacks like this: