Open
Description
NativeScript: 8.3.3
Android: v13 on Pixel 7
I have been using a self signed cert on Android for development successfully by a using a void trust manager. Setting HttpsURLConnection.setDefaultSSLSocketFactory
seems to work with the core Http library.
When I switch over to @klippa/nativescript-http
all requests hang indefinitely when making requests to the development server that uses a self signed certificate. I switch it back to the production server and everything works as expected.
Is there a way to set sslSocketFactory
to a void trust manager on the OKHttp builder from within Javascript or is the only option to fork this repo and patch it for my own use case?
Metadata
Metadata
Assignees
Labels
No labels