Skip to content

unreadCountlistenerRegister is not working #58

@GovindCodes

Description

@GovindCodes

I am trying to register listener but it is not working

ngOnInit(): void {
    window.Freshchat.unreadCountlistenerRegister((success, val) => {
      if (success) {
        console.log('Unread chat count:', val);
      } else {
        console.error('Failed to register listener for unread chat count.');
      }
    });
  }

I checked the logcat logs the register is getting initialized but on ne messages noting is coming, even in chrome inspect i am unable to see the event registered

@techaffinity or team can you pls help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions