Any way can update the badge number beside the app icon when receive push notification?(ex: the outlook app in attachment image as attached) Right now I only able to update it when the app in open.
Related
My app uses push notifications (Ionic Capacitor) and when I enter the app I use getDeliveredNotifications() to get all the notifications to display. This works great if the user clicks on our App icon but when the user clicks the notification banner I get an empty array back.
Its like the notifications get wiped before getDeliveredNotifications gets called. Any thoughts on what I might try to fix? I checked this on Android and it works as expected...
I have added a logo image on one signal push notification settings page for web push. It is not showing a logo image on a push notification in the browser. It is showing the default bell icon.
We have the same issue on android SDK push notification also.
How to fix it?
Push notification logo settings
When my database record is updated on the server it sends a push notification to the Android app user through FCM. The notification is sent but the badge count on the device is not updated. How do I set the notification to change the badge app icon?
In Android this doesn't happen automatically like it does with the iOS implementation. You'll have to handle this yourself by overriding the onMessageReceived method - see https://firebase.google.com/docs/cloud-messaging/android/receive. The badge count can then be updated using something like https://github.com/leolin310148/ShortcutBadger to make things easier.
I am using the Event source-based notifications in hybrid applications sample from https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/notifications/push-notifications-hybrid-applications/event-source-based-notifications
When I receive a push notification and I tap on the app icon instead of tapping the notification in the notification bar, the notification isn't pushed and still appearing on the notification bar. Only if I tap on the notification bar, even if the app is open, the notification is pushed and is deleted from the notification bar.
There are no problems if the app is open when I receive the notification.
How I can force the notification to be pushed when I tap on the app icon rather than tapping the notification in the notification bar?
MobileFirst 7.0.0
Android Environment
I have indeed reproduced this. It appears to be a regression.
After a push is received and you then tap either the incoming notification in the notifications bar or the app icon
the app is supposed to launch
you are then prompted to login
push support etc is checked for, and finally
if there's a notification in the queue then it is supposed to be displayed (the pushNotificationReceived function is supposed to be called). This is not happening when tapping on the app icon
If you are an IBM customer or business partner I suggest for you to open a PMR (support ticket). This is going to be investigated by the development team...
I have 2 related questions regarding the new push notification in iOS5:
If my application is not running in the background - Can the notification arrive to my application silently?
Can I revert back to the old modal popup UI for push notification? Can I do it programmatically only for my application notification while leaving all the rest using the notification center disappearing notification?
You can send a silent message by not providing the sound property with the push message.
You cannot revert back to the old modal popup.