Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have connected this app with my firebase console. I am trying to upload videos from the app to firebase storage so that another app connect to same console (which has authentication) can display it

I am getting this error when I upload:

W/System  (10365): Ignoring header X-Firebase-Locale because its value was null.

I went through this question(W/System: Ignoring header X-Firebase-Locale because its value was null) on stack overflow but I am unable to remove the authentication requirement still

My firebase storage rules are:

service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write: if
          true;
    }
  }
}

I don't understand why I am still unable to upload without authentication.(App is connected to internet too and has permission)

What I have tried:

I have checked that my storage rules are true for read and write. Checked that internet is working in the device(emulator). Permissions present in Manifest XML
Posted
Comments
Richard Deeming 11-Jan-23 3:52am    
That's a warning, not an error.

And allowing anyone to upload to your internet-connected database without authentication is just asking for trouble.
Kavya Bhargava 12-Jan-23 14:36pm    
No its not letting me upload so it has become an issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900