having problem while saving data in firestore using expo library

Please provide the following:

  1. SDK Version: 1.13.1
  2. Platforms(Android/iOS/web/all): all

So basically im using firebase for storing my data in backend
but while i save my data in fire base using expo library and its documentation i m facing some wierd error which im not able to find even on web
i really need help regarding this

var db = firebase.firestore();
** db.collection(“posts”).doc(“bkahsfnkasfj2738bds”).set({**
** text: desc,**
** image: remoteUri**
** })**
** .then(function() {**
** console.log(“Doc successful”);**
** })**
** .catch(function(error) {**
** console.error(“Error writing doc”, error);**
** })**

Im using this code to store data in collection i have given permissions to store data in my firebase console also i m able to store image but unable to store in firestore

the error im getting is this

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.