title: react-native-google-places-autocomplete not working
body: <p>react-native-google-places-autocomplete is not working, I am facing multiple issues
  1. the places drop down is not showing up
  2. onPress handler is not triggered at all</p>
  
  <p>Note: all google location apis are enabled , google maps api, places api and geocode api are enabled and a valid api key is given.</p>
  
  <p>I tried all possible solutions available in internet
  1. setting zIndex: 1000 a high value to avoid it being hidden behind some other view
  2. Tried creating new RN App and added only this component to keep the project clean
  3. Referred other <a href="https://stackoverflow.com/questions/44359542/react-native-react-native-google-places-autocomplete-implementation">SO post and tried to fix it</a> </p>
  
  <p>here the code snippet</p>
  
  <pre><code>&lt;GooglePlacesAutocomplete
    placeholder="Search"
    minLength={2} // minimum length of text to search
    autoFocus={false}
    fetchDetails={true}
    onPress={(data, details = null) =&gt; {
      // 'details' is provided when fetchDetails = true
      console.log(data);
      console.log(details);
    }}
    getDefaultValue={() =&gt; {
      return ''; // text input default value
    }}
    query={{
      // available options: https://developers.google.com/places/web-service/autocomplete
      key: 'VALID_API_KEY',
      language: 'en', // language of the results
    }}
    styles={{
      description: {
        fontWeight: 'bold',
      },
      predefinedPlacesDescription: {
        color: '#1faadb',
      },
      listView: {
        color: 'black', //To see where exactly the list is
        zIndex: 1000, //To popover the component outwards
        position: 'absolute',
        top: 45
      },
    }}
    currentLocation={true} // Will add a 'Current location' button at the top of the predefined places list
    currentLocationLabel="Current location"
    nearbyPlacesAPI="GooglePlacesSearch" // Which API to use: GoogleReverseGeocoding or GooglePlacesSearch
    GoogleReverseGeocodingQuery={
      {
        // available options for GoogleReverseGeocoding API : https://developers.google.com/maps/documentation/geocoding/intro
      }
    }
    GooglePlacesDetailsQuery={{
      // available options for GooglePlacesDetails API : https://developers.google.com/places/web-service/details
      fields: 'formatted_address',
    }}
    filterReverseGeocodingByTypes={[
      'locality',
      'administrative_area_level_3',
    ]} // filter the reverse geocoding results by types - ['locality', 'administrative_area_level_3'] if you want to display only cities
    predefinedPlaces={[homePlace, workPlace]}
    predefinedPlacesAlwaysVisible={true}
  /&gt;
  </code></pre>