Skip to content

[Question]: InAppMessagesManager.evaluateInAppMessages() not proceeding when a trigger is sent. #2336

@MariaAbraham91

Description

@MariaAbraham91

How can we help?

I am using the latest beta version and I am using the login method for identity verification.

After logging in, when I call addTrigger the first time, it doesn’t seem to fetch the IAM. However, if I call addTag before setting the trigger, the IAM loads correctly.

In the sdk logs, I can see it is stuck at - InAppMessagesManager.evaluateInAppMessages() when no tag is set before sending the trigger.

Could this be related to the OneSignal user not being fully initialised at the time of triggering? Do we need to call OneSignal.User at least once before invoking addTrigger?

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions