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

Troubles retrieving device

$
0
0

im using push notifications for first time and using pushwoosh. when i try to register my device(sony xperia) throws me the next error:

App.js

var pushnotifications = require('com.arellomobile.push');    
pushnotifications.pushNotificationsRegister("cogent-wall-644", "774BB-069C7", {
    //NOTE: all the functions fire on the background thread, do not use any UI or Alerts here
    success:function(e){
        Ti.API.warn('id Registration:' + e.registrationId);
    },
    error:function(e){
        Ti.API.error("Error Registrandose: "+e.error);
    },
    callback:function(e){        
        Ti.API.warn("Notificacion Entrante "+JSON.stringify(e.data));
    }
});
Error
[WARN] :   Pushwoosh: Request manager: Try To sent: applicationOpen
[INFO] :   GCMIntentService: Received recoverable error: SERVICE_NOT_AVAILABLE
[WARN] :   Pushwoosh: Request manager: PushWooshResult: {"status_code":200,"status_message":"OK","response":null}
[WARN] :   Pushwoosh: Request manager: applicationOpen response success
must i use the generic way or like this?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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