[馃悰]馃敟 Storage emulator is not used when uploading to non-default bucket #7717
Labels
Help: Needs Triage
Issue needs additional investigation/triaging.
Impact: Bug
New bug report
Service: Storage
Firebase Cloud Storage
Workflow: Needs Review
Pending feedback or review from a maintainer.
Issue
When I upload to a non-default bucket, the file is unexpectedly uploaded to the live storage, not the emulator storage.
For example, this code uploads the file to the production storage:
But, if I simply remove the bucket name, the file is uploaded to the default storage in the emulator:
Prior to this, I am instructing the app to use emulator storage like so:
I have confirmed that the second bucket is set up in the emulator. I can view it and write to it from the emulator interface, so not sure why the code is choosing to upload to the live storage instead of using the emulator.
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: