[SSL Pinning Plugin] Android build failure after adding SSL Pinning plugin

Forge Component
(4)
Published on 5 Feb by OutSystems R&D
4 votes
Published on 5 Feb by OutSystems R&D

After adding this plugin, We are getting error in generating Android build.

Error: Error compiling Cordova plugin: org/apache/cordova/engine/SystemCookieManager.java uses or overrides a deprecated API..


IOS build is generated successfully.

Outsystems Version: OS10

SSL Pinning Plugin Version: 5.0.1

MABS: 6.1

Hi Muhammad, 

What is the Platform version?

For MABS >= 6.0, the  Platform Version should be >= 10.0.1016.0

BR,

Luis

Platform version is 10.0.1011.0

Little correction. MABS version is 5.2

Please note that in some of our environments, we have MABS 6.1 like pre-prod and production.

Regards,

Muhammad Ubaid

Solution

Check this note on the description of the component:

Compatibility with MABS Versions

Choose your plugin version according to the MABS version you are using to generate your mobile apps:


Using MABS >= 6.0: use plugin version >= 5.0.0

Note: MABS 6.0 requires Platform Version >= 10.0.1016.0 for OutSystems 10 and Platform Version >= 11.0.539.0 for OutSystems 11.

Please ensure you meet the Platform requirements before using this plugin.


Using MABS >= 4.0: use plugin version < 5.0.0

Use this version when generating mobile apps for iOS 12. It does not support iOS 8 and 9. 

Note: The TrustKit framework in this plugin version was upgraded to support iOS 12, which is a breaking change


Muhammad Ubaid wrote:

Platform version is 10.0.1011.0

Little correction. MABS version is 5.2

Please note that in some of our environments, we have MABS 6.1 like pre-prod and production.

Regards,

Muhammad Ubaid



Solution

Thanks Luis,

It worked. Thanks for the quick response.

You are welcome! 

Happy coding


Muhammad Ubaid wrote:

Thanks Luis,

It worked. Thanks for the quick response.