Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MC-2086] Evaluate first time events #381

Merged

Conversation

akashvercetti
Copy link
Collaborator

Overview

We need to evaluate and decide when inapps need to be shown based on whether the event is triggered for the first time.

Implementation

Created a "firstTimeOnly" property in CTTriggerAdapter and set it based on the trigger json received from the backend. Created a "matchFirstTimeOnly" method in CTTriggerMatcher to evaluate triggers when received.

- TODO: Call IsEventFirstTime from the new db/localDataStore class
@akashvercetti akashvercetti merged commit 29956b7 into feature_multi_triggers Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants