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

Can't set user ID to nil on logout #286

Closed
deRonbrown opened this issue Sep 18, 2020 · 1 comment
Closed

Can't set user ID to nil on logout #286

deRonbrown opened this issue Sep 18, 2020 · 1 comment
Labels
question Further information is requested

Comments

@deRonbrown
Copy link

Summary

We used to call Amplitude.instance().setUserId(nil) when the user logs out, but this method no longer accepts nil. What's the recommended approach for logout scenarios? We want to disassociate the user from the device. We were also called Amplitude.instance().clearUserProperties(). Does this method just clear local device state, or does it also clear all user properties in your service/dashboard?

@deRonbrown deRonbrown added the question Further information is requested label Sep 18, 2020
@haoliu-amp
Copy link
Contributor

Thanks for reporting the issue!
We released v7.0.1 to address it!
https://github.com/amplitude/Amplitude-iOS/releases/tag/v7.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants