title: Unhandled promise rejection: Error: [storage/unknown] An unknown error has occurred (ios)
body: <p>After uploading image Blob to Cloud Storage , I'm getting this error ,and my image uploaded successfully</p>
  <pre><code>`[Unhandled promise rejection: Error: [storage/unknown] An unknown error has occurred.]
  at node_modules/@react-native-firebase/storage/lib/StorageTask.js:152:22 in get__then
  - ... 10 more stack frames from framework internals` 
  </code></pre>
  <p>Any clue please ? Am i missing something ?</p>
  <p><strong>Versions</strong></p>
  <p>&quot;@react-native-firebase/app&quot;: &quot;14.7.0&quot;,</p>
  <p>&quot;@react-native-firebase/auth&quot;: &quot;14.7.0&quot;,</p>
  <p>&quot;@react-native-firebase/firestore&quot;: &quot;14.7.0&quot;,</p>
  <p>&quot;@react-native-firebase/storage&quot;: &quot;^14.7.0&quot;,</p>
  <pre><code>const getPictureBlob = (uri) =&gt; {
    console.log(&quot;uri&quot;, uri);
    return new Promise((resolve, reject) =&gt; {
      const xhr = new XMLHttpRequest();
      xhr.onload = function () {
        resolve(xhr.response);
      };
      xhr.onerror = function (e) {
        console.log(e);
        reject(new TypeError(&quot;Network request failed&quot;));
      };
      xhr.responseType = &quot;blob&quot;;
      xhr.open(&quot;GET&quot;, uri, true);
      xhr.send(null);
    });
  };
  
  
  
   const upload = async (
      values,
      formikHelpers
    ) =&gt; {
      let blob: any;
      try {
        blob = await getPictureBlob(values.photo);
        const ref = await storage().ref().child(currentUser.uid);
        const snapshot = await ref.put(blob);
       
        let remoteUrl = snapshot.ref.getDownloadURL();
        console.log(&quot;remoteUrl&quot;, remoteUrl);
      } catch (e) {
        console.log(&quot;Error&quot;, e);
      } finally {
        blob.close();
  
      }
    };
  </code></pre>