-
Notifications
You must be signed in to change notification settings - Fork 26
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: countly sdk integration replace halt and bump to latest (WPB-15007) #3748
fix: countly sdk integration replace halt and bump to latest (WPB-15007) #3748
Conversation
Quality Gate passedIssues Measures |
@@ -86,7 +86,7 @@ class AnonymousAnalyticsRecorderImpl : AnonymousAnalyticsRecorder { | |||
|
|||
override fun halt() = wrapCountlyRequest { | |||
isConfigured = false | |||
Countly.sharedInstance().halt() | |||
Countly.sharedInstance()?.consent()?.removeConsentAll() |
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.
This guy got overridden by other changes, eventually this gets rid of the crash, since halt is not meant for production code.
Pull Request is not mergeable
Pull Request is not mergeable
Built wire-android-staging-compat-pr-3748.apk is available for download |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
After a couple of PRs addressing countly, the fixes from last week got overridden.
Causes (Optional)
Crash on call to halt.
Solutions
Bring back the fix, and bump countly to latest.
Testing
Test Coverage (Optional)
How to Test
Have 2 accounts with countly; one enabled, second disabled.
First go to enabled account, then go to disabled and send app to BG
Expected:
When bringing app from "recent apps" there should no be crash, since we are not calling halt anymore, but rather:
Countly.sharedInstance()?.consent()?.removeConsentAll()
Attachments
Screen.Recording.2024-12-16.at.17.01.59.mov
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.