I am having problems with LogOutAsync (on Xamarin). I call it when the user logs out, there are no errors, and everything appears fine. If I then log back in with the same user, there are no problems. However, if I try logging-in with a different user, I get the following error when trying to do any subscription on the instance:
Realms.Exceptions.RealmException: Current user is not valid if more that one valid, logged-in user exists.
I have to fully delete the app from the device in order to log in and subscribe as a different user. Is there something I am missing? Is the logout failing silently? Is there some cache or similar that I need to clear?
Thanks in advance!