|
Description:
|
When using the AeroGear UnifiedPush Plugin on Android, I noticed that the Cordova app crashes when android-push lib when using incorrect URL (e.g. localhost).
the javascript that causes the crash on Android: {code} var pushConfig = { // senderID is only used in the Android/GCM case senderID: "78271526387", pushServerURL: "http://localhost:8080/ag-push", variantID: "3538253e-5b83-448c-862e-f5c29e4fed8a", variantSecret: "1c03d8b5-7ee8-4795-91bb-745abe4221ab", alias: "
sucker-Mom
user
@android.com" }
push.register(....); {code}
Instead of a crash, I was expecting at least the 'error callback' is being invoked
|