128
Views
5
Comments
[Secure Device Plugin] Can we bypass the passcode,pin, password, pattern checking in Secure Device Plugin
Question
secure-device-plugin
Mobile icon
Forge asset 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

2019-09-24 18-41-25
Jorge Martins
 
MVP

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é). 

UserImage.jpg
Nikko Gaerlan

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.

UserImage.jpg
Reuben Mark Mandap

Hi Jorge,

Thank you for your reply. 

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

2019-09-24 18-41-25
Jorge Martins
 
MVP

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)

UserImage.jpg
Reuben Mark Mandap

Noted and thank you for the link.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.