App in background vs. forground


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.

    Use custom Push Broadcast Receiver to handle the notification and store it in the database:

Please sign in to leave a comment.