[Secure Device Plugin] Can we bypass the passcode,pin, password, pattern checking in Secure Device Plugin

Forge Component
(0)
Published on 2018-05-25 by André Vieira
0 votes
Published on 2018-05-25 by André Vieira

Hi,

May we know if can we bypass the passcode, pin, password, pattern checking in Secure Device Plugin but instead it will only validate if android is rooted and iOS is jailbroken. Thank you

Hi Reuben,

Checking the source code at: https://github.com/OutSystemsExperts/cordova-secure-device the checkDevice method does both checks. You can always fork it and change it to your liking (or suggest those enhancements to André). 

Hi Jorge,

Thank you for your reply. 

Regarding your option to fork it and change it. How can we change that? Thank you

Please read Git's documentation and guides on how to do those tasks. You will also need to understand basic Java (Android) and/or ObjectiveC (iOS)

Noted and thank you for the link.

Jorge Martins wrote:

Hi Reuben,

Checking the source code at: https://github.com/OutSystemsExperts/cordova-secure-device the checkDevice method does both checks. You can always fork it and change it to your liking (or suggest those enhancements to André). 

Checked the code and its now a configurable option. 

However, I've tried passing the preferences through the extensibility configurations JSON schema but it doesn't seem to work 

https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Extensibility_Configurations_JSON_Schema

Any idea on how to update config.xml?

Thanks.