I am using Phonegap-plugin-push for receiving notifications in ionic app and I have done inbox-stacking. How will I identify if a notification contains n collapsible notifications or single notification. Currently, if I select collapsed notification, the action for last notification is getting executed.
Related
i am using Onesignal in ionic 3. I am getting notification properly when the app is in foreground. When I receive a notification in background i am getting the data in the notification only after tapping the notification. But i want to get the data without tapping on the notification.
You're looking for Silent Notifications (Silent Notifications are background notifications that do not show any message on the device)
Right now, you're likely using the onOpened handler. You will need to set up a service extension and be prepared to have to write native code!
https://documentation.onesignal.com/docs/silent-notifications
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.
how to group/stack multiple notification in status bar if fcm server send multiple notification to application or user at app side doesnot read previous notification.And how to handle pending intent for each notification.
Is there a way to display full chat message in push notifications?
Push notifications are only displaying first few characters of the message on both Android and iOS.
I bet you are using automatic push notifications that were enabled in admin panel. In order to customise push notifications itself you need to create and send pushes by yourself (just disable automatic ones in admin panel).
Here is example on how to do it: http://quickblox.com/developers/SimpleSample-messages_users-ios#Send_Push_Notifications_from_application_.28via_API.29
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...