This repository contains the Skyhook Context Accelerator integration for the mParticle Android SDK.
-
Add the kit dependency to your app's build.gradle:
dependencies { implementation 'com.mparticle:android-skyhook-kit:5+' }
-
Follow the mParticle Android SDK quick-start, then rebuild and launch your app, and verify that you see
"SkyhookKit detected"
in the output ofadb logcat
. -
Reference mParticle's integration docs below to enable the integration.
The Skyhook Kit integration requires application permissions for accessing device's location, performing Wi-Fi scans, and more. RECEIVE_BOOT_COMPLETED
is required to restart background campaign monitoring when the device is rebooted. Refer to Skyhook SDK Documentation for information on other permissions.
Note that starting with Android 6.0 (API level 23) the location permission has to be requested by the app at run time. Refer to Android Documentation for guidance.
See the Skyhook integration documentation to learn more.