App in background vs. forground

Comments

1 comment

  • Avatar
    Max Konev

    On iOS:
    (app is in background)
    Regular push:
    The notification would be only delivered to the app if user pressed on the notification in the notification center.
    Silent (newsstand) push:
    Send silent (newsstand) notification, the app will be launched in background to handle the notification. You need to add remote-notification mode in Background Modes in Info.plist file.

    (app is in foreground)
    The notification would be delivered to the app.

    Android:
    Use custom Push Broadcast Receiver to handle the notification and store it in the database:
    http://docs.pushwoosh.com/docs/android-faq#using-custom-push-broadcast-receiver-in-android

Please sign in to leave a comment.