react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

How to save multiple key value ?

Open ghost opened this issue 5 years ago • 1 comments

I have multiple key, value and I dont know how can I store multiple key, value in different places.

Is there an alternative way for the following code using react-native-keychain package ???

await AsyncStorage.setItem('pincode',  '12345');
await AsyncStorage.setItem('userid',  '@user8383928');
await AsyncStorage.setItem('contacts',  JSON.stringify(contacts_array_of_object));

Every above key, value saving may called in different functions and in a different time.

ghost avatar Feb 22 '20 13:02 ghost

Hi @muhammadwafa were you able to find an answer to this?

thecodecafe avatar Aug 24 '21 10:08 thecodecafe