Google Play 游戏,“已保存的游戏”已弃用?

Jas*_*per 5 android firebase google-play-services google-play-games google-play-developer-api

Google Play 游戏服务、“保存的游戏”功能是否已弃用?

在他们的网站上,保存的游戏没有被列为已弃用。
https://developers.google.com/games/services/android/savedgames

但是,在代码中指定 Drive 范围时,Android Studio 会给出代码提示,指出该功能已弃用,并且在 Google Drive API 网站上,它声明此功能已弃用。
https://developers.google.com/drive/android

网站建议迁移到 Drive REST API?
并且该网站建议迁移到 Firebase Cloud Firestore。

强烈建议需要应用数据存储的客户迁移到非云端硬盘解决方案,例如 Cloud Firestore。

任何澄清将不胜感激。

sag*_*gis 5

Drive API 已被弃用。我猜保存的游戏内部实现现在使用 Drive REST API。

替换Drive.SCOPE_APPFOLDERnew Scope(Scopes.DRIVE_APPFOLDER)以清除 Lint 警告。如果你检查内部结构,你会发现它们是相同的。