Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

uploading binary data causes expected dynamic type 'string', but had type 'object' error in Android #581

@haikyuu

Description

@haikyuu

Thanks for your great work on this library.
I am using 0.10.8 and react-native 0.48.2.
I have an issue uploading binary data in Android.

RNFetchBlob.fetch("PUT",
    signedRequest, {
       "Content-Type": "application/octet-stream",
       body: {uri}
    },
  )

But i get this error

TypeError:expected dynamic type 'string', but had type 'object' (constructing arguments for RNFetchBlob.fetchBlob at argument index 3)

Any clues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions