Notifications

Introduction

A notification is a message you can display to the user outside of your application's normal User Interface.

Notifications are short free-form messages you can send to clients using your app to re engage them or updating them continuously about the App. They are one of the most effective ways to notify the essential information.

Increase engagement by sending messages to your users even when your app isn’t running. Both Apple Push and Android Cloud Messaging are supported.

Clicking on “Notifications” menu will open the list of available Notification along with the option to add new notification.

There are two types of Notifications available within Configure.IT:

  1. Local Notifications
  2. Push Notifications

Difference between Local Notification and Push Notification:

Local Notification

Local notifications are are the alerts which user sets-up within the App e.g. birthday Reminders or Alarm. These notifications are saved in the App in SQLite database which stores data within App.

Generally, all local notifications are Time Based Notifications.

How to set Local Notification?

You need to set Alert Title, Description (Optional) and DatePicker. Please make sure to set DatePicket to Date & Time Mode as an alert like alarm needs to give you notification at specified time too along with date. Set Date format according to the API output as if the date format in API output and input will differ then it would create an error.

You must have a table created in the back-end with same 3 fields along with one unique Id field. You need to create API with “Add New API” from back-end for inserting the records for reminders. In query block, you need to add “Local Notification” when the condition returns success, configure it according to your needs in the same block to get the desired result. You can set the fields value in local notification block like sound, badge, message etc.

Once the API is ready, you can add new datasource using “Add Data Source”, add necessary input parameters to map the form variables and Save it. Once you are thru this process, call the API on button Click or similar event.

Push Notifications

Push notifications are messages which pop up on a mobile device. App publishers can send them at any time; users don't have to be in the app or using their devices to receive them. Push Notification examples are many, such as to show the latest sports scores, get a user to take an action such as downloading a coupon, or let the user know about an event such as a flash sale.

Push notifications look like SMS text messages and mobile alerts, but they only reach users who have installed your app. Each mobile platform has support for push notifications and all have their own services.

To Configure Push Notifications, you need to Add API and configure input parameters. Device token is necessary while configuring Push Notifications. Once it’s done, some settings need to be done in Admin Panel.

To enable Push Notification for your iOS app, you will need to create and upload the Apple Push Notification Certificate (.pem file) so it can be connected to Apple Push Server on your behalf. This file is unique to each Application. You can refer to http://www.apptuitions.com/generate-pem-file-for-push-notification/ to learn how to Create .PEM file. It has illustrated step-by-step procedure.

To run Push Notification for your Android App, you will need GCM (Google Cloud Messaging). It's a Google mobile notification service which enables third-party application developers to send notification data or information from developer-run servers to applications which target the Android OS. This is absolutely Free of cost. Here is the official source from where you can get detailed steb-by-step process - https://developers.google.com/cloud-messaging/ .

You can view detailed demonstration of Local and Push Notification in video at - How to configure Push and local notification

Add Notification

  1. Add Notification

    Tap on “Add Notification” to configure datasource for the app to receive push notification. Note - Only the datasource having push notification will be available.

    • External

      Default option is OFF. If you want to use any external notification, change it to ON. Select the platform/s, enter Notification Name and Label, Click on “+” as many times as you want to add Output Parameters. Enter Output parameter name and select Output Type. You can avail the option to delete each parameter separately, if you want.

    • Local

      When Local switch is OFF, you will find the list of push notifications configured with format push_notification-{CODE} where CODE is what you enter in CODE field of PUSH NOTIFICATION block during API configuration. And When Local switch is ON, you will find the list of local notifications configured with format local_notification-{CODE} where CODE is what you enter in CODE field of LOCAL NOTIFICATION block during API configuration.

    • Platform

      You can select the platform as iOS/Android/Both.

    • API Name

      The drop-down will display all the APIs created for the push notification. Select the API, as per the requirement.

    • Notification Label

      Just enter the Label.

    • Output Param Name

      Just enter the Output Parameter Name.

    • Output Type

      Select the Output Type

  2. Edit

    Edit the configured datasource.

  3. Push Notification View

    The action related to this event will be called when user taps on the view button of the alert of the push notification or slides out the notification on the home screen of the device or taps on the view from the Notification tray.

  4. Add Event

    Double tap to add any action on this event.

  5. Delete

    Delete the datasource.

  6. SAVE -Tap on Save button to save all the settings of the app.

Related Video:

How to integrate local and push notification - https://youtu.be/Sti5x5tjVFk

Related Topics:

API Configuration - http://www.configure.it/help/api-configuration.html

Notification List - http://www.configure.it/help/notification-list.html