Also changes in:
private void sendMetrics(Bundle bundle) {
|
UnifiedPushMetricsMessage metricsMessage = new UnifiedPushMetricsMessage(bundle);
|
AeroGearGCMPushRegistrar registrar = (AeroGearGCMPushRegistrar) RegistrarManager.getRegistrar(Const.PUSH_REGISTER_NAME);
|
if (registrar != null)
|
registrar.sendMetrics(metricsMessage, new MetricsCallback());
|
}
|
and
dependencies {
|
compile 'com.android.support:appcompat-v7:23.+'
|
compile 'org.jboss.aerogear:aerogear-android-core:2.1.0'
|
compile 'org.jboss.aerogear:aerogear-android-pipe:2.1.0'
|
compile 'org.jboss.aerogear:aerogear-android-push:2.2.2'
|
}
|
|