Hi All
I am getting this error: (IOException) java.io.IOException: Could not open resulting stream.
with the Firebase storage sample project provided in the link below:
https://www.b4x.com/android/forum/threads/firebasestorage-simple-file-storage-backend.68350/#content
Authentication is also failing.
Here is what I have done:
1. downloaded sample project
2. changed package name
3. downloaded the JSON file and placed it in the project folder
4. changed the bucket name in the source code to match the project
5. copied the rules from the first post in the above link and applied to the project (bucket name also changed inside the rules). I even attempted to make everything public, but still facing the issue
6. created a subfolder "somefile" under public and copied "out.txt" file to the subfolder
7. Download code looks like this
I am getting this error as a result of executing the above code
(IOException) java.io.IOException: Could not open resulting stream.
any ideas what could be causing the issue.
Thanks in advance
I am getting this error: (IOException) java.io.IOException: Could not open resulting stream.
with the Firebase storage sample project provided in the link below:
https://www.b4x.com/android/forum/threads/firebasestorage-simple-file-storage-backend.68350/#content
Authentication is also failing.
Here is what I have done:
1. downloaded sample project
2. changed package name
3. downloaded the JSON file and placed it in the project folder
4. changed the bucket name in the source code to match the project
5. copied the rules from the first post in the above link and applied to the project (bucket name also changed inside the rules). I even attempted to make everything public, but still facing the issue
6. created a subfolder "somefile" under public and copied "out.txt" file to the subfolder
7. Download code looks like this
B4X:
Sub btnDownloadPublic_Click
'You need to first upload a file from Firebase console.
Starter.storage.DownloadFile("/public/somefile/out.txt", File.DirInternalCache, "out.txt")
End Sub
I am getting this error as a result of executing the above code
(IOException) java.io.IOException: Could not open resulting stream.
any ideas what could be causing the issue.
Thanks in advance
Last edited: