[Local Notifications Plugin] Schedule notification when iOS app is in background.

Forge Component
Published on 17 Jan by OutSystems R&D
6 votes
Published on 17 Jan by OutSystems R&D


In our app we want to display notification when user receives for example message while app is in background. On Android it works, but on iOS 10 not. Is it not working on iOS or I have to setup another plugin to keep app awake or something?

Thank you.


Hello Nick.

As of today, when in background, iOS stops javascript execution. Android will keep running while the OS has resources available. To achieve what you want, you'll need a "keep alive" plugin (for example, the cordova-plugin-background-mode). There's a plugin in the Forge that wraps this.