title: React Native Image Picker: null is not an object (evaluating 'ImagePickerManager.showImagePicker')
body: <p>I installed react-native-image-picker according to the documentation.
  When I am trying to select the image from the phone (after hitting the button), the emulator is giving me this error-
  <code>null is not an object (evaluating 'ImagePickerManager.showImagePicker')</code></p>
  
  <p>My React native's version is 0.59.8</p>
  
  <p>and image picker's version is 0.28.0</p>
  
  <p>this the code- </p>
  
  <pre><code>import React, { Component } from 'react';
  import {
    StyleSheet,
    Text,
    View,
    Image,
    Button
  } from 'react-native';
  import ImagePicker from "react-native-image-picker";
  
  export default class App extends Component {
  
    state = {
      pickedImage: null
    }
  
    reset = () =&gt; {
      this.setState({
        pickedImage: null
      });
    }
  
  
  
  
  pickImageHandler = () =&gt; {
      ImagePicker.showImagePicker({title: "Pick an Image", maxWidth: 800, maxHeight: 600}, res =&gt; {
        if (res.didCancel) {
          console.log("User cancelled!");
        } else if (res.error) {
          console.log("Error", res.error);
        } else {
          this.setState({
            pickedImage: { uri: res.uri }
          });
  
        }
      });
    }
  
  
  
         resetHandler = () =&gt;{
              this.reset();
            }
  
    render() {
      return (
        &lt;View style={styles.container}&gt;
        &lt;Text style={styles.textStyle}&gt;Pick Image From Camera and Gallery &lt;/Text&gt;
          &lt;View style={styles.placeholder}&gt;
            &lt;Image source={this.state.pickedImage} style={styles.previewImage} /&gt;
          &lt;/View&gt;
          &lt;View style={styles.button}&gt;
  
            &lt;Button title="Pick Image" onPress={this.pickImageHandler} /&gt;
  
            &lt;Button title="Reset" onPress={this.resetHandler} /&gt;
  
           &lt;/View&gt;
        &lt;/View&gt;
      );
    }
  }
  
  </code></pre>