nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
51 stars 42 forks source link

fix(ios): base URL for AFHTTPSessionManager #87

Closed lekhmanrus closed 10 months ago

lekhmanrus commented 1 year ago

Fix error for iOS:

ERROR Error: A security policy configured with `AFSSLPinningModeCertificate` can only be applied on a manager with a secure base URL (i.e. https)

So, now AFHTTPSessionManager reinitializes at enableSSLPinning with HttpsSSLPinningOptions.host base URL.

lekhmanrus commented 10 months ago

Hi @farfromrefug

Sorry, could that be merged?

Thanks! 🙂

farfromrefug commented 10 months ago

@lekhmanrus sorry I missed this. I ll mere this but won't release until September 4th as I am on holidays

lekhmanrus commented 10 months ago

Thanks @farfromrefug !