title: How to add multiple image using react native image picker
body: <p>I am building a simple social media Application. The User can add status, location, video from youtube, and photos. But I had a problem uploading multiple images using react native image picker. I have read the documentation but I don't know how to fix the problem</p>
  
  <p>Here's my function code</p>
  
  <pre><code>onPhotoPress() {
   const options = {
    quality: 1.0,
    maxWidth: 50,
    maxHeight: 50,
    storageOptions: {
      skipBackup: true,
    },
  };
  ImagePicker.launchImageLibrary(options, openPicker(), (response) =&gt; {
    console.log('Response = ', response);
  
    if (response.didCancel) {
      console.log('User cancelled photo picker');
    }
    else if (response.error) {
      console.log('ImagePicker Error: ', response.error);
    }
    else if (response.customButton) {
      console.log('User tapped custom button: ', response.customButton);
    }
    else {
      const source = { uri: `data:image/jpeg;base64,${response.data}` };
  
      this.setState({
        avatarSource: source,
        name: response.fileName,
        data: response.data,
        type: response.type,
        path: response.uri,
      });
    }
   });
  }
  </code></pre>
  
  <p>This my code for view images</p>
  
  <pre><code>         {this.state.avatarSource !== null ?
            &lt;Image
              source={this.state.avatarSource}
              style={{
                flex: 1,
                resizeMode: 'contain',
                marginVertical: 12,
              }}
            /&gt; : &lt;View /&gt; }
  </code></pre>
  
  <p>This is picture for upload single image 
  <a href="https://i.stack.imgur.com/SfeRK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SfeRK.png" alt="enter image description here"></a></p>
  
  <p>so Can you help me, to get multiple image or give me advice another library i should use to solve my problem</p>