Please provide the following:
- SDK Version: 49.0.3
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
Hi everyone,
I’m using expo with firebase storage SDK and I got an error.
I’m trying to create a new app and change the way to load my file but I got the same issue.
When I run the command uploadBytes or uploadString I got this message :
WARN Possible Unhandled Promise Rejection (id: 1):
TypeError: Cannot read property ‘includes’ of undefined
TypeError: Cannot read property ‘includes’ of undefined
Package.json :
{
"name": "charging",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~49.0.13",
"expo-status-bar": "~1.6.0",
"firebase": "^10.5.0",
"react": "18.2.0",
"react-native": "0.72.5",
"expo-image-picker": "~14.3.2"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}
My code is there :
https://drive.google.com/file/d/1QT27BVXTgbDA9QSSB4ywhcUHNRZjDkwb/view?usp=drive_link
If you have any idea it will be great ! I don’t understand where is the problem