-
-
Notifications
You must be signed in to change notification settings - Fork 112
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(firestore): add timestamp & fieldvalue management #677
base: main
Are you sure you want to change the base?
feat(firestore): add timestamp & fieldvalue management #677
Conversation
Hi @robingenz, For now, this PR is a prototype of the Timestamp & FieldValue management on Web and Android. Do you have some time to make early feedbacks on this before I continue the development? Especially on these points:
Thank you |
@mamillastre Thanks for the update. I'm currently on vacation and won't be back for another 2 weeks. I'll have a look at it as soon as i'm back. |
0335a02
to
cab4468
Compare
Hi @robingenz, |
Hi @mamillastre, I'll try to take a look at your PR over the next few weeks. The problem is that this is a complex feature that will probably keep me busy for several days. |
cab4468
to
21be503
Compare
I added all the timestamp & field values methods management for the web and android platforms. |
@capacitor-firebase/analytics
@capacitor-firebase/app
@capacitor-firebase/app-check
@capacitor-firebase/authentication
@capacitor-firebase/crashlytics
@capacitor-firebase/firestore
@capacitor-firebase/functions
@capacitor-firebase/messaging
@capacitor-firebase/performance
@capacitor-firebase/remote-config
@capacitor-firebase/storage
commit: |
Note on iOS: the solution to use the "toJSON()" method to serialize the timestamps and field values do not work on iOS (unlike Android). Another solution must be found. For example:
These solutions can have a negative impact on the plugin methods performances depending on the document size. |
fc98ced
to
5e4ca01
Compare
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset
).Close #474, #443
Linked PR: #557
Usage example: