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.

RCTFileRequestHandler and RCTImageStoreManager both reported that they can handle the request #237

Open
@smkhalsa

Description

@smkhalsa

I'm having an issue with the following code on RN 0.40 and react-native-fetch-blob 0.10.2-beta.6

    RNFetchBlob
      .config({
        path: `${RNFetchBlob.fs.dirs.DocumentDir}/${this.props.source.uri}`,
      })
      .fetch('GET', this.props.source.uri)
      .then((res) => {
        this.setState({ cachedImagePath: Platform.OS === 'android' ? `file://${res.path()}` : res.path() })
      })
      .catch(e => console.log(e))

here's the error:

ExceptionsManager.js:71 The RCTURLRequestHandlers <RCTFileRequestHandler: 0x6000000123b0> and <RCTImageStoreManager: 0x6000020207e0> both reported that they can handle the request <NSMutableURLRequest: 0x60800021cb80> { URL: /Users/smkhalsa/Library/Developer/CoreSimulator/Devices/FC49A7DC-71A3-4AC1-9B69-EBA82A2B5A23/data/Containers/Data/Applic ... rity.jpg }, and have equal priority (0). This could result in non-deterministic behavior.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions