Search code examples
cordovacordova-plugins

Is it possible that some plugins will stop working if I update my cordova version from 7 to 10?


I wonder if updating my cordova from version 7 to 10 would break anything with my plugins.

I just updated and got an error "unexpected token in....fs-file"


Solution

  • This question is very broad.

    You may need to check your plugins for new versions which add changes for newer Cordova versions. Plugins usually should work for new versions but some versions contain breaking changes. You can expect breaking changes in major version bumps (like fro 7 to 8, 8 to 9 etc).

    Make sure to check the release notes of Cordova and all plugins if something breaks. Backup your app and try updating. Removing and adding the platforms fixes some issues.