Open dieptang opened 4 days ago
Hi @dieptang ,
We apologize for the inconvenience caused. We have analyzed the code you have shared, and it looks fine.
Possible cases that might stop push notifications:
ZohoSalesIQ.Notification.enablePush(token, true);
or please initiate a new chat and try sending messages from that chat.Additionally, it would be useful for debugging this case if you could share your portal, brand, and chat ID details with us at support@zohosalesiq.com. We will be happy to assist you.
Regards, Bhahirathan M Zoho SalesIQ.
SDK Version: 8.0.5 Tested Environment: Android 10
Issue: Push notifications are not working when the app is fully closed (killed). However, notifications work fine when the app is kept open in the foreground or background.
SaleIQMessagingService.java
AndroidManifest.xml:
Steps to Reproduce:
Launch the app and keep it open or in the background. Push notifications work as expected. Close the app completely (swipe away from recent apps). Try sending a push notification via Firebase or SalesIQ console. The notification is not received. Expected Behavior: Push notifications should be delivered even when the app is closed.
Actual Behavior: No push notifications are received when the app is closed.
Please let me know if there are any additional configurations or steps required to ensure push notifications are received when the app is closed.