Hey!
I am trying to implement full realtime updates on my app,
I am able to set a realtimeValueKey, with my firebase database, but am looking to add more to the list?
I have tried several different attempts but they either return the last key in the list, or none at all?
If I were to do:
readonly property string dbKeyAllCalendarItems: "groups" + "/" + groupName + "/" + subGroupName
readonly property string dbKeyAllUsers: "groups" + "/" + groupName + "/" + "users"
realtimeValueKeys: [dbKeyAllCalendarItems]
OR
realtimeValueKeys: [dbKeyAllCalendarItems] && [dbKeyAllUsers]
realtimeValueKeys: [dbKeyAllCalendarItems] || [dbKeyAllUsers]
realtimeValueKeys: { [dbKeyAllCalendarItems]; [dbKeyAllUsers] }
Amongst other attempts, none work!?!
I need to receive updates for specified keys, which I have working for one key, but want to add If() {…} else if{…} else if {…} for multiple keys,
What would fix this? How do I add multiple realtimeValueKeys to the list for updates on each of them?
Thanks