Web Developer
I cannot figure out how to use setSelfSigned(true) with my React Native client... it simply doesn't exist on any client. Tried the web client as well in a different app.
Votes
0
Replies
4
Participants
Unknown
Messages
5
Web Developer
I cannot figure out how to use setSelfSigned(true) with my React Native client... it simply doesn't exist on any client. Tried the web client as well in a different app.
I believe setSelfSigned in only avaliable on server side sdks like node-appwrite
Rank 1: Thread
Hm. Appwrite is running in docker on my Macbook.
I cannot access any files in my bucket from my client React Native app. Client is on the same Wi-Fi network.
For example a file url like https://192.168.2.15/v1/storage/buckets/audio/files/......etc
Will give me "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
i suggest either use HTTP instead of HTTPS or google how to handle self-signed certificates in react native
Rank 1: Thread
Sorry, I'm still a bit lost on this topic.
I've switched to Ionic with React to create an Android app.
I simply can't get my app to connect with Appwrite. Realtime does not work nor do file URLs like the one above.
Am I right that i should self sign the certificate and set up Appwrite docker with this certificate. And also install the certificate on the client devices?
(I need complete off-line communication, so no cloud instance of Appwrite).