Open
Description
Description
When users tap on LiveChat notifications, the app immediately restarts. This behavior is specific to LiveChat notifications only - all other push notifications work as expected without triggering an app restart.
Environment
- Package Version:
infobip_mobilemessaging: 7.2.1
- Flutter Version: 3.24.4
- Device/OS tested on: iOS & Android
Current Implementation
InfobipMobilemessaging.on(
LibraryEvent.notificationTapped,
(infobip_message.Message event) async {
// handle livechat notification
if (event.chat ?? false) {
// Handle to open livechat page here
...
...
...
return;
}
},
);
Steps to Reproduce
- Set up LiveChat integration
- Send a message as an agent to trigger a notification
- While app is in foreground/background, tap on the received notification
- Observe app restart instead of normal resume
Expected Behavior
App should resume normal operation when tapping the notification, without restarting.
Additional Context
- This issue only occurs with LiveChat notifications
- Regular push notifications work correctly without causing app restart
Questions
- Is this a known issue/expected behavior?
- What is the recommended implementation to prevent the app restart?
- Are there any relevant documentation or code samples available?
Metadata
Metadata
Assignees
Labels
No labels