Issue Type: Feature Request Feature Request
Assignee: Unassigned
Components: unifiedpush
Created: 24/Jan/14 3:36 AM
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:

		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@android.com"
		}

		push.register(....);		

Instead of a crash, I was expecting at least the 'error callback' is being invoked

Project: AeroGear Android
Priority: Major Major
Reporter: Matthias Wessendorf
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira