CodeLinkIO / Firebase-Image-Upload-React-Native

Demo to handle image with Firebase storage
129 stars 22 forks source link

Can't find variable: listeners #1

Open bitcoinvsalts opened 8 years ago

bitcoinvsalts commented 8 years ago

using android and the following packages:

"firebase": "^3.6.1",
"react": "15.3.2",
"react-native": "^0.35.0",
"react-native-fetch-blob": "^0.9.6",
"react-native-image-picker": "^0.22.10"

I am getting this error:

Possible Unhandled Promise Rejection (id: 0):
Can't find variable: listeners

it seems the latest version of firebase 3.6.1 is breaking the image upload.

bitcoinvsalts commented 8 years ago

everything works fine with firebase 3.6.0 I am contacting firebase...

chatras commented 7 years ago

Any update on this? I am getting the same warning and not getting the image url.

chatras commented 7 years ago

The Firebase support team replied to this issue: It seems that the issue stems from react-native-fetch-blob, which had a bug that kept it from working properly with the 3.6.1 release. The bug was fixed in version v0.10.1-beta.1 with PR#194. The most recent version is v0.10.1-beta.2. See release notes for more details.

So uninstall the current version of react-native-fetch-blob and installed the beta version npm uninstall --save react-native-fetch-blob then npm install --save react-native-fetch-blob@v0.10.1-beta.1