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
Describe the bug
In our Android app, we add appVersion as a custom attribute of LDUser, and apparently this data is being used as part of the flag store id. Because of this, each time when app upgrades, a new flag store is created. If app upgrades but is relaunched while offline, since a new flag store is being used and there is no flags in it yet, unknown feature flag error will happen when getting flag values.
To reproduce
add appVersion as a custom attribute of LDUser;
launch the app and have all feature flags synced from cloud;
upgrade app to a new version;
put device to offline;
relaunch app.
Expected behavior
Same flag store is being used after app version changed.
SDK version
Android SDK 3.1.1
Language version, developer tools
Android Kotlin
OS/platform
Android API 31
Additional context
I am not sure if this is a bug or a feature. But is there any way I can have appVersion without affecting the flag store identifier?
The text was updated successfully, but these errors were encountered:
We ran into the same thing and reported it here in this issue. #150
ah, thank you so much for pointing this out! I will just close this one and follow the status in #150. Seems the fix won't be ready any time soon though.
Is this a support request?
No.
Describe the bug
In our Android app, we add
appVersion
as a custom attribute ofLDUser
, and apparently this data is being used as part of the flag store id. Because of this, each time when app upgrades, a new flag store is created. If app upgrades but is relaunched while offline, since a new flag store is being used and there is no flags in it yet, unknown feature flag error will happen when getting flag values.To reproduce
appVersion
as a custom attribute ofLDUser
;Expected behavior
Same flag store is being used after app version changed.
SDK version
Android SDK 3.1.1
Language version, developer tools
Android Kotlin
OS/platform
Android API 31
Additional context
I am not sure if this is a bug or a feature. But is there any way I can have
appVersion
without affecting the flag store identifier?The text was updated successfully, but these errors were encountered: