title: TypeError: undefined is not an object (evaluating '_reactNativeImagePicker.default.showImagePicker')
body: <p>Using React Image Picker i am facing this error:
  TypeError: undefined is not an object (evaluating '_reactNativeImagePicker.default.showImagePicker')</p>
  <p>This is what happens when i click on image picker function</p>
  <p>Mobile Screenshot:</p>
  <p><img src="https://i.stack.imgur.com/PsceC.jpg" alt="Error Image" /></p>
  <p>This is my Code:</p>
  <pre><code>import React from 'react';
  import { View, Text,Button } from 'react-native';
  import ImagePicker from 'react-native-image-picker';
  
  const options = {
      title: 'Select Avatar',
      customButtons: [{ name: 'fb', title: 'Choose Photo from Facebook' }],
      storageOptions: {
        skipBackup: true,
        path: 'images',
      },
    };
  
  function Picker(){
      const openPicker =()=&gt;{
        ImagePicker.showImagePicker(options, (response) =&gt; {
          console.log('Response = ', response);
        
          if (response.didCancel) {
            console.log('User cancelled image picker');
          } else if (response.error) {
            console.log('ImagePicker Error: ', response.error);
          } else if (response.customButton) {
            console.log('User tapped custom button: ', response.customButton);
          } else {
            const source = { uri: response.uri };
        
            // You can also display the image using data:
            // const source = { uri: 'data:image/jpeg;base64,' + response.data };
        
            console.log(source)
          }
        });
      }
      return(
          &lt;View&gt;
              &lt;Button onPress={openPicker} title=&quot;Open image picker&quot;&gt;&lt;/Button&gt;
          &lt;/View&gt;
      )
  }
  
  export default Picker; 
  </code></pre>