I'm using below code snippet to clear userid and userproperty value by setting "null" but the value is getting retaining in GoogleAnalytics, Firebase.
FirebaseAnalytics.getInstance(context).setUserId(null);
FirebaseAnalytics.getInstance(context).setUserProperty("sessionId", null);
Userid and sessionid value will get set if user loggedin and if user logout userid and sessionid values needs to be clear.
Can anyone help me to sort out this issue
Thanks, Kamal
I hit the same bug and opened a GitHub issue.I got that answer:
"It looks like the issue isn't the setUserId not working. The user id is indeed removed, but the debugView isn't showing this, so this is a UI issue. "
Monitor the issue here: https://github.com/firebase/firebase-android-sdk/issues/3602
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With