Skip to content

Storage metadata returns full path for name #761

@gvillenave

Description

@gvillenave

When uploading a file to storage, the resolved file object contains metadata such as the name and bucket of the file. However, what I found was that on iOS the name property contains the full path to the file in the bucket, as opposed to just the file name.
Example: for a file uploaded in a bucket to foo/bar.jpg, the metadata will give:

name: bar.jpg
fullPath: foo/bar.jpg

on Android and Web SDK, but

name: foo/bar.jpg
fullPath: foo/bar.jpg

on iOS.

From invertase/react-native-firebase#785

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions