PushWoosh - Register Token undefined

Hi
I finally can register my device, however I should get a token where the response is ‘undefined’ . Anyone has experience with this? Here’s my code

// Handle Cordova Device Ready Event
$$(document).on('deviceready ', function(){

/********************************************************************************/
var pushNotification = cordova.require("pushwoosh-cordova-plugin.PushNotification");
//app.dialog.alert(JSON.stringify(pushNotification));   

// Should be called before pushwoosh.onDeviceReady
document.addEventListener('push-notification', function(event) {
    var notification = event.notification;
// handle push open here

});

// Initialize Pushwoosh. This will trigger all pending push notifications on start.
pushNotification.onDeviceReady({
projectid: “XXXXXXXXXXX”, pw_appid : “XXXXX-XXXXX”
});

//register for pushes
pushNotification.registerDevice(
    function(status) {
        var deviceToken = status['deviceToken'];
        console.warn('registerDevice: ' + deviceToken);
        //alert('registerDevice: ' + deviceToken);
    },
    function(status) {
        console.warn('failed to register : ' + JSON.stringify(status));
        //alert(JSON.stringify(['failed to register ', status]));
    }
);    
/********************************************************************************/

});

Strangely, I can push notification from Pushwoosh control panel to my device. The first notification was received successfully, The second and the third was coming after 30 minutes, and after that, none of the notification has come into my device. Do you have any ideas about this? Thank you in advance for your kind assistance.