【问题标题】:Google Places api will deprecate or not?Google Places api 会否弃用?
【发布时间】:2019-05-06 12:29:21
【问题描述】:

Google 地方 SDK 将被弃用 正如 Google 宣布“弃用通知:Android 版 Places SDK 的 Google Play 服务版本”一样,它会影响我在 google play 服务的帮助下在我的项目中使用的这个 API (https://maps.googleapis.com/maps/api/place/autocomplete/json)。用于获取有关自动完成地址的预测。

【问题讨论】:

标签: android google-maps google-places-api


【解决方案1】:

请注意,URI https://maps.googleapis.com/maps/api/place/autocomplete/json 不构成 Places SDK for Android 的一部分。此 URI 属于 Google Places API 网络服务。

Web 服务并未被弃用,并将继续照常工作。如果您的应用程序执行对 Web 服务的直接调用,则无需担心。您应该只将使用 Places SDK for Android 方法的旧代码迁移到新 SDK。

我希望这能澄清您的疑问。

【讨论】:

    【解决方案2】:

    是的,它已被弃用,将于 2019 年 7 月 29 日关闭

    注意:Android 版 Places SDK 的 Google Play 服务版本(在 Google Play 服务 16.0.0 中)自 2019 年 1 月 29 日起弃用,并将于 2019 年 7 月 29 日关闭。新版本的Places SDK for Android 现已推出。我们建议尽快更新到新版本。有关详细信息,请参阅迁移指南。

    请参阅documentation,另请参阅文档中实现它的新方法。

    【讨论】:

      猜你喜欢
      • 2019-09-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-02
      • 2014-03-18
      • 1970-01-01
      • 2012-02-22
      • 1970-01-01
      相关资源
      最近更新 更多