Home > Back-end >  Is it possible to access the same Firestore collection from both mobile and desktop applications?
Is it possible to access the same Firestore collection from both mobile and desktop applications?

Time:02-24

I have to deal with a project for which the business needs require a mobile application--built in Flutter; and a desktop application--C# Windows Form App. Both modules are meant to be accessing same collections in the Firebase Firestore, any hints on how it can be achieved? Is there any better alternative for Firestore regarding this use case?

CodePudding user response:

Yes, it can be achieved, but be careful of editing the same document from different devices at the same time, or you will lose data.

Collections are fine.

CodePudding user response:

I would suggest using a library like FireSharp or something else.

click on Add app button

The other option you have is to switch to another database solution like mySQL.

  • Related