Skip to content

Blob.slice Parameter contentType does not exists in iOS and Android. #38058

@trashcoder

Description

@trashcoder

Description

In react natives implementation of blob.slice the contentType parameter is missing:

https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice

React Native Version

0.71.6

Output of npx react-native info

error: unknown command 'info'
(Did you mean init?)

Steps to reproduce

Open a new react native project and add a line with a blob.slice command. There is no contentType parameter. And so you will not see a value for .type on Android and iOS on a sliced blob. On React Native Web slicing works as expected.

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/kS7da4tSk

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions