title: How to save Multiple Key Values using react-native-keychain?
body: <p>I have multiple <code>key, value</code> and I dont know how can I store multiple <code>key, value</code> in different places.</p>
  
  <p>Is there an alternative way for the following code using <code>react-native-keychain</code> package <strong>??</strong></p>
  
  <pre><code>await AsyncStorage.setItem('pincode',  '12345');
  await AsyncStorage.setItem('userid',  '@user8383928');
  await AsyncStorage.setItem('contacts',  JSON.stringify(contacts_array_of_object));
  </code></pre>
  
  <p>Every above <code>key, value saving</code> may called in different functions and in a different time.</p>
  
  <p>Problem is in <code>react-native-keychain</code> there is only two property <code>username, password</code>:</p>
  
  <pre><code>async () =&gt; {
    const username = 'zuck';
    const password = 'poniesRgr8';
  
    // Store the credentials
    await Keychain.setGenericPassword(username, password);
  
    try {
      // Retrieve the credentials
      const credentials = await Keychain.getGenericPassword();
      if (credentials) {
        console.log('Credentials successfully loaded for user ' + credentials.username);
      } else {
        console.log('No credentials stored');
      }
    } catch (error) {
      console.log('Keychain couldn\'t be accessed!', error);
    }
    await Keychain.resetGenericPassword();
  }
  </code></pre>