zhangtaii / react-native-google-place-picker

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

undefined is not a function (evaluating 'RNGooglePlacePicker.show') #40

Open eduhds opened 5 years ago

eduhds commented 5 years ago

This error occurs when I run the sample code:

RNGooglePlacePicker.show(response => { if (response.didCancel) {

            console.log('User cancelled GooglePlacePicker');
        } else if (response.error) {

            console.log('GooglePlacePicker Error: ', response.error);
        } else {
            this.setState({
                 location: response
            });
        }
    })

"react-native-google-place-picker": "^1.2.1" "react-native": "0.57.7" Node v10.14.1

gagan95 commented 5 years ago

Hi we are also facing same issue

akiladevinda commented 5 years ago

@Henriqueedu Like to know is this issue fixed ???

eduhds commented 5 years ago

@akiladevinda I did not find any solution.