I'm using Firebase Database in my app to upload data under multiple tags — sometimes 100 or more. Since updating many tags takes time and happens asynchronously, I want to make sure that all data has been successfully uploaded.
Is there a reliable way to track or confirm that all tags have been updated?
Any advice on how to ensure that all data is fully uploaded before proceeding to the next step (like showing a success message) would be really helpful.
Also, if the data change in Firebase did not go well, an error message will be returned.
You can therefore deduce that if no errors appeared, the data change went well.
i changed 93 tags which i calculated. and also i can see that in firebase that all 93 changes. but the firebse datachanged event only calculate 34 sometimes 31.
in primary 31 tags, upper primary 31 tags, secondary 31 tags
so what should be the project bucket so that i count all 93 tags?
if i give project bucket MDM/ABC School/MAY 2025 . and i used your logic then it gives me 3. so that means, in the primary, secondary and upper primary bucket the all tags under it has updated?. is it possible that if all tags not changed under upper primary and will return 3?