Mobile Tutorial: Using Remote Notifications (iOS and Android)
Go Up to Mobile Tutorials: Mobile Application Development (iOS and Android)
Contents
This tutorial gives the basic steps to configure and to use Remote Notifications (push notifications) on your iOS or Android mobile device.
- Note: Kindle Fire devices do not support push notifications.
Remote Push Notification
Remote Notifications are notifications sent to a mobile device using a data-channel from a service provider in real-time.
Both iOS and Android offer built-in support for remote notifications, and RAD Studio offers a REST BaaS framework that supports the following protocols, cloud providers and backend service:
- Protocols:
- Cloud service providers:
- Parse
- Kinvey
- Backend service:
In order to receive push notifications, you need to set up the messaging service (APS or GCM), the device, the cloud service provider or EMS, and your RAD Studio application, as described in the three pages of this mobile tutorial.
- Notes:
- The term Remote Notifications covers Apple Push Notification as well as Google Cloud Messaging.
- iOS and Android also have local notifications which are sent from an app or from the OS to get the user’s attention. For more information, see Mobile Tutorial: Using Notifications (iOS and Android).
- The term Service Provider covers in this tutorial the Cloud service providers (Kinvey and Parse) and the backend service provider EMS.
- Push notifications using
TPushServiceConnection
andTPushService
associated classes on Android are implemented using Google Cloud Messaging (GCM). Currently, when you call GCM methods from the main thread, they are blocking. Use a separate thread to prevent this from happening.
- The term Remote Notifications covers Apple Push Notification as well as Google Cloud Messaging.
REST BAAS framework
Our REST BAAS framework offers you a variety of actions:
- Create, retrieve, update and delete objects
- Sign up, login, retrieve, update and delete users
- Upload, download and delete files or streams
- Query objects and users
- Send push notifications
- Register for and receive push notifications on a device
Topics in this Mobile Tutorial
We recommend that you perform these sequentially as steps in a procedure.
- Setting Up the Messaging Service
- Setting up the Service Provider. Choose one of the following options, depending on the service provider:
- Multi-Device Application to Receive Push Notifications
See Also
- BaaS Overview
- Getting Started with Kinvey and Parse
- EMS Push Notifications
- Enterprise Mobility Services (EMS)
- Managing BaaS Users
- Using BaaS for Backend Storage
- Mobile Tutorial: Using Notifications (iOS and Android)
- Mobile Tutorial: Using BaaS for Backend Storage (iOS and Android)