[🐛] Getting TypeError : null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')
See original GitHub issueDescription
I tried to use this library and using the latest version (3.3.3), but when launching the library always failed and get this message in log : “null is not an object (evaluating ‘_reactNative.NativeModules.ImagePickerManager.launchImageLibrary’)”
I already import the lib as shown in the docs and #1531 but still getting that error
import {launchImageLibrary} from 'react-native-image-picker';
and call the function like this :
launchImageLibrary({mediaType:'photo',cameraType:'front'},(res)=>{ console.log('my result is',res) })
How to repeat issue and example
- step to reproduce the issue
- …
Solution
What needs to be done to address this issue?
Additional Information
- Image Picker version: 3.3.3
- React Native version: 0.63.3
- Platform: Android
- Development Operating System: Windows
- Dev tools: [FILL THIS OUT: Xcode or Android Studio version, iOS or Android SDK version, if applicable] navigation crash for Android
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
With Expo, get this error: [TypeError: null is not an object ...
With Expo, get this error: [TypeError: null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')][ 🐛 ] #1786.
Read more >React Native Image Picker: null is not an object (evaluating ...
1. I am using the React-native-image-picker v3.1.1. TypeError: null is not an object (evaluating '_reactNative.NativeModules. · same here. did ...
Read more >null is not an object (evaluating '_reactNative.NativeModules ...
TypeError : null is not an object (evaluating '_reactNative.NativeModules.ImagePickerManager.launchImageLibrary')][🐛]
Read more >null is not an object react native date picker - You.com
I receive the following error when trying to open the modal… TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNDatePickerManager.
Read more >How To Fix TypeError null is not an object (evaluating ...
React Native Tutorial - This Video ShowsHow To Fix TypeError null is not an object ( evaluating 'dispatcher.useState) TypeError react native ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am still having the same problem after installing the later version and restarting the node server. Can this be reopened?
Restarting the node server is only half the solution. You need to rebuild your application, as you would after installing any native module.