Open hgc2002 opened 4 years ago
I'm using a local test server. It does not have any SSL certificate on it. Only works with HTTP requests.
Using your sample code and only changing the url to my local place, the problem comes up.
Here is the error message: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
So, this is easy: Is there any way to avoid this error using a simple apache httpd server without SSL ??
Thanks for your help.
Version info:
iOS: 13.3 (simulator iPhone 8) (Android not tested yet) tns: 6.2.2 tns-core-modules@6.3.1 tns-ios: 6.2.0 nativescript-downloader@2.1.5
workaround: use httpModule.getFile It's not exactly the same, but works.
I'm using a local test server. It does not have any SSL certificate on it. Only works with HTTP requests.
Using your sample code and only changing the url to my local place, the problem comes up.
Here is the error message: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
So, this is easy: Is there any way to avoid this error using a simple apache httpd server without SSL ??
Thanks for your help.
Version info:
iOS: 13.3 (simulator iPhone 8) (Android not tested yet) tns: 6.2.2 tns-core-modules@6.3.1 tns-ios: 6.2.0 nativescript-downloader@2.1.5