Scheduling your notification

In order to deliver local notifications to your users, you'll need to schedule them. This is another difference between local and push notifications. Push notifications do not need to be scheduled, because they are pushed through the server and delivered as soon as possible. When you schedule a local notification, you make use of a notification trigger. There are several notification triggers that you can use to send a notification:

  • Location-based
  • Calendar-based
  • Time-based

Before you implement a proper notification to send reminders to a user, you will create a notification that is scheduled to fire a couple of seconds after creating it. You will then learn how to send a repeating notification that uses a time interval. Lastly, you will learn about calendar-based and location-based triggers.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.54.6