zhangtaii / react-native-google-place-picker

React Native Wrapper of Google Place Picker for iOS + Android.
MIT License
185 stars 54 forks source link

Cannot read property show of undefined #24

Closed GregTheGreek closed 6 years ago

GregTheGreek commented 7 years ago

followed instructions using npm link.

Used example from the provided 'full example' and this error occurred.

benhylak commented 6 years ago

Have this problem as well!

frapsMatheus commented 6 years ago

I'm having the same issue

jakewtaylor commented 6 years ago

+1, any solutions?

bnap00 commented 6 years ago

still the same problem

chrisnovak commented 6 years ago

Did you provide a Google Maps API Key? For iOS in AppDelegate.m:

#import <GoogleMaps/GoogleMaps.h>
#import <GooglePlaces/GooglePlaces.h>

NSString *kAPIKey = @"YOUR_API_KEY";
[GMSPlacesClient provideAPIKey:kAPIKey];
[GMSServices provideAPIKey:kAPIKey];
chrisnovak commented 6 years ago

Or, did you perhaps import like { import RNGooglePlacePicker } from 'react-native-google-place-picker' instead of import RNGooglePlacePicker from 'react-native-google-place-picker'?

andaGS commented 6 years ago

i'm having same issue,please help