title: How to fix read property 'showimagepicker' of undefined React-Native with Expo
body: <p>I have a project where I need to upload or capture an Image to the server, so I installed the package ImagePicker into the project but when I try to use the property showimagepicker i get error "cannot read property 'showimagepicker' of undefined"</p>
  
  <p>i try the changed The versions but doesn´t work. I currently have are:</p>
  
  <p>-Android Studio Virtual Device i create a phone with Android 8.0</p>
  
  <p>-"expo": "^ 32.0.0",</p>
  
  <p>-"react": "16.5.0",</p>
  
  <p>-"react-native": "<a href="https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz" rel="nofollow noreferrer">https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz</a>",</p>
  
  <p>-"react-native-image-picker": "^ 0.26.7" BTW "^ 0.24.0".</p>
  
  <p>I try modify android-settings.gradle:</p>
  
  <p>include ':react-native-image-picker'
  project(':react-native-image-picker').projectDir = new File(rootProje 
  ct.projectDir, '../node_modules/react-native-image-picker/android')</p>
  
  <p>and in AndoidManifest.xml i put:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.CAMERA"/&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  </code></pre>
  
  <p>ImagePicker.showImagePicker(options, (response)  => {</p>
  
  <pre><code>   if (response.didCancel) {
        console.log('User cancelled photo picker');
  
     }
      else if (response.error) {
        console.log('ImagePicker Error: ', response.error);
      }
      else {
            console.log('imagen', response)
           let source = { uri: response.uri, uriOri:response.origURL, data: 
           response.data };
  
           let item = {
              data:response.data,
              test:'test123',
              source: source
            }
  
           var {cantImg} = this.state
           if(this.state.avatarSource1 == null){
              this.setState({avatarSource1: source})
              cantImg++
              console.log(cantImg)
            }else if(this.state.avatarSource2 == null)
            {
              this.setState({ avatarSource2: source })
              cantImg++
              console.log(cantImg)
             }else if(this.state.avatarSource3 == null)
            {
              this.setState({ avatarSource3: source })
              cantImg++
              console.log(cantImg)
            }
        this.setState({ cantImg: cantImg })
        this.refs.x.focus()
        const dismissKeyboard = require('dismissKeyboard');
        dismissKeyboard();
        Keyboard.dismiss()
  
     }
  
   });
  </code></pre>
  
  <p>I currently receive the error "Cannot read property 'showimagepicker' of undefined"</p>
  
  <p>Here is a Screenshoot: <a href="https://prnt.sc/ml7qi1" rel="nofollow noreferrer">https://prnt.sc/ml7qi1</a></p>