nativescript-local-notifications
nativescript-local-notifications copied to clipboard
setting `forceShowWhenInForeground` to true not showing in foreground
it's working in the background but not in foreground.
As stated in the docs, this doesn't do anything on newer devices. Are you sure this is meant to be supported?
@Erudition the readme states this is the behaviour for iOS < 10, meaning new devices should display the notification:
Default is false. Set to true to always show the notification. Note that on iOS < 10 this is ignored (the notification is not shown), and on newer Androids it's currently ignored as well (the notification always shows, per platform default).
@EddyVerbruggen can you please confirm if this is what you meant or it's a typo in docs ?
What I meant to say is that this flag is effectively only relevant for iOS 10 and newer.
Older iOS versions can't show the notification when the app is in the foreground. And newer Android devices always show the notification (AFAIK).