【发布时间】:2017-07-11 08:12:24
【问题描述】:
我在使用React Native Google Places autocomplete 时收到以下错误。
此 IP、站点或移动应用程序无权使用此 API 关键...
我正在使用Google Places API Web Service 密钥,它限制了 Android-App。
这个受限于包名com.xxx.xxx.debug 和com.xxx.xxx.test。另一个 API 密钥仅限于 com.xxx.xxx。
我已经添加了正确的SHA-1 键。
任何人都知道我做错了什么或为什么它不起作用? 我检查了 Google 的文档并尝试了许多不同的方法,但我仍然无法在限制条件下使用它。
【问题讨论】:
标签: react-native google-places-api android-restrictions