Mobile Foundation Cordova plugin updated to support cordova-android@10.x

Apache Community released cordova-android@10.0.0 which has support for Android 30 API Level (Android Version 11). As stated in the blog it has breaking changes especially AndroidX only support and WebViewAssetLoader support. Mobile Foundation (MF) Cordova plugin for Android component implemented to support new plugin changes.

Android released Google Playstore target API Level requirement for new applications and existing applications. It states that starting August 2021, all new apps should be targeted for API level 30 (Android 11) and above. Also starting November 2021, updates to existing apps should be targeted to API level 30 (Android 11) and above. Otherwise those apps will be rejected.

So its recommended to update your apps with latest android level to avoid any issues with google playstore. In order to support latest levels of android cordova plugin for Mobile Foundation is updated with following plugin levels.

Cordova Android

cordova-plugin-mfp@8.0.2021090603

cordova-plugin-mfp-jsonstore@8.0.2021090603

cordova-plugin-mfp-analytics@8.0.2021090603

cordova-plugin-mfp-fips@8.0.2021090603

Cordova MFP Template

cordova-template-mfp@8.0.2021090603

MFP Dev CLI

mfpdev-cli@8.0.2021090608

Pre-requisites

  1. The following property must be added to the config.xml file for all versions including and above cordova-android@10.0.0.

    <preference name="AndroidInsecureFileModeEnabled" value="true" />
    
  2. mfpdev-cli updated to work with cordova-android@10.0.0. So please use mfpdev-cli@8.0.2021090608 for generating and deploying direct update package using webupdate command.

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on April 25, 2022