Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    387
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

    Default Ext.device.Push

    Ext.device.Push


    noticed this in the 2.1 rc docs.
    what exactly does it do? its hard to understand from the docs. the docs simply say "Provides a way to send push notifications to a device"
    can someone please elaborate or give a use case on when to use this?
    thanks!

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    387
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

    Default


    Thanks
    Does this mean I can send stuff like badges etc to my sencha app even if it is not currently open and running?

  4. #4
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    14
    Vote Rating
    0
    mmigdol is on a distinguished road

      0  

    Default


    GKatz,

    Yes, that's pretty much it. Just got it working for the first time with my app -- let me know if you need help.

  5. #5
    Sencha User
    Join Date
    Nov 2010
    Posts
    387
    Vote Rating
    4
    gkatz is on a distinguished road

      0  

    Default


    did you guys get it to work for IOS and android with Ext.device.Push?
    the docs state only ios support...

  6. #6
    Sencha User
    Join Date
    May 2013
    Posts
    37
    Vote Rating
    1
    kidmanmatch is on a distinguished road

      0  

    Default Sencha touch push notification

    Sencha touch push notification


    HI,
    mmigdol

    I recently started developing with Sencha Touch 2, at the moment i'm creating an app that needs support for Apple Push Notifications.


    So I've created the neccesary certificates at the Apple developer center and used them to package the application with the Sencha Touch SDK tools. All went well and I'm able to run this app on my device.


    In the app I added a button to receive the device token. When I tap the button it executes the following code

    This is the code i get from sencha docs. Bud i dont have much success yet.. please direct me to solve this issue.. Thanks in advance

    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)); }


Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi