cordova-plugin-firebase-messaging
cordova-plugin-firebase-messaging copied to clipboard
Add an "autoHide" option to disable automatically hiding notification
- Defaults to true (preserves existing functionality)
- When set to false notifications received in the foreground will not be automatically hidden after three seconds
@stephent92 hm, can you describe your use case in more details?
@chemerisuk I work on an application that sends a push notification for new/removed assignments to a user, which will usually be received when they aren't in the activity that displays these assignments. Keeping the notification beyond the three second window allows the user to check it when they're ready (not all devices display a heads up notification by default so it ends up being hidden before they even see it)
@stephent92
not all devices display a heads up notification by default so it ends up being hidden before they even see it
Check the latest version. Notifications for Android O+ now displayed.