Skip to content

Storage SDK missing methods to reference multiple buckets #4407

@samtstern

Description

@samtstern

[REQUIRED] Describe your environment

  • Operating System version: macOS
  • Browser version: N/A
  • Firebase SDK version: exp
  • Firebase Product: storage

[REQUIRED] Describe the problem

Originally reported here:
#4402

Steps to reproduce:

Relevant Code:

There seems to be no way to reproduce either of these snippets in the new modular SDK:

const storage = firebase.app().storage("gs://my-custom-bucket");
  const customApp = firebase.initializeApp({
    // ... custom stuff
  });

  // Get the default bucket from a custom firebase.app.App
  const storage = customApp.storage();

  // Get a non-default bucket from a custom firebase.app.App
  const storage = customApp.storage("gs://my-custom-bucket");

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions