You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LP Android SDK supports local notifications ? Unable to get the unread message count in BroadcastReceiver, unable to get the badge count and no notification UI shown.
#158
Open
SanjanaTailor opened this issue
Oct 25, 2024
· 1 comment
The text was updated successfully, but these errors were encountered:
SanjanaTailor
changed the title
LP Android SDK supports local notifications ? Unable to get the
LP Android SDK supports local notifications ? Unable to get the unread message count in BroadcastReceiver, unable to get the badge count and no notification UI shown.
Oct 25, 2024
downloaded the sample SDK. On Intro Activity, entered the Account ID and click on Messaging. on Messaging Activity, entered the JWT token and Open Activity.
On chat window, entered the message and before chat get initiated clicked on back button.
In Messaging Activity, onResume method always called and get the unread_message_count.
Unfortunately, not receiving the below logs
IntentFilter unreadMessagesCounterFilter = new IntentFilter(LivePerson.ACTION_LP_UPDATE_NUM_UNREAD_MESSAGES_ACTION);
BroadcastReceiver unreadMessagesCounter = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
int newValue = intent.getIntExtra(LivePerson.ACTION_LP_UPDATE_NUM_UNREAD_MESSAGES_EXTRA, 0);
Log.d(TAG, "Got new value for unread messages counter: " + newValue);
updateToolBar(newValue);
}
};
No description provided.
The text was updated successfully, but these errors were encountered: