hippware / rn-chat

MIT License
5 stars 0 forks source link

[dev] onboarded flag should be stored separately #4915

Open southerneer opened 4 years ago

southerneer commented 4 years ago

Because onboarded is a per-device flag it should be stored separately from the rest of the MST which is per-user state. Right now the onboarding flag persists across logout/login because we don't explicitly wipe out all MST state on a logout (just authStore). I think it would make sense to cover that in this ticket but could also see it justifying a separate ticket.

cc @aksonov @bengtan

bengtan commented 4 years ago

I started writing up a reply to this ticket, but then decided it was more appropriate to post to the 'parent' ticket. See https://github.com/hippware/rn-chat/issues/4917#issuecomment-599840890