Push Notifications & Alerts

Foodomaa uses Firebase Cloud Messaging service from Google, which is a free service for sending Push Notifications. After the Push Notification has been configured using this Walk-Through the application will be able to send Push Notifications.

What are Subscribers?

The registered users who have allowed the Push Notification access on their device after the registration or first login on a new device (mobile, or PC) automatically becomes a subscriber. The Push Notification Access Prompt can only be shown once as this feature is not application-specific but depends on the vendor/device/browser the application is being used on. Once the Notification Access is allowed or denied, the prompt cannot be shown again. These settings can be changed by the user by visiting the browser's/device settings for your particular website.

Platforms where Push Notifications can be delivered

Push notification token is registered for each registered user using the application on an Android Device, Windows PC, Mac System with Chrome.

Push notification service cannot be registered for the users who are using the application on an iOS device. This is because Firebase Cloud Messaging for the web doesn't support iOS devices.

When does a Push Notification arrive automatically?

If you have turned on Push Notifications for Order Updates under Admin > Settings > Push Notifications, all the subscribers will be receiving Push Notifications when their Order Status is changed by the Admin/Restaurant Owner/Delivery Guy. The subscribers will be getting Push Notifications for Order Updates when their order is:

  • Accepted by the Restaurant

  • Canceled by the Restaurant

  • Canceled by the Admin

  • Accepted by the Delivery Guy

  • Picked-up by the Delivery Guy

  • Delivered by the Delivery Guy

Sending Custom Push Notifications

Admin can send custom notifications to all its subscribers. A custom notification can have a Title, Message, an Image, and a URL assigned to it. Custom Push Notifications can be sent from Admin > Extras > Send Push Notifications.

Limitations of Push Notifications

  • Push notification can only be delivered if user have registered and subscribed to the service by allowing Push Notification access on their browser.

  • Push notification cannot be shown if the subscriber is currently on the website (The browser's tab to your website is active) i.e. push notifications are only delivered successfully when either the website is not opened in the user's browser tab, or is currently in-active (User is on a different website tab)

Since release v2.1.0, Foodomaa supports In-App Notifications when a subscriber's application is on the foreground.

  • Push notifications cannot be registered on an iOS device because of FCM limitations.

  • In Foodomaa, the push notifications cannot be sent to Restaurant Owners due to platform restrictions.

Alerts

All the registered users are eligible for receiving the Alerts. Alerts are sent to users when the for Order Updates when their order is:

  • Accepted by the Restaurant

  • Canceled by the Restaurant

  • Canceled by the Admin

  • Accepted by the Delivery Guy

  • Picked-up by the Delivery Guy

  • Delivered by the Delivery Guy

And is also sent when their wallet is credited/debited by the Admin.

Custom Alerts can be sent from Admin > Extras > Send Push Notifications From this page, the alerts can be sent to all the users or some specific users by selecting the users from a dropdown list.

Alerts are very powerful as they can be used to send custom messages to a particular user.

Advantage of Alerts

It can be sent to all registered users. Alerts are platform-independent, unlike Firebase Push Notifications. i.e. Alerts are delivered to iOS users as well.

Scenarios

  • Crediting wallet money to some users for loyalty or as a surprise marketing strategy with a custom Message

  • Creating promotion with 3rd party website and redirect them to a 3rd party website on click

  • Promoting a restaurant and redirect them to a particular restaurant on click

  • Creating a customized coupon for a user and sending it to them via Alerts

  • And many more if thought wisely.

Rules for Alerts

  1. Recent 20 Alerts are shown to a particular user.

  2. The last 7 days alerts are shown to a particular user. (After 7th day of the latest alert, the page will show a message of "No New Alerts")

Last updated