emeraldsanto / react-native-encrypted-storage

React Native wrapper around EncryptedSharedPreferences and Keychain to provide a secure alternative to Async Storage.

Home Page:https://www.npmjs.com/package/react-native-encrypted-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi, a question from Argentina

mchisnerman3 opened this issue · comments

Hi, thanks for your work.

My question is:

Is possible, change only one field from the json object?

Example:
I need to change only the age from this:
await EncryptedStorage.setItem(
"user_session",
JSON.stringify({
age : 21,
token : "ACCESS_TOKEN",
username : "emeraldsanto",
languages : ["fr", "en", "de"]
})
);

Tankhs so much