Skip to content

[firebase-storage] customMetadata cannot be set on IOS #71

@canmertc

Description

@canmertc

I'm using the following code to upload files with metadata to the default bucket. It works on Android as expected but customMetadata property cannot be set on IOS.

// File upload with custom metadata
const metadata = new Metadata();
metadata.customMetadata = {
  foo: "bar"
};

const defaultBucket = firebase().storage();
const reference = defaultBucket.ref(remotePath);
const task = reference.putFile(localPath, metadata);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingios

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions