【发布时间】:2019-05-08 07:07:56
【问题描述】:
随着新版 Places SDK for Android 的推出,它提供了两个集成选项。
- 使用Places SDK static client library(需要 API 密钥)
- Compatibility Library(不需要 API 密钥)
在使用兼容性库时,在 Google Cloud Console 中为项目启用 Places API 并启用计费是否重要?如果不启用它,它似乎也能正常工作。
文档指出:
兼容性库仅支持较新的基于任务的 API,不适用于较早的 PendingResult 模型。
但它仍然适用于 PendingResult 模型。改成基于Task重要吗?
【问题讨论】:
标签: android google-cloud-platform google-places-api