react-native-google-place-picker
react-native-google-place-picker copied to clipboard
google place picker api shows just a second
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?
+1, yikes
+1, the callback says didCancel == true
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
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.
Change the API key in AppDelegate.m
and manifest file.
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 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?
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.
@SrengGueckly i have this issue too.. Is this has been fixed
Okey i solved this,
onActivityResult
callback returns aresultCode
of value2
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
Okey i solved this,
onActivityResult
callback returns aresultCode
of value2
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!