Implementing push notifications
All the scenarios we have seen so far are based on local notifications, which are generated directly by your application when a specific event happens. However, there are scenarios where the event isn't generated locally, but remotely. A new message, a new mail, a new goal scored by your favorite football team are just a few examples. Sure, your application could continuously send messages to your backend to check if there are updates, but it wouldn't be very efficient. This approach would have a huge impact on the battery and the resources of your computer.
Therefore, the industry has introduced the concept of push notifications. Instead of the device continuously checking with the backend if there are updates, it's the backend itself that sends a message to the device whenever there's something new. This scenario is made possible thanks to the introduction of a cloud service, which is provided by the owner of the platform and...