How to create delete data from a specific time
I want to add a time to delete data automatically using the app using firebase db
Hi Anugrah,
Search for TTL (Time To Live) Firebase on Google.
You need to upgrade your plan to Blaze.
use one clock component or store the time in firebase along with the db. Next time while screen inti, do this
- If (Current Time - Stored Timestamp > Set Duration):
- Delete the entry using
FirebaseDB.RemoveValue
.
- Delete the entry using