【发布时间】:2018-10-15 16:45:33
【问题描述】:
我开发了一个具有 Google Api https://maps.googleapis.com/maps/api/geocode/json?latlng=%f,%f&key=API_KEY 的 iPhone 应用程序
如果我使用了公共 apikey,那么它可以正常工作,但是当我从 google concole 生成受限制的 api 密钥时,api 无法正常工作并给出错误
{
"error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 27.109.**.**, with empty referer",
"results" : [],
"status" : "REQUEST_DENIED"
}
我在生成受限 Api 密钥时添加了有效的捆绑包 ID。 请给我解决方案提前谢谢。
【问题讨论】:
标签: google-maps google-maps-api-3 api-key google-geocoding-api geocode