Sencha Touch 2 Push Notifications

I have a Sencha Touch 2 app that should be able to trigger notifications.

I have 2 doubts:

  • Should I use the sencha notification implementation or is it better to use phoneGap?
  • How can I do to launch the application against the background of the device, so that I can check if a new notification is required for input?

Thanks in advance.

+4
source share
2 answers

You can control iOS Push Notification using Sencha Touch 2.2 - http://docs.sencha.com/touch/2.2.1/#!/api/Ext.device.Push

I post on my blog how to configure and create the Sencha Touch app for IOS Push notifications - http://isolasoftware.it/2013/09/17/ios-push-notifications-using-sencha-touch-2 /.

The most important steps:

  • Configure application name, applicationId and bundleSeedId in package.json
  • Follow the user guide in your application
  • Create the .pem certificate (or .p12) for the push server correctly.
0
source

If we are talking about Apple's own push notifications, Sencha does not support it. You must use the PhoneGap + Cordova PushNotification Plugin . This plugin was implemented by Urban Airship , so I'm not sure if this plugin is used for free or not ...

+1
source

All Articles