I'm finding that in my application
EncryptedLocalStore.setItem() fails to write items if the item
already exists.
If I set up a simple AIR project to test overwriting an item with EncryptedLocalStore, it works, but in my AIR project it only writes the item the first time. Successive times, either during the same app session or after restarting the app, fails to overwrite the item.
If I remove the item first using EncryptedLocalStore.removeItem(), everything works.
For what reason might the overwrite be failing? It's a little disconcerting, because I overwrite numerous items throughout the project to maintain user state.
If I set up a simple AIR project to test overwriting an item with EncryptedLocalStore, it works, but in my AIR project it only writes the item the first time. Successive times, either during the same app session or after restarting the app, fails to overwrite the item.
If I remove the item first using EncryptedLocalStore.removeItem(), everything works.
For what reason might the overwrite be failing? It's a little disconcerting, because I overwrite numerous items throughout the project to maintain user state.