Google recomments to upgrade the iOS Google Places Pod from 2.7.0
to 3.1.0
.
Version 2.7.0 of the Places SDK for iOS is deprecated as of January 29, 2019, and will be turned off on July 29, 2019
I upgraded my pod and now I run into the following issue.
The operation couldn’t be completed. Operation failed due to exceeding the quota usage limit. See the usage limits guide (https://developers.google.com/places/ios-sdk/usage) for information on usage limits and how to request a higher limit.
When I downgrade the version again to 2.7.0
everything works fine with the same API Key.
My limits are 1000 requests per day and I didn't reach them yet.
It is in german but you can see I had 142 requests in the last 7 days.
A confusing thing is that when I use
placesClient?.currentPlace(callback: { (placeLikelihoodList, error) -> Void in ...
I got my current place. When I want to use find autocomplete I'm restricted.
placesClient?.findAutocompletePredictions(fromQuery: searchText, bounds: nil, boundsMode: .bias, filter: nil, sessionToken: token, callback: { (gmsAutocompletePrediction, error) in
if let error = error {
print(error.localizedDescription) // limit reached error
}
})
Do I overlook something? What else can I do? I can not imagine that the error lies with the pod.
Similar questions which not helped: