(feat) Add pinCheck() functionality, upd dependencies, ready for Capacitor 7, enhance documentation, and add local TGZ creation scripts #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title:
Add Pin Check Functionality, Update Dependencies, Prepare for Capacitor 7, Enhance Documentation, and Add Local TGZ Creation in Package Scripts
Description:
This pull request includes several important updates and improvements for the project:
Pin Check Functionality:
KeyguardManager
to determine if the device's lock screen is secure.LocalAuthentication
framework to check if the device supports and has enabled device owner authentication (PIN, password, or biometrics).pinCheck
method exposed in the plugin, making it easy for developers to verify if the device has security measures in place.pinCheck
method is based on code from the Latrixz repository (link to original repo) and a fork from mchl18 (link to fork).Android Dependencies Update:
Prepared for Capacitor 7:
Documentation Updates:
README.md
file to provide more detailed instructions and examples for the new features, especially thepinCheck
functionality.web.ts
,descriptions.ts
, andindex.ts
to improve code readability and provide additional context for developers working with the plugin.Local TGZ Creation in Package Scripts:
package.json
to facilitate the creation of local.tgz
packages for testing purposes.Changelog:
pinCheck
method for Android and iOS to check if device authentication (PIN, password, biometrics) is enabled.README.md
and inline comments inweb.ts
,descriptions.ts
, andindex.ts
.package.json
to create local.tgz
files for easier local testing.Notes:
pinCheck
functionality was inspired by code from the Latrixz repository (original repository) and a fork from mchl18 (forked repository).pinCheck
feature.Let me know if you need further modifications or details!