Results 1 to 4 of 4

Thread: Ext.device.Push

  1. #1
    Sencha User
    Join Date
    May 2012
    Location
    Belgium
    Posts
    3
    Vote Rating
    0
      0  

    Default Unanswered: Ext.device.Push

    Has anyone managed to get a device token from iOS to execute push notifications. I've build a Sencha touch 2.0 application, packaged it for native use. But I can't seem to get any response out of the Ext.device.Push.

    I don't get a succes nor failure event.


    Code:
    onRegister: function () {
            Ext.device.Push.register({
                type: Ext.device.Push.ALERT | Ext.device.Push.BADGE | Ext.device.Push.SOUND,
                success: function (token) {
                    console.log('# Push notification registration successful:');
                    Ext.Msg.alert('    token: ' + token);
                },
                failure: function (error) {
                    console.log('# Push notification registration unsuccessful:');
                    Ext.Msg.alert('     error: ' + error);
                },
                received: function (notifications) {
                    console.log('# Push notification received:');
                    Ext.Msg.alert('    ' + JSON.stringify(notifications));
                }
                
        
            });
    
    
        },

  2. #2
    Sencha User
    Join Date
    May 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default

    I have the same problem!

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    12
    Vote Rating
    0
      0  

    Default stuck at push notification

    Please share a sample code if u guys succeed in this. Meanwhile i m also trying to make it at my side.

  4. #4
    Sencha User
    Join Date
    May 2013
    Posts
    37
    Answers
    3
    Vote Rating
    1
      0  

    Default Push notification problem

    Hi,
    Am also facing problem with push notification.. Is anybody know how to send it in ios, Please provide some examples.. Thanks in advance

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •