Skip to content Skip to sidebar Skip to footer

How To Run A Background Cloud Function And Schedule A Change In Database?

I'm developing an app using React Native and Firebase Realtime database. I want to do something like this. From the app, I set a time duration and press a button. Then, it writes d

Solution 1:

There is no built-in trigger to run after a certain delay that is written in the database.

But you can either build your own scheduler using Cloud Scheduler, or create a regularly running scheduled function that then checks for expired schedules in your database.

Also see:

Post a Comment for "How To Run A Background Cloud Function And Schedule A Change In Database?"