This repository contains the Reveal Mobile integration for the mParticle Android SDK.
-
Enable the integration for your mParticle app.
-
Add the kit dependency to your project. Kits are all made available via Maven Central, you can add them to your project just by adding their maven artifact (ex.
com.mparticle:android-revealmobile-kit
). See here for the current list of all kits.If you would like to specify an explicit Reveal SDK version that you would like to use, add the following snipit to the
dependencies
section of youbuild.gradle
file, after replacing {custom-version} with the explicit version number (i.e1.3.31
)compile('com.mparticle:android-reveal-kit:5.0.5') { exclude group: 'com.stepleaderdigital.reveal' } //include your custom version compile 'com.stepleaderdigital.reveal:reveal:{custom-version}'
-
If you haven't already added it, the core mParticle Android SDK will automatically be pulled in as a dependency of the kit. Follow the quick start of the mParticle Core SDK, then re-build and launch your app, and verify that you see
"Reveal Mobile detected"
in the output ofadb logcat
.