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

Undefined error #4

Closed
kobePer opened this issue May 18, 2016 · 2 comments
Closed

Undefined error #4

kobePer opened this issue May 18, 2016 · 2 comments

Comments

@kobePer
Copy link

kobePer commented May 18, 2016

Hi,

I want to use your package for fetching network images.
The images are protected by Basic Auth.

I would like to use them in an component, but keep getting following error on RNFetchBlob.fetch():

TypeError: Cannot read property 'fetchBlob' of undefined

I'm on RN ^0.22.2
i've installed rnpm and ran the rnpm link command

Any clue on what i'm missing here?

@kobePer
Copy link
Author

kobePer commented May 18, 2016

For those interested, following actions solved my issue:

  • Cleaning my Xcode-project
  • restarting RN package manager
  • resetting the iOS simulator

@kobePer kobePer closed this as completed May 18, 2016
@wkh237
Copy link
Owner

wkh237 commented May 18, 2016

Hi @kobePer I think it might because this module uses native libraries, therefore it's necessary to recompile the whole project after rnpm link, and also restart RN packager.

Though the problem seems to have been solved, if there's any problem please feel free to create issues :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants