We’re giving away 1,500 more DJI Tello drones. Enter to win ›
Get the code
by Devipriya Selvarajan, Balaji Kadambi | Updated January 9, 2019 - Published December 13, 2018
Note: This pattern is part of a composite pattern. These are code patterns that can be stand-alone applications or might be a continuation of another code pattern. This composite pattern consists of:
In this code pattern, you learn how to add push notifications to a hybrid mobile app using the IBM Mobile Foundation APIs.
Push notifications are integral part of mobile applications. For companies to advertise their latest offerings, or for financial institutions to alert customers on transactions, or for stores to notify customers on any important announcements, push notifications come in handy. Push notifications can be used for real-time information like weather updates or travel related updates. If the customer installed a mobile application and subscribed to notifications, then it is the quickest and easiest way for businesses to convey a message to end user and request them to take action if needed. Push notifications originate from the server and based on the devices, different services are used to deliver the notifications.
IBM Mobile Foundation provides a unified set of API methods to send either push or SMS notifications to iOS, Android, Windows applications. The unified notification mechanism makes the entire process of communicating with the users and devices completely transparent to the developer.
In this code pattern, we are going to use the base code pattern, “Develop a hybrid mobile app with a cloud native backend,” and add a push notification feature to it. Users can select an area in a Google map, and then subscribe to receive notifications on problems reported in that area. When any user submits a problem in that area, a notification is sent to all the users who have subscribed for the same.
After you complete this code pattern, you will understand:
Please see detailed instructions in the README.
Get the Code »
IBM Cloudant Local (NoSQL)Mobile development+
Back to top