LP-Messaging / Android-Messaging-SDK

LivePerson Android Messaging SDK
https://www.liveperson.com
28 stars 24 forks source link

onMessageReceived not working #141

Open gulomov opened 1 year ago

gulomov commented 1 year ago

I updated lp_messaging_sdk to the latest 5.17.0 version and tried to test notifications but I am not getting anything on onMessageReceived. LivePerson SDK is initialized and the user's profile is set.

Any suggestion as to why is it happening?

sruzhytskyi commented 1 year ago

@gulomov I do not see any difference in the way how we handle notifications in this method between 5.14 and 5.17 versions. We receive this message only if the app is in background. (socket is closed). When exactly you expect the onMessageReceived method be triggered (background/foreground)?