react-native-image-picker is undefined

I have installed the package react-native-image picker:

npm i react-native-image-picker --save

And I have also linked it to my project:

react-native link react-native-image-picker

And when I try to import the module and use it:

import ImagePicker from 'react-native-image-picker';

 ImagePicker.launchImageLibrary(options, (response) => {
     // code here

I receive this following error:

typeError: Cannot read property 'launchImageLibrary' of undefined

What went wrong here?

139 thoughts on “react-native-image-picker is undefined”

  1. Pingback: viagra sample
  2. Pingback: viagra coupon
  3. Pingback: cialis 5 mg
  4. Pingback: cialis canada
  5. Pingback: buy generic viagra
  6. Pingback: viagra alternative
  7. Pingback: buy viagra online
  8. Pingback: buy viagra
  9. Pingback: cialis lilly
  10. Pingback: cialis femme
  11. Pingback: viagra generic
  12. Pingback: online viagra
  13. Pingback: viagra cost
  14. Pingback: viagra kopen
  15. Pingback: generic for viagra
  16. Pingback: hims sildenafil
  17. Pingback: cvs viagra
  18. Pingback: cialis for bph

Leave a Comment