question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛] undefined is not a function (near '...ImagePicker.showImagePicker...')

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

10reactions
BiplovQsscommented, Jan 14, 2021

@smakosh , @pedro , @ligaz , @nevir , @jkappers as ImagePicker.showImagePicker is not working then how can i get option for either select image from gallery or camera.

5reactions
smakoshcommented, Dec 12, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - undefined is not a function (near '...ImagePicker ...
When attempting to openGallery() i get the following warning and no image library opens: TypeError;undefined is not a function (near '...
Read more >
How to use the react-native-image-picker.showImagePicker ...
To help you get started, we've selected a few react-native-image-picker.showImagePicker examples, based on popular ways it is used in public projects.
Read more >
ImagePicker - Expo Documentation
expo-image-picker provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera....
Read more >
Undefined Is Not A Function Near 'Imagepicker - ADocLib
It tells me it cannot read property showImagePicker of undefined.I have the package imported at the top of my file var ImagePicker require'reactnative....
Read more >
react-native-date-picker null is not an object - You.com | The search ...
showImagePicker ') Is undefined a function in React Native? Is null an object in React Native Image picker? Why my imagepicker object does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found