You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @majdanov, you should be able to access this via
flagsmith.getContext()?.identity?.identifier
In future, the recommended way to identify will be to use the setContext method. However until then, I think we'll fix this and re-add the flagsmith.identity initialisation for backwards compatibility.
@kyle-ssg the documentation recommends the flagsmith.identify(...) approach. Should I open a different issue for this, or would you mind updating the documentation with the current PR?
@chris-richmond That's fine, we're going to be discussing internally about how to migrate the documentation towards context. In the meantime we'll be aiming to be fully backwards compatible.
Description
flagsmith.identity
is empty after executingflagsmith.identify
Context
I am trying to upgrade flagsmith from 3.24.0 to 9. The problem is reproduced from version 5.0.0 and later.
Is it a bug or am I doing something wrong?
The text was updated successfully, but these errors were encountered: