Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Cloud Firestore #41

Closed
EinfachHans opened this issue Mar 24, 2022 · 11 comments · Fixed by #434
Closed

feat: Cloud Firestore #41

EinfachHans opened this issue Mar 24, 2022 · 11 comments · Fixed by #434
Labels
feature Feature package: firestore priority: sponsor This issue was prioritized by a sponsor.
Milestone

Comments

@EinfachHans
Copy link

Is your feature request related to a problem? Please describe:

Support Firebase Firestore

Describe the solution you'd like:

Currently using this Cordova Plugin: https://github.com/dpa99c/cordova-plugin-firebasex

Additional context:

@blitzbohne
Copy link

@robingenz Do you already have a timeline in your mind for this? Just curious whether its worth it to use the Firebase JS SDK for now and wether we could easily switch then later.

Great work you're doing!

@robingenz
Copy link
Member

@alpfactory-alex Not yet. Migrating from the Firebase JS SDK to the plugin should be easy, as I'm trying to adopt the interfaces.

@AllTerrainDeveloper
Copy link

AllTerrainDeveloper commented Jan 1, 2023

This could be a great plugin :) 💯(actually all of them, Database, Storage and FireStore at least)

Thank you for the awesome work, the Auth plugin works flawlesly.

@robingenz robingenz added the priority: sponsor This issue was prioritized by a sponsor. label Sep 19, 2023
@robingenz robingenz added this to the v5.3.0 milestone Sep 19, 2023
@robingenz robingenz modified the milestones: v5.3.0, v5.2.0 Sep 26, 2023
@robingenz
Copy link
Member

Would anyone be interested in testing a first development version of this plugin and giving some feedback afterwards?

@bojanbizjak
Copy link

Yes, but what we need most is background upload (files that are stored in the file system) to Storage and of course the standard Storage functionality.

@robingenz
Copy link
Member

Yes, but what we need most is background upload (files that are stored in the file system) to Storage and of course the standard Storage functionality.

That's what's planned next. Feel free to subscribe to #63.

@robingenz
Copy link
Member

robingenz commented Sep 27, 2023

Here is the first dev version:

npm i @capacitor-firebase/[email protected]

Docs: https://capawesome.io/plugins/firebase/cloud-firestore/

I appreciate any feedback. There are a few limitations currently, see:

@robingenz
Copy link
Member

I just did the first tests and there seems to be big differences in performance. The Firebase Swift SDK is on average 4x faster when retrieving documents (tested on iOS 17.0.1). In my case I retrieve 20 documents. This takes an average of 95ms with the Firebase Swift SDK and an average of 455ms with the Firebase JS SDK.

@maccman
Copy link

maccman commented Sep 28, 2023

We'd be very interested in testing this at https://reflect.app

@ocavue
Copy link

ocavue commented Sep 28, 2023

Super excited! I did a quick look at it and it seems that FieldValue is not yet implemented and hasn't been ticketed, so I created an issue for it.

@robingenz
Copy link
Member

@maccman That would be great! Let me know if you need anything or if you are missing features.

@ocavue Thanks, i will take a look. 👍

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature package: firestore priority: sponsor This issue was prioritized by a sponsor.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants