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

fix: auto-session un-cleared on dynamically disabling trackLifeCycleEvents & autoSessionTracking #344

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

desusai7
Copy link
Contributor

@desusai7 desusai7 commented Jul 19, 2023

fix: fixed automatic session not getting cleared on dynamically disabling track life cycle events / automatic session tracking

The previous automatic session would still be active, if we disable the track life cycle events on next launch, hence we need to save the automatic tracking status as enabled in the preferences only when both track life cycle events and automatic session tracking is enabled.

@desusai7 desusai7 self-assigned this Jul 19, 2023
@desusai7 desusai7 changed the title fix: fixed automatic session not getting cleared on dynamically disabling track life cycle events fix: fixed automatic session not getting cleared on dynamically disabling track life cycle events / automatic session tracking Jul 19, 2023
@desusai7 desusai7 changed the title fix: fixed automatic session not getting cleared on dynamically disabling track life cycle events / automatic session tracking fix: auto-session un-cleared on dynamically disabling trackLifeCycleEvents & autoSessionTracking Jul 19, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jul 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@1abhishekpandey 1abhishekpandey merged commit 0b580d9 into develop Jul 31, 2023
5 checks passed
@1abhishekpandey 1abhishekpandey deleted the fix/userSession branch July 31, 2023 08:49
1abhishekpandey added a commit that referenced this pull request Jul 31, 2023
* chore: added credit to NSData+GZIP (#341)

* fix: event not getting removed from DB and certain processing issue (#340)

* fix: event not getting removed  from DB and certain processing issue

* fix: application update event logic

* refactor: the firstEventTimestampBeforeSDKInit() logic

Now, the value will be stored into the UserDefault to cover the case where events are made while SDK is init but even before it complete its execution SDK stop e.g., writeKey error.

* chore: address Sonarcloud bug and code smell issue

* chore: addressing comments

Refactored most of the logic.

* chore: remove leftover codes

* chore: refactor RSEventDeletionStatus key in preference manager

* refactor: device mode events processing logic

* fix: improve the logic of isDeviceModeFactoriesNotPresent property

* chore: addressing comments

* code refactored

* fix: use correct variable name for rowId

---------

Co-authored-by: Pallab Maiti <[email protected]>

* fix: replay message queue dumping logic  (#348)

* fix: replay message queue dumping logic

* revert: previous logic to mark events as device mode processing done on App Update

* test: add new db unit test case and fix old one

* fix: fixed application installed and updated getting triggered in-correctly (#345)

Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: Abhishek Pandey <[email protected]>

* fix: fixed automatic session not getting cleared on dynamically disabling track life cycle events (#344)

Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: Abhishek Pandey <[email protected]>

* chore(release): 1.16.1

---------

Co-authored-by: Pallab Maiti <[email protected]>
Co-authored-by: Abhishek Pandey <[email protected]>
Co-authored-by: Pallab Maiti <[email protected]>
Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: GitHub actions <[email protected]>
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.

3 participants