Fix growthbook attribute on logout #4120
Ticket(s) / Related Merge Requests
closes #4120 (closed)
Summary of Changes
The growthbook attributes are now updated after the logout
The loggedIn
is set to false and the ID is set to a UniqueDeviceID
Testing Considerations
- Login with a user
- open settings -> developer
- scroll to see the attributes
- loggedIn should be true
Regression Scope
No regression expected
Platform Affected (web, mobile, etc)
iOS and Android
Developer Testing Completed
Tested logged in, logged out, and witching users. It worked as expected
Does this impact
-
Localization -
Dark/light mode -
Guest mode