Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS, crash with SSL pinned active #173

Closed
audio747 opened this issue Dec 18, 2018 · 4 comments
Closed

iOS, crash with SSL pinned active #173

audio747 opened this issue Dec 18, 2018 · 4 comments

Comments

@audio747
Copy link

Hi,

On iOS 12 ((iPhone X) when set SSL pinned:

cordova.plugin.http.setSSLCertMode('pinned', function() { console.log('success!'); }, function() { console.log('error :('); });

App crash:

2018-12-19 00:06:32.662435+0100 BP Test[5126:1552521] success! 2018-12-19 00:06:35.398857+0100 BP Test[5126:1552910] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' *** First throw call stack: (0x214917ea0 0x213ae9a40 0x21488f470 0x2147fe9d0 0x10273e5a4 0x10275d238 0x2153a682c 0x2152aea28 0x2152adefc 0x2153a8700 0x102d93824 0x102d94dc8 0x102d981c4 0x102d97604 0x102da61dc 0x102da6bc8 0x21453417c 0x214536cec) libc++abi.dylib: terminating with uncaught exception of type NSException

No problem in Android.

@firetrap
Copy link

firetrap commented Apr 3, 2019

Same here

@silkimen
Copy link
Owner

silkimen commented Apr 8, 2019

Hi guys, which version of this plugin is affected? Did you already try latest version?

@silkimen
Copy link
Owner

Closing this, because you didn't provide enough information. 😔 Feel free to open a new issue, if your problem still exists! 👍

@FranciscoVega2
Copy link

Hi im having this error when executing a post request the plugin is
cordova-plugin-advanced-http : 3.3.1
cordova-plugin-file: 7.0.0
cordova: 11.1
cordova-ios 6.3.0

in android is working fine but in ios crashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants