title: React Native android FormData response goes to catch block after .json()
body: <p>I'm trying to <code>POST</code> data with <code>FormData</code> to get a response, on iOS it works as expected, but on android, it always goes to the <code>catch</code> block, I found out the reason for that is <code>response.json()</code> with error: <code>[SyntaxError: JSON Parse error: Unrecognized token '﻿']</code></p>
  <p>Here is my code:</p>
  
  <pre class="lang-js prettyprint-override"><code>const onAndroidSucks = () =&gt; {
          setLoading(true);
          let formData = new FormData();
  
          formData.append(&quot;number&quot;, number.replace(/\s+/g, '').substring(4));
          formData.append(&quot;id&quot;, userID);
          formData.append(&quot;token&quot;, userToken);
  
          fetch(ENDPOINT, {
              method: 'POST',
              headers: {
                  'Content-Type': 'multipart/form-data'
              },
              body: formData
          }).then(response =&gt; response.json()).then(response =&gt; {
              if (response.res === 'no') {
                  Alert.alert('ჰეჰე');
              } else {
                  setData(response);
              }
              setLoading(false);
          }).catch(err =&gt; { Alert.alert(err.message); setLoading(false); } );
      };
  </code></pre>
  <p>I don't understand what the actual problem is here.</p>