hello,
I'm trying to download waw files as a resource in the DirInternal but in the Storage_DownloadCompleted I get this error
(IOException) java.io.IOException: Could not open resulting stream.
(google traslator)
I'm trying to download waw files as a resource in the DirInternal but in the Storage_DownloadCompleted I get this error
(IOException) java.io.IOException: Could not open resulting stream.
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
B4X:
in starter
Sub Process_Globals
Public auth As FirebaseAuth
Public storage As FirebaseStorage
Private bucket As String = "gs://xxxxxxxx"
End Sub
Sub Service_Create
auth.Initialize("auth")
storage.Initialize("storage", bucket)
' Dim k As Boolean=File.Exists(File.DirInternal,"click1.waw")
' If Not(k) Then
storage.DownloadFile("/FileAudio", File.DirInternal, "click1.waw")
end sub
Last edited: