Skip to content

Couldn't able to upload image from asset library file path  #5

Description

@sw-tt-keyurprajapati

From library or picker, i get image asset url like: "assets-library://asset/asset.JPG?id=AC072879-DA36-4A56-8A04-4D467C878877&ext=JPG". I am able to view image in tag source, but when i try to upload on server using code like :
var fd = new FormData();
fd.append('photo', {
uri: imageUri,
type: 'image/jpeg',
name: 'photo.jpg'
});
image unable to upload on server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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