Skip to main content

 

 

 

 
 
 
 
OutSystems

MABS Version 6.3

First release: 2020-09-23 16:00:00 UTC
Last update: 2021-07-01 11:30:00 UTC

What's New

  • In MABS 6.3 we introduce the option to compile the Android apps using AndroidX instead of the legacy Android Support Library. AndroidX is optional, so you need to enable the AndroidX support in your apps. For more information see Building apps with AndroidX.

Bug fixing

  • [2020-10-07 16:00:00 UTC] Fixed an issue with the initialization of the HTTP clients for the cache mechanism of the Android apps. (RNMT-4344)
  • [2020-11-03 17:45:00 UTC] We fixed an issue that was blocking the builds from having AndroidX enabled. (RNMT-4493)
  • [2020-11-06 10:30:00 UTC] We fixed the logging mechanism to prevent it from sending logs before the SSL Pinning plugin is loaded. (RNMT-4499)
  • [2020-11-26 19:00:00 UTC] We fixed an issue that was causing apps to show an error screen at startup when the SSL Pinning Plugin configurations were incorrect. (RNMT-4514)
  • [2020-11-27 20:10:00 UTC] We fixed app crashes in Android related to SSL Pinning Plugin. An app could crash when there was an exception without a message while the app was obtaining a pinned resource. (RNMT-4520)
  • [2020-12-21 15:00:00 UTC] We improved the overall stability and security, with a focus on the Android mobile apps that use plugins with hooks. We recommend rebuilding your mobile apps and confirming they are working as expected. In cases where there are errors due to these security improvements, you'll see the error codes ERR-PLG-1017  (Error installing Cordova plugin) and ERR-GEN-1016 (Error generating application).
  • [2020-12-23 15:00:00 UTC] Adds a new error message in the error handler for plugins with missing dependencies for node modules due to the security improvements. 
  • [2020-12-23 15:00:00 UTC] Added a new error message in the error handler for plugins with missing dependencies for node modules due to the security improvements. 
  • [2020-12-23 15:00:00 UTC] We fixed error messages in the error handler for maven repository operations. (RNMT-4542)
  • [2020-12-28 14:30:00 UTC] We improved the overall stability and security, with a focus on the iOS mobile apps that use plugins with hooks. We recommend rebuilding your mobile apps and confirming they are working as expected. In cases where there are errors due to these security improvements, you'll see the error codes ERR-PLG-1017  (Error installing Cordova plugin) and ERR-GEN-1016 (Error generating application).
  • [2021-01-15 09:30:00 UTC] Improved the robustness of the build process in scenarios with potential permission errors. (RNMT-4586)
  • [2021-02-17 15:30:00 UTC] Fixed iOS debug builds that have CocoaPods with the dynamic framework dependencies. (RNMT-4687)
  • [2021-02-19 15:30:00 UTC] We fixed an Android issue related to the SSL Pinning Plugin that was causing apps to show an error screen at startup. (RNMT-4710)
  • [2021-03-31 11:30:00 UTC] You can now add the Referer header to the custom scheme requests (iOS only). (RNMT-4762)
  • [2021-03-31 10:30:00 UTC] Fixed some Android apps crashing after removing the splash screen. (RNMT-4755)
  • [2021-04-06 08:00:00 UTC] MABS now validates the iOS certificates and provision profiles in the initial phase of the build pipeline. This lets you see and fix potential errors early in the build process. (RNMT-4739)
  • [2021-04-14 15:00:00 UTC] Fixed a typo in some logs on the OSCache component for the Android platform. Where before was ‘File is corrput or invalid’ is now ‘File is corrupt or invalid’. (RNMT-4765)
  • [2021-04-21 14:10:00 UTC] Improved OSCache plugin logging when there is a hash mismatch between cached file and the remote version of the same file (RNMT-4767)
  • [2021-05-05 01:30:00 UTC] Workaround to mitigate JitPack downtime Incident applied, using some OutSystems core packages locally instead of fetching from JitPack. Inspector plugin was disabled to allow for builds to finish successfuly (RNMT-4895). This workaround was reverted after the JitPack incident was resolved [2021-05-05 09:20:00 UTC]
  • [2021-05-12 15:00:00 UTC] We changed the priority of the MavenCentral repository to be higher than the JCenter repository. This will reduce the impact of the JCenter sunset in OutSystems mobile apps for Android. (RNMT-4821)
  • [2021-05-19 15:30:00 UTC] Fixed an issue that was causing the Native Logger to perform concurrent network requests to the server on iOS (RNMT-4892)
  • [2021-07-01 11:30:00 UTC] Added validation to prevent native mobile apps from using SSL Pinning Plugin to pin to OutSystems managed certificates. For more information, check the documentation.

 

How to fix "Error installing a Cordova plugin"

Some customers started getting the following error in MABS 6, after MABS security improvements in December 2020:

Error installing a Cordova plugin. Due to security concerns, the required dependency for the '{0}' node module in a plugin hook was missing. For more details, check the product documentation on how to ensure your plugins node dependencies.

MABS no longer uses a shared cache for NPM dependencies, which means that you need to make sure that MABS has all the available dependencies for the build. Do this by installing the dependencies for the hooks.

For example, if you’re getting an error because the build cannot find the dependency elementtree, fix the error by following these steps:

  1. Add a  package.json file with the required dependencies for your hooks in their folders. Here is a package.json example.
  2. To install the dependencies, create a JavaScript file to run the npm install command. Check out an example here.
  3. Add the JavaScript file to the plugin.xml as a hook of the type before_plugin_install. See this code for an example.
  • Was this article helpful?