Android Question Firebase Storage says bucketname not available??

karld

Active Member
Licensed User
Longtime User
I got this in the log

B4X:
Error occurred on line: 261 (Main)
java.lang.illegalArgumentException: The supplied bucketname is not available to this project.

Line 261 is this
B4X:
Starter.storage.DownloadFile("/public/Update.xml", File.DirRootExternal, "Update.xml")

In starter the bucket is set to

B4X:
Sub Process_Globals
   'Public auth As FirebaseAuth
   Public storage As FilrebaseStorage
   Private bucket As String = "gs://pumpcodespro-74451.appspot.com/public/Update.xml"
End Sub

I have created a project on Firebase and uploaded the Update.xml file. I set the permissions on it as per the tutorial.

Can anyone tell me what I missed?
 

karld

Active Member
Licensed User
Longtime User
Anyone else see this problem? I am not sure if it is my code, or something mis-configed on firebase.
 
Upvote 0
Top