-
Notifications
You must be signed in to change notification settings - Fork 48
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
fix: feature_flag_called after reloadFeatureFlags #232
Conversation
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
8dd7afb
to
4a839d2
Compare
Hey just reverted changes. So we now just clear the set when flags are reloaded |
nice, did another pass and left a few comments |
@@ -10,18 +10,21 @@ import Nimble | |||
import Quick | |||
|
|||
@testable import PostHog | |||
import XCTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was that missing before? i think its not needed when using Nimble
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😩 #234
💡 Motivation and Context
Relates to: #211
Clear 'flagCallReported'' after reload so that $feature_flag_called can be captured
💚 How did you test it?
📝 Checklist