Open KyDenZ opened 8 years ago
This is pretty old, so I assume you have fixed this by now.
The error is on the line calling the chat id's from the user.
[ref.child('user/' + userId + '/chats'), 'chat'],
you need to have 'Chats' instead of 'chat' as on the line calling the chats you have put 'Chats.chatId'.
Hope this helps.
Hello, I blocked for some days to retrieve data from Firebase in descending order and in relation to the connected user:
Firebase :
Controller
I have no error but no return Firebase . If I exchange the two links Firebase I 'm conversation sorted in chronological order , but I have every conversation. I would just have the user logged conversations :
Controller
I thank you in advance