-
-
Notifications
You must be signed in to change notification settings - Fork 104
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): support all FieldValue
#443
Comments
Thank you, this is indeed missing. I will have to check how we can implement this feature, since with Capacitor you can only pass plain JSON over the bridge. |
FieldValue
Here a working example for Android + |
Is there any update on this issue? I saw a now closed PR with a solution that looks promising #475 and wonder if something like this will be implemented at some point since it is an important missing feature. In the meantime, is there some kind of js-side workaround that we could be using? (I mean while still using the native sdk) . Sorry if this is an obvious question, but I couldn't find a way yet. Thanks! |
@Cosmicist No, there are currently no updates. I will use the approach from #475 to fix this issue. Unfortunately, I can't give an ETA yet because this issue is quite complex.
No, unfortunately not. There are workarounds for some field values. For example, you could replace |
Hey @robingenz! Thanks for the input, I really appreciate it. I like the cloud function idea, I'll probably try it for writes. For querying though I'll probably need to resort to the web sdk for the time being. |
Plugin(s)
Current problem
The current
@capacitor-firebase/[email protected]
doesn't supportFieldValue.serverTimestamp
,FieldValue.arrayUnion
etc yet.Preferred solution
Add support for all FieldValue
Alternative options
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: