Google Places AutoComplete on iOS - Can't Load

2019-02-14 08:12发布

问题:

I am posting this here because I don't know where else to post this. Today, our application is no longer returning results for Google Places API. We are seeing the request go through on the Google Developers Console, but all phones are returning no results.

This number is climbing for today and each one of these users are stuck in the login / onboarding flow of my app.

Update (Closer Image for the last hour):

Here is an example flow of what I am seeing on all iPhones we are testing and receiving the same from our users.

They search for their location. They might or might not see some autocomplete options:

After selecting one or waiting they will see this

This is what happens

Any and all help is appreciated. Any hints on who to contact or what I should do is important.

Does google have a services page or are other apps experiencing this issue? If so, which apps?

Related SO Questions posted recently:

  • Android: Google Places API can't found results
  • iOS: Google Autocomplete won't load suggestions and instead shows "Can't load search results" error

回答1:

Easily to fix it.

  1. Go to your https://console.developers.google.com/apis/
  2. Choose "Library" - "Google Places API for iOS"
  3. ENABLE (Blue Button)

API Key as same as Google Maps APIKey



回答2:

Step 1

Go to your https://console.developers.google.com/apis/

Step 2

Select you project and go to library setting. Sear Google Places and click on Google Places box. Click on Enable button.



回答3:

You might have hit your 1k/day API request limit. To increase it to 150k/day, you just need to verify your credit card. https://developers.google.com/places/ios-api/usage?hl=en_US