cordova - App crashes on iOS 10.0.2 but not on iOS 10.1.1 -


my problem app (generated using ionic) crashes on ios 10.0.2 not on ios 10.1.1. each time, did same thing on 2 devices. searched on google , didn't find similar problem.

the crash comes after post request server have self-signed certificate. error in logs, on xcode, :

assertion failed: (isforproxy(authconfig.getconnectiontype())), function updatewithresponse, file /buildroot/library/caches/com.apple.xbs/sources/cfnetwork/cfnetwork-808.0.2/http/httpauthentication/authenticationhelpers.cpp, line 1168.

just before crash, xcode stopped if put breakpoint. concerned thread named "com.apple.nsurlconnectionloader".

after crash, have remove (or rebuild/run xcode) app because, if not, crashes directly when launch device.

the concerned post request (it seems me basic) :

    $http.post(url, { data:  data } , { headers: {'content-type': 'text/plain'}})           .success(function (data, status, headers, cfgapp) {         // code         }.error(function (data, status, headers, cfgapp) {         // code     }) 

i have no idea how correct bug. don't understand why it's work fine on ios 10.1.1 , not on ios 10.0.2 (tested different devices each version). reproduce similar bug? or there on ios 10.1.1 correct bug this?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -