Clicking on an app icon does not display an in-app notification
I am using source based event notifications in hybrid apps 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 click the app icon instead of clicking the notification in the notification bar, the notification is not clicked and still appears in the notification bar. Only if I click on the notification bar, even if the app is open, the notification is clicked and removed from the notification bar.
No problem if the app is open when I receive a notification.
How can I get the notification to be clicked when I click on the app icon instead of clicking the notification in the notification bar?
MobileFirst 7.0.0
Android environment
source to share
I actually reproduced this. It seems to be a regression.
Once the button is clicked and then click either the incoming notification in the notification bar or the app icon
- the application should run
- you will be prompted to login
- support for push, etc. checked and finally
- if a notification is specified in the queue, then it should be displayed (it is assumed that the function
pushNotificationReceived
should be called). This does not happen when clicking on the application icon
If you are an IBM customer or business partner, I suggest you open a PMR (support ticket). This will be investigated by the development team ...
source to share