I had created an app with push notifications using mqtt recently when I saw the notice about the forced change to GCM. I changed everything over to GCM and tested it successfully on android (emulator and device) but I had to change the name space in order for the app to be accepted as an update for the existing one on google play, I created a new project and migrated all the code over, replacing the necessary information in the tiapp.xml and under the push settings in the appcelerator portal, and since then I am unable to get the device token, I constantly get the error message "Failed receiving GCM SenderId"...
I am using the same code block from when it was working, the only changes made were to the namespace and of course being a new project.
CloudPush.retrieveDeviceToken({ success: function (e) { alert('success'); }, error: function (e) { alert('error ' + e.error); } });Warning in console.
Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: Oauth realm="http://api.cocoafish.com/"}SDK : 3.1.3.GA,
devices : emulator, galaxy s2