在2019年1月29日之后创建的具有API KEY的Android Place Picker

时间:2019-04-04 10:27:32

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

我有一个使用(或使用...)Place Picker的应用程序。如您所知,自2019年1月29日起已弃用。一段时间前,我在Google Cloud平台上删除了旧的“ Android版Places SDK” API。今天,我想创建一个新的,但是现在我发现那里不再可用,只有“ Places API”可用。

migration tutorial上,您可以看到以下信息:

  

重要信息:自2019年1月29日起不推荐使用“位置选择器”。此功能将于2019年7月29日关闭,在该日期之后将不再可用。要在弃用期内继续使用Place Picker,请不要在Google Cloud Platform项目中禁用Android的Places SDK服务,因为这样做也会禁用Place Picker。

这是否意味着如果我禁用了在2019年1月29日之前创建的Android版Places SDK,我将无法再通过兼容库在弃用期内使用Place Picker?即使我将启用“ Places API”而不是“ Android版Places SDK”?

如果是,您是否可以推荐类似于场所选择器的任何服务/库?

1 个答案:

答案 0 :(得分:0)

关于您的问题,是的,一旦您禁用Android的Places SDK,您将无法使用Place Picker ,并且由于Places,您将被迫迁移到新的SDK停用后,Android SDK将会从您的媒体库中删除。当前,Google Maps没有提供与Place Picker相同功能的库,但是,您可以填写issue tracker中的表单,让Google了解是什么促使您对拥有Place Picker小部件感兴趣。 / p>