Handling Push Notification scenarios on iOS and Android
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