Episode 126: Using Sencha With Windows Azure Mobile Services

Play Episode 126: Using Sencha With Windows Azure Mobile Services

The Discussion

  • User profile image
    kristan66

    Hi there, I have been through all the documentation and code samples, however, when I call Ext.device.Push.register, I get no response at all.

    If I put this inside the controller init method:

    Ext.Azure.on({

    scope: this,

    'pushregistrationsuccess': this.onPushRegistrationSuccess,

    'pushregistrationfailure': this.onPushRegistrationFailure,

    'pushnotification': this.onPushNotification

    });

     ...then inside launch()

    Ext.Azure.init({

    appKey: 'xxxx',

    appUrl: 'xxxx.azure-mobile.net',

    pushConfig : {

    windowsphone : 'channel_name',

    android : 'sender_id',

    ios : true

    }

    });

    I get no response at all.  I have defined, the push registration success and failure methods on the controller as:

    onPushRegistrationSuccess: function (event) {

    alert("onPushRegistrationSuccess: " + event);

    },

    onPushNotification: function (event) {

    Ext.Msg.alert('Notification', event.message);

    },

     

    I'm trying to get push registration to work in a Windows Phone Sencha app. Pls let me know if Windows Phone is not supported? I'm going insane. Thanks.

     

  • User profile image
    arthurakay

    I think I answered the same question on Stack Overflow.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.