RealTime getCollaborators() method returning only 1 Collaborators

93 views Asked by At

I'm trying to get a list of current collaborators on load and getCollaborators() is always returning the local collaborator in the array.

Despite numerous tries, even using the quickstart sample for testing purposes, getCollaborators() is not working for me.

Is anyone facing similar issue with me? Would like to get some feedback on this issue.

Thanks!

https://developers.google.com/google-apps/realtime/realtime-quickstart`

1

There are 1 answers

2
user2608223 On

I had this problem too. I'd check where you're calling getCollaborators. I was calling in OnFileLoaded, and at that point, the other collaborators aren't loaded yet.