This repository contains the Urban Airship integration for the mParticle Android SDK.
-
Add the kit dependency to your app's build.gradle:
dependencies { compile 'com.mparticle:android-urbanairship-kit:5+' }
-
Follow the mParticle Android SDK quick-start, then rebuild and launch your app, and verify that you see
"Urban Airship detected"
in the output ofadb logcat
. -
Reference mParticle's integration docs below to enable the integration.
-
If you wish to utilize Urban Airship's Push Messaging capabilities, please refer to the Push Message Considerations section below
The Urban Airship sdk come with a dependency for Google Play Services, version 9.8.0. since Google services often depend of Google Play Services, it is important to keep consistent versions across Google service dependencies. Please be sure to use the following dependencies for GCM or FCM services
compile "com.google.android.gms:play-services-gcm:9.8.0"
compile 'com.google.firebase:firebase-messaging:9.8.0'