'How to schedule update in firebase database based on user's input? (flutter)
I have created a flutter application for smart home. I would like the user to be able to pick a time where light can be turned on. For example, user set light to be switched on at 7pm everyday through my flutter app.
Currently, I am using firebase realtime database to control light status true/false. I have researched that google cloud function can be used to schedule task(eg update light status) but the time picked is done statically by the backend.
Is there a way for the time to be set dynamically using the cloud scheduler?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
