ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-push

Can't register devices in production mode

Closed this issue · 4 comments

We are successfully registering devices in sandbox mode, but fail to register devices in production mode. Is there a config value to tell the plugin to use production mode?

By sandbox vs production, what do you mean exactly? Bluemix, GCM, APNS, or what? Also, what error(s) are you getting?

We are using the plugin in conjunction with the BlueMix IBM Push Notification Service.

We don’t get an error. We get a success, but see no devices registered. I do see a device is already registered message in the xCode device console which makes me think the plugin in always registering devices to the Sandbox environment in BlueMix.

How does the plugin know to register against the Sandbox vs Production devices in BlueMix?

Thanks,
Errol

From: dgonz7 [mailto:notifications@github.com]
Sent: Monday, January 04, 2016 9:48 AM
To: ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-push bms-clientsdk-cordova-plugin-push@noreply.github.com
Cc: Errol Adams errol@notrs.com
Subject: Re: [bms-clientsdk-cordova-plugin-push] Can't register devices in production mode (#3)

By sandbox vs production, what do you mean exactly? Bluemix, GCM, APNS, or what? Also, what error(s) are you getting?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-168781119.

Sandbox vs Production is something that is relevant on the Bluemix service, not on the client side. Once you switch to Production mode, you should just be able to register again and it should show up. More details here: https://www.ng.bluemix.net/docs/services/mobilepush/c_sandbox.html

Are those instructions the ones that you followed to switch over, and then it wouldn't register again?

This solved our problem. I was not aware that we had to flip the mode on the BlueMix side. Thanks for the quick replies. I tested and we’re good.

From: dgonz7 [mailto:notifications@github.com]
Sent: Tuesday, January 05, 2016 10:42 AM
To: ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-push bms-clientsdk-cordova-plugin-push@noreply.github.com
Cc: Errol Adams errol@notrs.com
Subject: Re: [bms-clientsdk-cordova-plugin-push] Can't register devices in production mode (#3)

Sandbox vs Production is something that is relevant on the Bluemix service, not on the client side. Once you switch to Production mode, you should just be able to register again and it should show up. More details here: https://www.ng.bluemix.net/docs/services/mobilepush/c_sandbox.html

Are those instructions the ones that you followed to switch over, and then it wouldn't register again?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-169126810.