You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if the issue is with this package, with the Firebase Cloud Storage emulator, or a combination of the two, but it starts here so this is where I opted to create the issue.
When using the Cloud Storage Emulator combined with this package, uploading files results them being stored as base64 encoded, preceeded by a newline.
For example, uploading a text file containing:
Hello World!
... gets stored as:
SGVsbG8gV29ybGQh
This same problem does not happen if you upload the file via the emulator UI console and it also does not happen when using a live Cloud Storage project.
To help demonstrate the problem, I created a sample repo where the tests will pass in the live environment and clearly show the problem when using with the emulator.
I'm not sure if the issue is with this package, with the Firebase Cloud Storage emulator, or a combination of the two, but it starts here so this is where I opted to create the issue.
When using the Cloud Storage Emulator combined with this package, uploading files results them being stored as base64 encoded, preceeded by a newline.
For example, uploading a text file containing:
... gets stored as:
This same problem does not happen if you upload the file via the emulator UI console and it also does not happen when using a live Cloud Storage project.
To help demonstrate the problem, I created a sample repo where the tests will pass in the live environment and clearly show the problem when using with the emulator.
https://github.com/jpeiffer/cloud_storage_issue
The text was updated successfully, but these errors were encountered: