Installation
The library is distributed through Maven Central. Add the Userpilot module to your build.gradle as a dependency as shown in the code sample below, and replace the<latest_version>
with the latest release version.Check Userpilot Android SDK for more details.
Initialization
Just under your Analytics-Kotlin library setup, callanalytics.add(plugin = ...)
to add an instance of the plugin to the Analytics timeline.
Userpilot SDK callbacks
To gain full control and take advantage of all Userpilot SDK features, you can use theUserpilotConfig
lambda to configure the SDK according to your app’s needs.
For example, if you’d like to handle Userpilot deep links, you can implement the UserpilotNavigationHandler
interface to manage navigation events triggered by the SDK.
Configurations (Optional)
Parameter | Type | Description |
---|---|---|
loggingEnabled | Boolean | Enable or Disable logs for SDK **Default: false ** |
packageNames | List<String> | Optional property that allows for setting custom package list for fonts, mostly used when your fonts are stored in a different package than your main app (multi-module apps). |
disableRequestPushNotificationsPermissions | Boolean | Disable request push notifications permission by SDK. **Default: false ** |
useInAppBrowser | Boolean | A configuration to indicate when to open the URL inside CustomTabsIntent or not. **Default: false ** |