New with BlackBerry 10
The BlackBerry Push Service got the following updates with BlackBerry 10.
- BlackBerry 10 is a new operating system built on C/C++. As a result, client-side apps that were developed for devices running BlackBerry 7 or earlier (which are Java based) are not compatible. You will need to redevelop those apps for BlackBerry 10. Your server-side app is still compatible with devices running BlackBerry 10 and with BES10 or BES12
- Prior to BlackBerry 10, the server-side app and the client-side app communicated using a port number. In BlackBerry 10, PNS (Push Notification Service) abstracts the port logic for you, so all you need is the application ID. PNS guarantees there will not be a port conflict.
- BlackBerry 10 OS version 10.2 introduced headless applications. Headless apps run in the background so that the user doesn't need to have your full client-side app running to receive push content. The full app can be triggered to start when a push message is received. To qualify as a headless app, your app must specify itself as an invocation target with the type application.headless, which allows it to be invoked in response to a trigger. You can also use the system STARTED action to register your app with the Push Service when your app is installed on a device.