React-native-image-picker: [馃悰] undefined is not a function (near '...ImagePicker.showImagePicker...')

Created on 12 Dec 2020  路  2Comments  路  Source: react-native-image-picker/react-native-image-picker

Description

How to repeat issue and example

  • npx react-native init
  • Install and use this library

Additional Information

  • Image Picker version: 3.0.1
  • React Native version: 0.63.4
  • Platform: iOS
  • Development Operating System: MacOS, BigSur
Bug

Most helpful comment

import {launchImageLibrary} from 'react-native-image-picker' fixed it

All 2 comments

Screenshot_20201211-181455.png

Same on Android

pixel 2

import {launchImageLibrary} from 'react-native-image-picker' fixed it

Was this page helpful?
0 / 5 - 0 ratings