Friday, December 22, 2017

To allow Cordova (iOS) to connect to HTTPS with a self signed certificate

https://gist.github.com/jamesmbeams/5155230

@implementation NSURLRequest (ServiceClient)
+ (BOOL) allowsAnyHTTPSCertificateForHost:(NSString *) host
{
return YES;
}
@end

No comments:

Post a Comment