I want to implement Push Notification for an App (both iOS and Android) and need clarifications on the following scenarios.
I understand how the Push Notification works in general and the limitations. I did read the docs but that just got me confused and didnt answer all my questions.
How are the following scenarios handled in iOS and Android:
- When the device is turned off
- When the device is not connected to 3G or Wifi networks
- When the device has crashed and need restart
- When the App is in foreground
- When the App is in the background
- When user is currently using the App
- When my app is closed (not opened / launched)
- When a push notification is user specific and both users share the same device and app. Example: If a husband and wife share same device and use a bank App with Push notification.
- Can you send User specific notification if device is shared by multiple users?
- When user has installed App on multiple devices
- Can you send a notification to all devices registered by a user at once?
- Do you store the device type (iOS or Android) with the registrationID in the User table or is there a way to differentiate the type of device by inspecting the token or registrationID?
- Can you cancel a previously sent notification which is not read yet and send a new one?
- Is it still true that Android Push Notifications does not work on Kindle Fire and will need to implement Amazon Device Messaging
- Anything else that I need to think of or plan? I am aware of handling un-registering and feedback service