When implementing logic with a push notification function it is a good idea to understand how it works under the hood, so when you send a push notification using a REST API, Server Code, or via the web console, the flow should look like this:
- Appery.io push service receives and processes the request to send push.
- Then, Appery.io passes the message onto Google or Apple servers.
- Lastly, push notification providers (Google or Apple) delivers the message to a device.
Because the push notification was delivered by a third party (not by our service), the Appery.io platform can’t provide details on whether or not the push notification was delivered, and the reasons for this. However, we can provide certain error notifications along the lines of the device was not found. The same basic flows are valid for all push notification services (not only for Appery.io).