I'm using LaunchDarkly in a web app and am playing around with using the 'localStorage' bootstrap
option on initialization.
With this option I clearly see my flags in localStorage
and they look to be under a key formed with my clientId
and then some long, base64 string - I'm curious if there is a clear pattern I can use to access the flag values in localStorage
with getItem
or if I'm perhaps completely misinterpreting the use case?
What I tried was adding the optional bootstrap
option and then logging out my localStorage
to see what key the flag values were being stored in, and they appear to be mapped to a key that includes my LD client ID and then some long, seemingly random string.
What I expected was for my keys to be stored under a key of maybe just my LD client ID or some other, easily found property name.
Thank you for any and all insight!
Best, Zach