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.

How to use cache? #277

Open
Open
@nielsswinkels

Description

@nielsswinkels
  • please provide the version of installed library and RN project.
    0.10.2

I have set fileCache : true, in RNFetchBlob.config. But if I try to fetch when I have no internet connection, it only goes to catch() because of the Unable to resolve host "example.com": No address associated with hostname. So how would I retrieve the path of the cached file in this case? or am I misunderstanding it, and should I save that path somewhere myself, and use it in case I get the error?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions