Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Beta Firebase Firestore won't work with projects using app engine

When I try to add the beta firestore to my Google cloud platform project I get the following message.

Cannot enable Firestore for this project
Currently Firestore cannot be enabled in projects already using Cloud Datastore or App Engine

Is this going to last forever?
I think I would like to replace some but not all of my datastore stuff with firestore to get realtime updates.

Perhaps firestore uses datastore and appengine in its backend?

Should I use two GCP projects to get around this problem?

Thanks, Nathan

like image 509
nburn42 Avatar asked Oct 03 '17 19:10

nburn42


People also ask

Does Firebase use App Engine?

The Firebase SDKs for Cloud Storage use the App Engine default bucket, which means that if you build an App Engine app, you can use the built-in App Engine APIs to share data between Firebase and App Engine.

How do I enable firestore project?

To use the Firestore mobile/web client libraries and other Firebase features, add Firebase to your existing Google project. Add Firebase to your existing Google Cloud project: Log in to the Firebase console, then click Add project. Select your existing Google Cloud project from the dropdown menu, then click Continue.


1 Answers

This is currently a technical restriction we hope to remove in the future.

Yes, currently you will need to use 2 separate GCP projects to use both Cloud Datastore and Cloud Firestore simultaneously.

like image 143
Dan McGrath Avatar answered Sep 28 '22 06:09

Dan McGrath