react-native-google-place-picker icon indicating copy to clipboard operation
react-native-google-place-picker copied to clipboard

google place picker api shows just a second

Open SrengGueckly opened this issue 7 years ago • 11 comments

I follow all the instruction ,but something went wrong is the pop up modal which shows the google place picker and search box close automatically , it seems like something trigger it to close, Can u give some idea?

SrengGueckly avatar Jun 02 '17 07:06 SrengGueckly

+1, yikes

lnpalmer avatar Jun 09 '17 23:06 lnpalmer

+1, the callback says didCancel == true

iBicha avatar Jun 14 '17 15:06 iBicha

Okey i solved this, onActivityResult callback returns a resultCode of value 2 This is solved by Enabling "Places API for Android" and not just "Places API" in the Developer Console. Edit: this also happens if you have a wrong API key

iBicha avatar Jun 14 '17 15:06 iBicha

My issue was that I restricted my API Key using package name and SHA-1 Signature (as suggested on Google Developer Console), but I must have gotten something wrong as removing the restriction seemed to work.

jakewtaylor avatar Sep 18 '17 13:09 jakewtaylor

Change the API key in AppDelegate.m and manifest file.

princenaman avatar Dec 05 '17 09:12 princenaman

in my case GO to Google COnsole then Enabled API for Android Google Places, then Go to Manifest.xml and put this code under <APlication element>

and dont forget to put Google API key

yudikarma avatar Nov 14 '18 06:11 yudikarma

@yudikarma we ready enable google place api and set update it in Manifest when start intent google place it show up google search place on 1-2 second it will be auto dismiss? before not like that so what the google developer update face error like this?

SunryTeang avatar Apr 01 '19 06:04 SunryTeang

I have this issue and google console does not give any seperate key for ios and android anymore. So, if someone who could find any solution for this please let us know. Thanks.

Edit: Problem for time being is beta version. If you get this error follow beta version read me.

ahmetfarukekinci avatar Apr 04 '19 13:04 ahmetfarukekinci

@SrengGueckly i have this issue too.. Is this has been fixed

akiladevinda avatar May 22 '19 10:05 akiladevinda

Okey i solved this, onActivityResult callback returns a resultCode of value 2 This is solved by Enabling "Places API for Android" and not just "Places API" in the Developer Console. Edit: this also happens if you have a wrong API key

I still have this issue

akiladevinda avatar May 23 '19 05:05 akiladevinda

Okey i solved this, onActivityResult callback returns a resultCode of value 2 This is solved by Enabling "Places API for Android" and not just "Places API" in the Developer Console. Edit: this also happens if you have a wrong API key

I'm unable to find "Places API for Android" there is only "Places API. Anybody help!

Hamza-Khurshid avatar May 24 '19 19:05 Hamza-Khurshid