我们在多个平台(Android、iOS、Web)上使用GCP密钥,用于谷歌地图、位置搜索(api/place/autocomplete)、静态谷歌地图等。现在,我想为Android创建一个新的/单独的密钥,这样我就可以添加适当的限制,比如包名SHA1和已使用的API。我创建了一个新的键,在地图运行良好之后,将它更改为App,但是位置搜索API一直抛出一个异常-- This IP, site or mobile application is not authorizedto use this API</e
key=$api_key&placeid=$place_id" to get google business reviews.I have correctly provided api key,place id also enabled Google Maps Geocoding and Geolocating .`
[error_message] => This API project is not authorized to use this A
我正在对Places进行Google调用,目的是提取业务数据并在我的角度应用程序中直观地使用它。到目前为止,我正在成功地从Google中提取数据。但是,我很难将从API调用中检索到的'place‘数据分配给getGoogleData()函数之外的一个变量。function getGoogleData(){
var service = new g
我已经在我的android应用程序中集成了GooglePlacesAPI。我已经阅读了api文档。我已经激活了GooglePlacesApi for android并生成了浏览器密钥,当我调用api get error in response时-
{"error_message" : "ThisAPI project is not authorized to use this <