1. You can find information about sending Push Notifications to the devices in your Telerik Platform app with .NET here.
2. You can find detailed information about targeting push notifications to specific users/devices/groups here.
3. The procedure for sending a push notification to the devices in your Telerik Platform app is like this:
- You construct the push notification object following the supported structure
- You create the notification object in Telerik Platform either using the SDK or the UI portal
- When a notification is created in Telerik Platform, the Push Notifications service determines the respective recipient devices. The notification payload along with the push tokens of these devices is sent to the vendor-specific servers. These servers are namely - Apple Push Notification Service (APNs) for iOS devices, Google Cloud Messaging for Android (GCM) for Android devices, Windows Push Notification Services (WNS) for Windows Phone devices.
- The vendor-specific servers are responsible for sending the notification to the devices identifying them by the respective push tokens.
In general, the above procedure for push notifications happens in most of the cases almost instantly. However, the delivery of a push notification is usually referred to as a "best effort". Each of the vendor services has a strategy for how to send a push when the device is not active, how to handle cases where too much notifications were sent from the same app to a single device in a short time, how many times to retry, etc.
Please bear in mind that the established best practice is to do not use push notifications for time-sensitive data and for sending information that is not available somewhere else. The user may have a device that has limited internet connection, may disable the notifications, disregard the notification, etc. In your use case, for example, the driver should have the ability to check within the app for new customers and the push notification should be used only as a prompt that there is something interesting happening in the app.
You can also set push notification expiration time/date using Telerik Platform in order not to send notifications that are no longer relevant if for example at the time of sending the receiving device is switched off or has not connection.
4. Continuing on the above, the Telerik Platform service for sending push notifications will try to construct the individual messages for the vendor services almost immediately after the notification object is received. Due to the specifics outlined in the points above there is no fixed timeframe for sending/receiving push notification messages. In Telerik Platform you have a way to check the details for each notification and if some problems occurred during sending the notifications. We are also considering a few ways to improve the feedback.
- Advanced Push
To get started quickly with push notifications in Telerik Platform you can review:
- Getting Started with Push Notifications
- Basic Push sample app
sample app which demonstrates how push notifications can be targeted to specific users and sent from the client app
Let us know should you have further questions.