skip to Main Content

Flutter – How to change values inside a firestore document when a related document changes its values

I have a collection named "products". In JSON format, it looks like below. { "title":"Rice Combo", "currencySymbol":"Rs", "price":2900.0, "pid":"1d507a2d-09ae-4c75-a102-e9607eedcf9b", "dOption":"Non Veg", "category":"Mains", "categoryID":"103e8154-813f-4631-9605-6db9d3336039", "addOnsList":[ ], "unitCharts":[ ], "combos":[ { "comboItems":[ { "imageName":"scaled_1000000004.jpg", "cost":300.0, "dOption":"Non Veg", "description":"chicken wings", "currencySymbol":"Rs", "isActive":true, "title":"6…

VIEW QUESTION

onSchedule eventType for Firebase Extension?

I decided to upgrade my extension to use 2nd generation Cloud Functions. I changed my cloud function from pubsub.schedule to onSchedule. In extensions.yaml I have to define resources.properties.eventTrigger.eventType. However I am not able to find any hints in the documentation:…

VIEW QUESTION
Back To Top
Search