https icon indicating copy to clipboard operation
https copied to clipboard

Secure HTTP client with SSL pinning for Nativescript - iOS/Android

Results 50 https issues
Sort by recently updated
recently updated
newest added

Hi Great plugin. I'm just wondering about how to accept self signed certificates? E.g: How do you manipulate the options.allowInvalidCertificates without enabling SSL pinning. Cheers

There's a problem with function: function AFSuccess(resolve, task: NSURLSessionDataTask, data: NSDictionary & NSData & NSArray) ``` if (data.enumerateKeysAndObjectsUsingBlock || data.class().name === 'NSArray' || **(data instanceof NSArray) === true**) { let...

This lib uses [`body`](https://github.com/gethuman/nativescript-https/blob/163758362e8db61293940d128c9aa8059074c1a8/src/https.common.ts#L22) (on POST for example). NS http lib uses [`content`](https://docs.nativescript.org/api-reference/interfaces/_http_.httprequestoptions#content) Was this intentional or did NS lib change signature and nativescript-https just didn't keep up? Also, I...

The HttpsRequestOptions object seems to be modelled after NativeScript's built in HttpRequestOptions object, as seen from the example in the documentation. However, in the current code the "content" field of...

When performing a HTTP request (any HTTP Verb), for the iOS, the response of the plugin has headers as an empty object: {}. After a some investigation, it's clear that...

Hi! when I do request to my webservice, Android side throws this exception: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. What I'm doing wrong? same code works on...

I see that cert pinning is supported, but how much extra work would it be to add a method for pinning just a public key? This would be much more...

enhancement

We're implementing a rest server and a mobile client to call the various rest endpoints (via https, with nativescript-https). On Android, the response is a plain JSON, ready to be...

I think the package in the tns plugin repo is outdated (1.0.1)

Need some assist. Why when i enabled the SSL pinning and Test HTTPS, always getting javax.net.ssl.SSLPeerUnverifiedException error message as below: > JS: Https.request error javax.net.ssl.SSLPeerUnverifiedException: Hostname xxxx.azurewebsites.net not verified: >...