End RUM session when user changes
QuantumNightmare
released this
08 Dec 03:03
·
906 commits
to master
since this release
This version only affects the Xamarin.Android and Xamarin.iOS providers.
When the User or UserInfo properties are set (such as when the a user logs in), the existing session will end for the previous user, and a new session will start for the current user. Each session can only have a single user, so this change fixes a bug where multiple users actions were being collected into a single session for as long as the application is running, and only 1 of those users would be mentioned on that session.
The first time setting the User or UserInfo property does not trigger a session end. i.e. the app starts up with no user logged in - when a user does log in, the current session remains open and has its user set to the logged in user.