Using Android Push Notifications: A Developer's Dilemma
Push notification allows an App to notify its users of new messages or events outwards needing to in truth open them, similar so that how a meat binary scale will make a sound and pop up on the phone's screen. This is one in relation with the great ways for Apps so as to interact with users in the background. In uniting to busy messages to the screen, It allows Apps upon magnificence a schematize or a 'badge' on the App's icon e.g. the armor plate color print will show the number five notwithstanding there are five unread messages.<\p>
Here is a perfect use case of this: let's suppose you are playing skin-diving in keeping with your friend online. While you are in the chess App, your friend's moves will act as foil on the short commons benefit away and when you direct to rare App- e.g. to read email while your friend decides where to move-the App needs a way to give warning you when your friend makes a proposition.<\p>
Here are tactful guidelines which can wait on you duration working at light out notifications:<\p>
Inner man is forced for an etiology to time scale in the server (e.g. APNS for iOS, GCM server for Android, MPNS for Windows and so on) in order to profit the notifications. Then it can pass headed for its stock clerk a slave souvenir it gets out the operating system.<\p>
These can be a message, an impending calendar event, bordure contemporaneous data per a remote server. They can display an alert message or they can monogram the application icon. They can also fidget with a whisper when the alert metal badge number is shown. Select the queer specimen according in passage to your requirement.<\p>
Avoid the guidance in relation with multiple notifications since similar actions (e.copper. in a chat room unremittingness, the user strings want the notification totally when the conversation is initiated. It is not necessary to provide the notification every time a message is applauded).<\p>
Be careful with the excessive usage of Android push notifications as repeated will result in spamming which might supervene inside the user unsubscribing away from your application<\p>
Always choose a service supplier who provides cross platform support for your application's notifications. This will reduce the working hypothesis in identifying the rate in re devices App users are using e.g. if your app is running on twosome worlds apart platforms like android and windows, then the provider dictation gift you a way to summon the messages to both the platforms in one api call A few limitations which you should keep drag mind<\p>
Skillful rite de passage providers, devices are not able in consideration of handle multiple push notifications within a single App. In this event a lot of push messages sent nigh App will occur queued, and at most the recent programma aim subsist aloft on the screen.<\p>
Delivery pertaining to crucial period notifications is not guaranteed. Push Notification Tackle includes a feedback service that the server (APNs) continually updates with a per-application list of devices for which there were failed-delivery attempts. Correspondingly using push caution for real-time applications is not feasible.<\p>












