I have reviewed the doc and can I assume that since it is not an option to select over the code samples, that it is not supported?
No, I wouldn't make that assumption about anything lol
You can subscribe to realtime events on any client side sdk.
Here is the code in the react-native sdk that does it, if you were curious. https://github.com/appwrite/sdk-for-react-native/blob/main/src/client.ts#L367
They offer tons of sdks, it's hard to provide examples for every single one, and the reactive native sdk is very very similar to the web sdk.
LOG [app Index]
ERROR WebSocket error: {"isTrusted": false, "message": "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)"}
LOG WebSocket connection closed
ERROR Realtime got disconnected. Reconnect will be attempted in 1 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 1 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 1 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 1 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 1 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 5 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 5 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 5 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
ERROR Realtime got disconnected. Reconnect will be attempted in 5 seconds. The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
i followed the web sdk since there was no example and this is the error I am getting
will take a look at the link u provided to see if I am missing something
Are you able to get anything else working? I believe that error is a unknown host error, so I don't think that's an appwrite issue directly? Are you self hosted?
Recommended threads
- AppwriteException: User (role: guests) m...
Hello, I'm having a problem with Appwrite. When I try to retrieve the logged in user information via the API, I get the following error: AppwriteException: Use...
- All data wiped from my project
I tried starting up my app and got a 'Failed to fetch image 500' error when accessing an image. When I checked, it looks like all my data (users, images, videos...
- REACT NATIVE EXPO FILE UPLOAD ISSUE
I developed a React Native app with Expo. I'm using USB to connect my phone and everything is going great - fetching/updating/etc. However, I can't upload files...