title: Not able to upload the files to S3 from react native using amplify
body: <p>I tried to upload the file to S3 Bucket using the below code</p>
  
  <pre class="lang-js prettyprint-override"><code>RNFS.readFile(this.state.photo.uri, 'base64').then((res) =&gt; {
    Storage.put(filename, base64.decode(res)).then((stored) =&gt; {
      console.log('stored', JSON.stringify(stored))
    }).catch(err =&gt; {
      console.log(err)
    });
  }).catch(err =&gt; console.log(err))
  </code></pre>
  
  <p>It gave me  <strong>AWSS3Provider - error uploading [Error: Request failed with status code 403]</strong>. </p>
  
  <p>But if I remove base64.decode(res) and run the below code it uploads a file on S3{this file didn't open}</p>
  
  <pre class="lang-js prettyprint-override"><code>RNFS.readFile(this.state.photo.uri, 'base64').then((res) =&gt; {
    Storage.put(filename, res).then((stored) =&gt; {
      console.log('stored', JSON.stringify(stored))
    }).catch(err =&gt; {
      console.log(err)
    });
  }).catch(err =&gt; console.log(err))
  </code></pre>
  
  <p>I've to upload the image/videos directly from mobile app{React-Native} to AWS S3.</p>