First things first, you aren’t capturing any errors or logging anything in your success callback. Most likely, an error is occurring.
Try something like:
modellist....on('child_added', snapshot => console.log(snapshot.key), error => console.error(error));
If that’s not getting invoked, then you’ll need to include a more complete repro of the problem.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/6c24c3b2-e383-41d2-ac2a-0a91d0f56ff8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.