在同一应用程序中将 google 数据存储更改为 Firestore

change google datastore to Firestore in the same application

我在我的应用程序中使用了 google Datastore,我想迁移到 Google Firestore。我不断收到此错误消息

This project uses another database service ... Your current project is set up to use Cloud Datastore or Cloud Firestore in Datastore mode. You can access data for this project from the Cloud Datastore console.

我曾尝试禁用 Cloud Datastore API,但没有成功。 有没有办法更改为 firestore?

我无法更改为另一个项目,因为我的客户已经使用旧的 firebase 项目安装了该应用程序!

目前,您无法在同一项目中从 Datastore 切换到 Firestore。

话虽如此,在 Cloud Firestore 正式发布一段时间后,Google 将开始联系现有 Cloud Datastore 数据库的所有者,安排自动升级到 Datastore 模式下的 Cloud Firestore。如果您有使用 Cloud Datastore 的应用程序,则无需更新应用程序代码,升级也不需要停机。

您可以找到更多相关信息here