Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

google place picker api shows just a second #21

Open
SrengGueckly opened this issue Jun 2, 2017 · 11 comments
Open

google place picker api shows just a second #21

SrengGueckly opened this issue Jun 2, 2017 · 11 comments

Comments

@SrengGueckly
Copy link

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?

@lnpalmer
Copy link

lnpalmer commented Jun 9, 2017

+1, yikes

@iBicha
Copy link
Contributor

iBicha commented Jun 14, 2017

+1, the callback says didCancel == true

@iBicha
Copy link
Contributor

iBicha commented Jun 14, 2017

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

zhangtaii added a commit that referenced this issue Aug 19, 2017
Return a proper error for #21
@jakewtaylor
Copy link

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.

@princenaman
Copy link

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

@yudikarma
Copy link

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


and dont forget to put Google API key

@SunryTeang
Copy link

@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?

@ahmetfarukekinci
Copy link

ahmetfarukekinci commented Apr 4, 2019

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.

@akiladevinda
Copy link

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

@akiladevinda
Copy link

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

@Hamza-Khurshid
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants