Instructions to upgrade to Cordova plugin version to 9.1
This chapter describes the steps to take in order to migrate Cordova plugin to 9.1
Possible compile time error
If your app uses Jetifier to transform libraries then you might face a build error that looks like follow:
This is a bug in Android Gradle Plugin that should be fixed in Android Gradle Plugin 7.0
If you want to use the Onegini Cordova Plugin but can not update to latest AGP yet, the workaround suggested in the link above is to add the following setting to your gradle.properties
file:
To add such Gradle property to the Cordova build you can pass the additional param to the Cordova run/build command:
To see other options to modify the Gradle properties please follow the Cordova documentation