[SOLVED] expo firebase storage

Please provide the following:

  1. SDK Version: 49.0.3
  2. Platforms(Android/iOS/web/all): Android
  3. 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 :

If you have any idea it will be great ! I don’t understand where is the problem :confused:

Hi everyone,

I solved my issue !

it was a simple thing :smiling_face_with_tear: AppCheck was activated for storage but not configured in my app.

1 Like

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