aleksandar888 / cordova-plugin-imap

This plugin will enable a Cordova application to use the IMAP (Internet Message Access Protocol) features. The plugin offers support for Android and iOS. To enable the IMAP features on Android, this plugin uses the framework Java Mail API and for iOS, it uses the MailCore 2 library
ISC License
2 stars 4 forks source link

Dont work on iOS #4

Open nowitz opened 1 year ago

nowitz commented 1 year ago

Describe the bug After call method connect , I got this error ERROR Error: 2022-12-10 21:47:38.328362+0100 App[11718:2563740] [] nw_path_necp_check_for_updates Failed to copy updated result (22) On Android is everything ok. this.imap.connect({ host: environment.imapHost, user: login, password: password, port: environment.imapPort, connectionType: ConnectionType.TLSSSL })

Screenshots

Snímek obrazovky 2022-12-10 v 21 48 11 Snímek obrazovky 2022-12-10 v 21 51 07

Additional context Stacktrace: 2022-12-10 21:47:38.328362+0100 App[11718:2563740] [] nw_path_necp_check_for_updates Failed to copy updated result (22)

Config App

IIonic:

Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.3.9 @angular-devkit/build-angular : 14.2.2 @angular-devkit/schematics : 14.2.2 @angular/cli : 14.2.2 @ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 4.2.0 @capacitor/android : 4.6.1 @capacitor/core : 4.6.1 @capacitor/ios : 4.6.1

Utility:

cordova-res : 0.15.4 native-run (update available: 1.7.1) : 1.6.0

System:

NodeJS : v16.16.0 (/usr/local/bin/node) npm : 8.17.0 OS : macOS Monterey

Package.json: { "name": "Student ZČU", "version": "3.0.0", "author": "Ionic Framework", "homepage": "https://ionicframework.com/", "scripts": { "ng": "ng", "start": "ng serve", "emulator": "ionic capacitor run android -l --host=0.0.0.0", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/common": "^14.2.2", "@angular/core": "^14.2.2", "@angular/forms": "^14.2.2", "@angular/platform-browser": "^14.2.2", "@angular/platform-browser-dynamic": "^14.2.2", "@angular/router": "^14.2.2", "@awesome-cordova-plugins/http": "^6.2.0", "@awesome-cordova-plugins/imap": "^6.2.0", "@capacitor-community/admob": "^4.0.0", "@capacitor-firebase/analytics": "^1.2.0", "@capacitor/android": "^4.6.1", "@capacitor/app": "4.1.1", "@capacitor/configure": "^2.0.10", "@capacitor/core": "^4.6.1", "@capacitor/device": "^4.1.0", "@capacitor/haptics": "4.1.0", "@capacitor/ios": "^4.6.1", "@capacitor/keyboard": "^4.1.0", "@capacitor/network": "^4.1.0", "@capacitor/preferences": "^4.0.2", "@capacitor/push-notifications": "^4.1.2", "@capacitor/splash-screen": "^4.1.2", "@capacitor/status-bar": "^4.1.1", "@ionic/angular": "^6.3.9", "@ngneat/transloco": "^4.1.1", "@trapezedev/configure": "^6.0.6", "capacitor-plugin-app-tracking-transparency": "^2.0.3", "cordova-plugin-advanced-http": "^3.3.1", "cordova-plugin-file": "^7.0.0", "cordova-plugin-imap": "^1.1.0", "date-fns": "^2.29.3", "firebase": "^9.9.4", "ionicons": "^6.0.3", "rxjs": "~6.6.0", "tslib": "^2.2.0", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^14.2.2", "@angular-eslint/builder": "~13.0.1", "@angular-eslint/eslint-plugin": "~13.0.1", "@angular-eslint/eslint-plugin-template": "~13.0.1", "@angular-eslint/template-parser": "~13.0.1", "@angular/cli": "^14.2.2", "@angular/compiler": "^14.2.2", "@angular/compiler-cli": "^14.2.2", "@angular/language-service": "^14.2.2", "@capacitor/cli": "4.2.0", "@ionic/angular-toolkit": "^6.0.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "5.3.0", "@typescript-eslint/parser": "5.3.0", "eslint": "^7.6.0", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsdoc": "30.7.6", "eslint-plugin-prefer-arrow": "1.2.2", "jasmine-core": "~3.8.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.2", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "~8.3.0", "typescript": "~4.7.3" }, "description": "An Ionic project" }

nowitz commented 1 year ago

I found solution the problem here https://github.com/MailCore/mailcore2/issues/1955. Bug is in mailcore2 lib.

aleksandar888 commented 1 year ago

Thanks for reporting the bug.