shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Cannot read property 'openPicker' of undefined #87

Closed Aishwaryashetty closed 3 years ago

Aishwaryashetty commented 3 years ago

"react-native": "0.57.8", "react-native-customized-image-picker": "^0.2.0",

I did react native link also,

not sure why it isn't recognised

liukefu2050 commented 3 years ago

You need to link manually add react-native.config.js in root path

module.exports = { dependencies: { 'react-native-customized-image-picker': { platforms: { android: null, // disable Android platform, other platforms will still autolink if provided }, } }, };

liukefu2050 commented 3 years ago

Version 6.0 or above is recommended for v0.2.0