Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

ACS push AND invalid-sender-error Android GCM

$
0
0

ACS push AND invalid-sender-error Android GCM

i have followed the steps to create titanium acs push notifications to the word

how ever i am getting invalid-sender-error

i have used the GSM API KEY and product no(FOR SENDER ID) provided by google in acs still i get the error what wrong a m i doing here is the code

var CloudPush = require('ti.cloudpush');
var deviceToken = null;
 
// Initialize the module
CloudPush.retrieveDeviceToken({
    success : function deviceTokenSuccess(e) {
        alert('Device Token: ' + e.deviceToken);
        deviceToken = e.deviceToken;
        loginDefault();
    },
    error : function deviceTokenError(e) {
        alert('Failed to register for push! ' + e.error);
    }
});

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>