#[SOLVED] Does Appwrite React Native SDK Support Realtime?

10 messages · Page 1 of 1 (latest)

pastel karma
#

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?

dusty sinew
#

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.

pastel karma
#
 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

dusty sinew
#

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?

pastel karma
#

everything else is working, i can login, i can access the database... it is only the realtime that doesnt work

pastel karma
#

Got it working!!

dusty sinew
pastel karma
#

Two things, one I was not constructing the params properly for the file and two, the error message was not clear when u upload a file that is too big