title: How to Bypass SSL check in iOS 11 using Ionic Cordova framework and self signed certificate
body: <p>In my app I need to call some REST API service calls. The certificate on the target development server where REST API services are deployed is self signed. So when I am running app I am getting error like:</p>
  
  <p>Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “192.168.10.20:8080” invalid.....which could put your confidential information at risk.</p>
  
  <p>As this server is only for dev/testing purpose so I simply wants to ignore ssl check ... How can I achieve it? I tried following way:
   [AppDelegate.m file] but didn't succeeded as below code is not working in iOS 11 ...</p>
  
  <pre><code>@implementation NSURLRequest(DataController)
  + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
  {
      return YES;
  }
  @end
  </code></pre>
  
  <p>I am using ionic 3 &amp; Cordova 7 in my app.</p>