Just realized what the problem is. I think the docs:
http://aerogear.org/docs/guides/aerogear-push-cordova-android/cordova-and...
<
http://aerogear.org/docs/guides/aerogear-push-cordova-android/cordova-and...
need to be updated.
var pushConfig = {
pushServerURL: PUSH_SERVER,
alias: '' + alias,
android: {
senderID: ANDROID_PROJECT_NUMBER,
variantID: ANDROID_VARIANT_ID,
variantSecret: ANDROID_VARIANT_SECRET
},
ios: {
variantID: IOS_VARIANT_ID,
variantSecret: IOS_VARIANT_SECRET
}
};
push.register(onNotification, registerSuccessHandler,
registerErrorHandler, pushConfig);
--
View this message in context:
http://aerogear-dev.1069024.n5.nabble.com/aerogear-cordova-push-plugin-an...
Sent from the aerogear-dev mailing list archive at
Nabble.com.