Skip to content

[HELP WANTED] Setting header for image source #9299

Description

@ospfranco

Hey, I'm trying to fetch an image from one of our services, however there is a small problem, we set our verification token on our headers, therefore this:

<Image source={{uri: 'https://myservice/api/image.jpg'}}/>

doesn't work

For our normal requests we are using fetch which works just fine, however if I try to pull an image with it I get, I get the returned object, but have no idea how to bind it the Image component, if I pass it directly as source={imageData} I get an error, image is displayed, but get an error from the Image component.

screen shot 2016-08-08 at 17 06 42

screen shot 2016-08-08 at 17 06 28

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions