fix #40: generic error codes are different on Android and iOS

This commit is contained in:
Sefa Ilkimen
2017-11-07 13:31:38 +01:00
parent 068b25b6f9
commit e987652d97
5 changed files with 21 additions and 17 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
"version": "1.8.1",
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
"scripts": {
"testapp": "./scripts/build-test-app.sh && ./scripts/test-app.sh --ios --emulator",
"testandroid": "./scripts/build-test-app.sh --android --emulator && ./scripts/test-app.sh --android --emulator",
"testios": "./scripts/build-test-app.sh --ios --emulator && ./scripts/test-app.sh --ios --emulator",
"testapp": "npm run testandroid && npm run testios",
"testjs": "mocha ./test/js-mocha-specs.js",
"test": "npm run testjs && npm run testapp",
"release": "npm run test && ./scripts/release.sh"