danielsogl / awesome-cordova-plugins

Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
https://danielsogl.gitbook.io/awesome-cordova-plugins/
Other
2.4k stars 2.42k forks source link

When I upgraded to Angular version 18, I encountered a mismatch: @ionic-native/core does not support the latest RxJS version. #4804

Closed RamPrasad-18 closed 1 month ago

RamPrasad-18 commented 1 month ago

Hi Team,

When I tried to upgrade to Angular version 18, it threw an error related to RxJS compatibility. To resolve this, I decided to downgrade RxJS instead, which caused Angular to revert back to version 17. Why did this error occur? Angular's @ionic-native package still supports Angular version 18. What should we do next?

image

{ "name": "mypay", "version": "0.0.1", "author": "Serverless solutions", "homepage": "https://www.serverless-solutions.com/", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^18.0.0", "@angular/cdk": "^18.0.0", "@angular/common": "^18.0.0", "@angular/core": "^18.0.0", "@angular/fire": "^18.0.1", "@angular/forms": "^18.0.0", "@angular/material": "^18.0.0", "@angular/platform-browser": "^18.0.0", "@angular/platform-browser-dynamic": "^18.0.0", "@angular/router": "^18.0.0", "@awesome-cordova-plugins/core": "^6.6.0", "@awesome-cordova-plugins/file": "^6.6.0", "@awesome-cordova-plugins/file-opener": "^6.6.0", "@awesome-cordova-plugins/firebase-analytics": "^6.6.0", "@awesome-cordova-plugins/firebase-crashlytics": "^6.6.0", "@awesome-cordova-plugins/open-native-settings": "^6.6.0", "@capacitor/android": "6.1.0", "@capacitor/app": "6.0.0", "@capacitor/core": "6.1.0", "@capacitor/haptics": "6.0.0", "@capacitor/ios": "6.1.0", "@capacitor/keyboard": "6.0.1", "@capacitor/preferences": "6.0.1", "@capacitor/status-bar": "6.0.0", "@eslint/config-array": "^0.17.0", "@ionic/angular": "^8.0.0", "@ionic-native/fingerprint-aio": "^5.36.0", "@ionic-native/firebase-analytics": "^5.36.0", "@ionic-native/google-analytics": "^5.36.0", "@ionic-native/file": "^5.36.0", "@ionic-native-core": "^5.36.0", "@ionic-native/file-opener": "^5.36.0", "@kolkov/angular-editor": "~3.0.0-beta.0", "@mui/material": "^5.6.4", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", "@npmcli/package-json": "^5.2.0", "chart.js": "^4.4.3", "cordova-open-native-settings": "^1.5.5", "cordova-plugin-file": "^8.1.0", "cordova-plugin-file-opener2": "^4.0.0", "cordova-plugin-fingerprint-aio": "^6.0.0", "cordova-plugin-firebase-analytics": "^8.0.0", "cordova-support-android-plugin": "^2.0.4", "firebase": "^10.0.0", "html2pdf.js": "^0.10.2", "moment": "^2.30.1", "ng2-charts": "^6.0.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" }, "devDependencies": { "@angular-devkit/build-angular": "^18.0.0", "@angular-eslint/builder": "^18.0.0", "@angular-eslint/eslint-plugin": "^18.0.0", "@angular-eslint/eslint-plugin-template": "^18.0.0", "@angular-eslint/template-parser": "^18.0.0", "@angular/cli": "^18.0.0", "@angular/compiler": "^18.0.0", "@angular/compiler-cli": "^18.0.0", "@angular/language-service": "^18.0.0", "@capacitor/cli": "6.1.0", "@ionic/angular-toolkit": "^11.0.1", "@types/jasmine": "~5.1.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsdoc": "^48.2.1", "eslint-plugin-prefer-arrow": "1.2.2", "jasmine-core": "~5.1.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "typescript": "~5.4.0" }, "description": "An Ionic project" }

kikino1989 commented 1 month ago

I'm having the same mismatch issue but in my case, I'm trying to upgrade to Ionic 7. It requires rxjs 7.5 https://ionic-docs-o31kiyk8l-ionic1.vercel.app/docs/updating/7-0, could you please bump up the rxjs version in the next release 🙏