FireBase Storage - No acces + unknow error occured

Hello,
I struggle with FireBase Storage component. There’s no good guide for it, i was trying to search for similiar problems…

  1. I created FireBase account, added my app with the same package name.
    firebase_nazwapakietu
    firebase_nazwaapki
  2. I downloaded google-service.json and uploaded it to assests.
    firebase_zdjecieassets
  3. I created storage at firebase controlpanel, and set rules to:
    firebase_rules
  4. I uploaded a file.
    firebase_zdjecieuploadu
  5. Block configuation:

    Unfortunately, it doesn’t work. Message: User does not have permission to acces this object.
    firebase_bezsensu
    This block returns the same fail message… It looks like my app is not even connected to firebase storage.

I need a guidance or someone who can show me what i do wrong.

Firebase rules error.

Edit your firebase rules like this:

Or

1 Like

Thanks for answer. That’s not the solution - I tried it. And I found this in documentation of FireBase:

Is there any way to check if connection between app and storage is okay?

firebase_bucket
Is it normal? Does it work for companion?

I found the solution. File Storage doesn’t work on companion. GetBucket component gets wrong argument. Files can be only downloaded to application specific directory (I think there’s a bug with external storage permission), otherwise the component returns: An unknown error occurred. It can be easily accomplished with taifun file extension -> applicationspecificdirectory component!

1 Like

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