Back

Realtime connection to db collection

  • 1
  • Databases
  • Apple
  • Realtime
  • Cloud
noam9052
11 Dec, 2023, 10:33

hey i have test func triggered by button click to see how the realtime works with db collections but when i tapped the button the test document created but i dont see nothing in the console expect "im in" help please***

TL;DR
The user is asking for help with establishing a realtime connection to a database collection. They mention that it only works when the collection name is added to channels[], which they find strange. They also mention that they have a test function triggered by a button click, but when they tap the button, the test document is created but they don't see any output in the console except for "im in". They ask for help with this issue. Solution: It is recommended to check the permissions of the collection to ensure the user has the necessary access. Additionally, it may be helpful to review the code for the test function to ensure it is properly
noam9052
11 Dec, 2023, 10:41

thats is the permission of the collection

noam9052
11 Dec, 2023, 12:00

ok so its works only if i put it in channels [] not in channel weird...

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more