Commit bb46d704 authored by Chok's avatar Chok
Browse files

chok: init commit

parent 3f129598
Pipeline #14 failed with stages
in 0 seconds
{
"env": {
"browser": true,
"commonjs": true,
"jasmine": true
},
"extends": "eslint:recommended",
"rules": {
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
\ No newline at end of file
# Asking questions
If you want to ask a question about the use of this plugin, please avoid submmitting an issue and ask on [Discussions]https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/discussions) instead.
# Submitting bugs
Create a new issue and please use the template
# Contributing
* Fork
* Create new feature branch (git checkout -b feature-or-fix-something)
* Commit your changes (git commit -am 'Add fix for android ...')
* Push to the branch (git push origin feature-or-fix-something)
* Create new Pull Request with description what you did and why you did it
## Tips
* Please avoid changing the indentation of a complete file in your pull request, because that makes reviewing changes hard
* Use the command `npm test PLATFORM` to run automatic and manual tests first
MIT License
Copyright (c) 2016-2018 Niklas Merz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Cordova Plugin Fingerprint All-In-One
## For **Android** and **iOS**
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/NiklasMerz/cordova-plugin-fingerprint-aio/master/LICENSE)
[![Issue Count](https://codeclimate.com/github/NiklasMerz/cordova-plugin-fingerprint-aio/badges/issue_count.svg)](https://codeclimate.com/github/NiklasMerz/cordova-plugin-fingerprint-aio)
[![NPM](https://nodei.co/npm/cordova-plugin-fingerprint-aio.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/cordova-plugin-fingerprint-aio/)
**This plugin provides a single and simple interface for accessing fingerprint APIs on both Android 6+ and iOS.**
## Features
* Check if a fingerprint scanner is available
* Fingerprint authentication
* Ionic Native support
* Fallback options
* **FaceID** support
* **⚡️ Works with [Capacitor](https://capacitor.ionicframework.com/). [Try it out](https://github.com/NiklasMerz/capacitor-fingerprint-app) ⚡️**
* [Encrypt and save secrets behind a biometric prompt](#show-authentication-dialogue-and-register-secret)
## Version 4.0
Version 4.0 of this plugin is a significant upgrade over the previous versions. Previous versions only allowed a visual fingerprint prompt. Version 4.0 allows **saving an encrypted secret behind the biometric prompt** for true security. Please test it out and report any issues. If this plugin has security issues please check the [security policy](https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/security/policy). If you do audits using this plugin please let me know the results. My email is on my Github profile.
_Version 4 was developed almost 100% by other people than me (@NiklasMerz)._ **Please thank these awesome people for their work: @exxbrain, @leolio86400**. This is a community driven plugin and I don't do any real development anymore. But triaging issues and rewiewing and testing PRs is cumbersome work. If you depend on this plugin for your product please consider becoming my sponsor on Github to keep it going for a while. Some day I may consider stop working on it and pass it on to somebody interested.
**Version 4.0 is awesome so please us it and let us fix it:smile:.**
### Platforms
* Android - Minimum SDK 23
* iOS - **latest XCode** is required. Plugin sets Swift version 4.
* _Please set `<preference name="SwiftVersion" value="5.0" />` in your config.xml_
* Mac via Catalyst. If you run the iOS platform on a Mac the plugin will ask for the user password and work with like on other platforms.
* The [cordova-osx](https://github.com/apache/cordova-osx) platform is not supported
## How to use
**[Tutorial about using this plugin with Ionic](https://www.youtube.com/watch?v=tQDChMJ6er8)** thanks to Paul Halliday (**old plugin version!!**)
---
### Install
**Install from NPM**
```
cordova plugin add cordova-plugin-fingerprint-aio --save
```
If you want to set a FaceID description use:
```
cordova plugin add cordova-plugin-fingerprint-aio --variable FACEID_USAGE_DESCRIPTION="Login now...."
```
**Use the release candidate for testing the latest fixes**
You can use preview versions with the `rc` tag on npm.
```
cordova plugin add cordova-plugin-fingerprint-aio@rc
```
**Use this Github repo**
Get the latest development version. *Not recommended!*
```
cordova plugin add https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio.git
```
### Check if fingerprint authentication is available
```javascript
Fingerprint.isAvailable(isAvailableSuccess, isAvailableError, optionalParams);
function isAvailableSuccess(result) {
/*
result depends on device and os.
iPhone X will return 'face' other Android or iOS devices will return 'finger' Android P+ will return 'biometric'
*/
alert("Fingerprint available");
}
function isAvailableError(error) {
// 'error' will be an object with an error code and message
alert(error.message);
}
```
### Optional parameters
* __allowBackup (iOS)__: If `true` checks if backup authentication option is available, e.g. passcode. Default: `false`, which means check for biometrics only.
### Show authentication dialogue
```javascript
Fingerprint.show({
description: "Some biometric description"
}, successCallback, errorCallback);
function successCallback(){
alert("Authentication successful");
}
function errorCallback(error){
alert("Authentication invalid " + error.message);
}
```
### Optional parameters
* __title__: Title in authentication dialogue. Default: `"<APP_NAME> Biometric Sign On"`
* __subtitle__: Subtitle in authentication dialogue. Default: `null`
* __description__: Description in authentication dialogue. Defaults:
* iOS: `"Authenticate"` (iOS' [evaluatePolicy()](https://developer.apple.com/documentation/localauthentication/lacontext/1514176-evaluatepolicy?language=objc) requires this field)
* Android: `null`
* __fallbackButtonTitle__: Title of fallback button. Defaults:
* When **disableBackup** is true
* `"Cancel"`
* When **disableBackup** is false
* iOS: `"Use PIN"`
* Android: `"Use Backup"` (Because backup could be anything pin/pattern/password ..haven't figured out a reliable way to determine lock type yet [source](https://stackoverflow.com/questions/7768879/check-whether-lock-was-enabled-or-not/18720287))
* __disableBackup__: If `true` remove backup option on authentication dialogue. Default: `false`. This is useful if you want to implement your own fallback.
* __cancelButtonTitle__: For cancel button on Android
* __confirmationRequired__ (**Android**): If `false` user confirmation is NOT required after a biometric has been authenticated . Default: `true`. See [docs](https://developer.android.com/training/sign-in/biometric-auth#no-explicit-user-action).
### Register secret
```javascript
Fingerprint.registerBiometricSecret({
description: "Some biometric description",
secret: "my-super-secret",
invalidateOnEnrollment: true,
disableBackup: true, // always disabled on Android
}, successCallback, errorCallback);
function successCallback(){
alert("Authentication successful");
}
function errorCallback(error){
alert("Authentication invalid " + error.message);
}
```
This **may** show an authentication prompt.
### Optional parameters
* __title__: Title in authentication dialogue. Default: `"<APP_NAME> Biometric Sign On"`
* __subtitle__: Subtitle in authentication dialogue. Default: `null`
* __description__: Description in authentication dialogue. Defaults:
* iOS: `"Authenticate"` (iOS' [evaluatePolicy()](https://developer.apple.com/documentation/localauthentication/lacontext/1514176-evaluatepolicy?language=objc) requires this field)
* Android: `null`
* __fallbackButtonTitle__: Title of fallback button. Defaults:
* When **disableBackup** is true
* `"Cancel"`
* When **disableBackup** is false
* iOS: `"Use PIN"`
* Android: `"Use Backup"` (Because backup could be anything pin/pattern/password ..haven't figured out a reliable way to determine lock type yet [source](https://stackoverflow.com/questions/7768879/check-whether-lock-was-enabled-or-not/18720287))
* __disableBackup__: If `true` remove backup option on authentication dialogue. Default: `false`. This is useful if you want to implement your own fallback. NOTE: it will be disabled on Android
* __cancelButtonTitle__: For cancel button on Android
* __confirmationRequired__ (**Android**): If `false` user confirmation is NOT required after a biometric has been authenticated . Default: `true`. See [docs](https://developer.android.com/training/sign-in/biometric-auth#no-explicit-user-action).
* __secret__: String secret to encrypt and save, use simple strings matching the regex [a-zA-Z0-9\-]+
* __invalidateOnEnrollment__: If `true` secret will be deleted when biometry items are deleted or enrolled
### Show authentication dialogue and load secret
```javascript
Fingerprint.loadBiometricSecret({
description: "Some biometric description",
disableBackup: true, // always disabled on Android
}, successCallback, errorCallback);
function successCallback(secret){
alert("Authentication successful, secret: " + secret);
}
function errorCallback(error){
alert("Authentication invalid " + error.message);
}
```
### Optional parameters
* __title__: Title in authentication dialogue. Default: `"<APP_NAME> Biometric Sign On"`
* __subtitle__: Subtitle in authentication dialogue. Default: `null`
* __description__: Description in authentication dialogue. Defaults:
* iOS: `"Authenticate"` (iOS' [evaluatePolicy()](https://developer.apple.com/documentation/localauthentication/lacontext/1514176-evaluatepolicy?language=objc) requires this field)
* Android: `null`
* __fallbackButtonTitle__: Title of fallback button. Defaults:
* When **disableBackup** is true
* `"Cancel"`
* When **disableBackup** is false
* iOS: `"Use PIN"`
* Android: `"Use Backup"` (Because backup could be anything pin/pattern/password ..haven't figured out a reliable way to determine lock type yet [source](https://stackoverflow.com/questions/7768879/check-whether-lock-was-enabled-or-not/18720287))
* __disableBackup__: If `true` remove backup option on authentication dialogue. Default: `false`. This is useful if you want to implement your own fallback. NOTE: it will be disabled on Android
* __cancelButtonTitle__: For cancel button on Android
* __confirmationRequired__ (**Android**): If `false` user confirmation is NOT required after a biometric has been authenticated . Default: `true`. See [docs](https://developer.android.com/training/sign-in/biometric-auth#no-explicit-user-action).
### Constants
- **BIOMETRIC_UNKNOWN_ERROR** = `-100`;
- **BIOMETRIC_UNAVAILABLE** = `-101`;
- **BIOMETRIC_AUTHENTICATION_FAILED** = `-102`;
- **BIOMETRIC_SDK_NOT_SUPPORTED** = `-103`;
- **BIOMETRIC_HARDWARE_NOT_SUPPORTED** = `-104`;
- **BIOMETRIC_PERMISSION_NOT_GRANTED** = `-105`;
- **BIOMETRIC_NOT_ENROLLED** = `-106`;
- **BIOMETRIC_INTERNAL_PLUGIN_ERROR** = `-107`;
- **BIOMETRIC_DISMISSED** = `-108`;
- **BIOMETRIC_PIN_OR_PATTERN_DISMISSED** = `-109`;
- **BIOMETRIC_SCREEN_GUARD_UNSECURED** = `-110`;
- **BIOMETRIC_LOCKED_OUT** = `-111`;
- **BIOMETRIC_LOCKED_OUT_PERMANENT** = `-112`;
- **BIOMETRIC_SECRET_NOT_FOUND** = `-113`;
***
Thanks to the authors of the original fingerprint plugins
Some code is refactored from their projects and I learned how to make Cordova plugins from their great plugins:
@EddyVerbruggen and @mjwheatley
[Android](https://github.com/mjwheatley/cordova-plugin-android-fingerprint-auth)
[iOS](https://github.com/EddyVerbruggen/cordova-plugin-touch-id)
Starting with version 3.0.0 the iOS and Android parts are written from scratch.
## License
The project is MIT licensed: [MIT](https://opensource.org/licenses/MIT).
# Cordova Plugin Fingerprint Aio
# Customized
local_plugins\cordova-plugin-fingerprint-aio\1.7.0\cordova-plugin-fingerprint-aio\plugin.xml
- Added custom message return to cordova when passcode is locked (IOS).
## Getting started
- biometric dependecy upgrade - build.gradle
upgrade to androidx.biometric:biometric:1.1.0
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
- added import at line 15
import androidx.biometric.BiometricManager;
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
- added at line 95 - method createPromptInfo
.setAllowedAuthenticators(BiometricManager.Authenticators.BIOMETRIC_STRONG)
## Add your files
===
file changed(apps/showroom-mb/local_plugins/cordova-plugin-fingerprint-aio/5.0.1/cordova-plugin-fingerprint-aio/package.json)
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
Remove "cordova-paramedic": "git+https://github.com/apache/cordova-paramedic", from devdependencies to settle NPM audit vulnerabilities problem
```
cd existing_repo
git remote add origin http://dev.silverlakemobility.com/gitlab/cordova-custom/cordova-plugin-fingerprint-aio.git
git branch -M main
git push -uf origin main
```
# Installation
## Integrate with your tools
If your platforms having the existing plugin, remove it first. Make sure platforms & plugins do not have the plugins.
- [ ] [Set up project integrations](http://dev.silverlakemobility.com/gitlab/cordova-custom/cordova-plugin-fingerprint-aio/-/settings/integrations)
- Remove plugin
cordova plugin rm cordova-plugin-fingerprint-aio
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
- Add plugin
cordova plugin add ./apps/showroom-mb/local_plugins/cordova-plugin-fingerprint-aio/5.0.1/cordova-plugin-fingerprint-aio
# Security Policy
>This is side project of me. I only work on it on my free time. I try to do my best to keep this project working securely but I cannot guarantee any stability and security fixes or fixes for future OS version. Please consider the steps below before publishing security related bugs.
## Supported Versions
The latest version of the plugin is the only supported version right now. This might change if breaking changes (like a version 2) is introduced.
[README.md](..%2F..%2Fhlfsg%2Fcode%2Fhlf-dfe-R1S1%2Fshowroom-nx%2Fapps%2Fshowroom-mb%2Flocal_plugins%2Fcordova-plugin-fingerprint-aio%2F5.0.1%2Fcordova-plugin-fingerprint-aio%2FREADME.md)
The only supported iOS version is the latest stable release. The most used Android versions are covered under a best effort basis.
## Reporting a Vulnerability
If you encounter any security related issues please contact me via the e-mail from my [Github](https://github.com/niklasmerz) profile before publishing it. Just hit me up that you have found a bug. You should use PGP if you want to send sensible information to me but I would prefer to use the Github tools. I will add you to the private discussion to go into detail.
I will create a new security advisory as soon as possible. Security advisories allow us to discuss the issue privatly and work on a solution before releasing any details.
Keybase is another secure channel: https://keybase.io/niklasmerz
{
"name": "cordova-plugin-fingerprint-aio",
"version": "5.0.1",
"description": "Cordova plugin to use fingerprint authentication on Android and iOS",
"cordova": {
"id": "cordova-plugin-fingerprint-aio",
"platforms": [
"android",
"ios"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/niklasmerz/cordova-plugin-fingerprint-aio"
},
"keywords": [
"cordova",
"plugin",
"android",
"fingerprint",
"authentication",
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"ios"
],
"author": "Niklas Merz",
"funding": "https://github.com/sponsors/NiklasMerz",
"license": "MIT",
"bugs": {
"url": "https://github.com/niklasmerz/cordova-plugin-fingerprint-aio/issues"
},
"homepage": "https://github.com/niklasmerz/cordova-plugin-fingerprint-aio#readme",
"devDependencies": {
"cordova-plugin-xml": "^0.1.2",
"eslint": "^6.5.1",
"jasmine": "^3.2.0"
},
"scripts": {
"test": "npm run eslint",
"eslint": "npx eslint www",
"test-travis": "npm run test-ios",
"test-appveyor": "npm run test-browser",
"test-local": "npm run test-browser && npm run test-android && npm run test-ios",
"test-android": "npx cordova-paramedic --platform android --plugin $(pwd) --verbose",
"test-ios": "npx cordova-paramedic --platform ios --plugin $(pwd) --verbose",
"test-windows": "npx cordova-paramedic --platform windows --plugin $(pwd)",
"test-browser": "npx cordova-paramedic --platform browser --plugin $(pwd)",
"test-saucelabs": "npm run test-saucelabs-ios && npm run test-saucelabs-android",
"test-saucelabs-ios": "npx cordova-paramedic --config ./pr/ios-10.0 --plugin $(pwd) --shouldUseSauce",
"test-saucelabs-android": "npx cordova-paramedic --config ./pr/android-7.0 --plugin $(pwd) --shouldUseSauce",
"plugin-version": "cordova-plugin-xml setVersion"
},
"engines": {
"cordovaDependencies": {
">=3.0.0": {
"cordova-android": ">=8.0.0"
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-fingerprint-aio" version="5.0.1">
<name>FingerprintAllInOne</name>
<description>Cordova plugin to use fingerprint on Android and iOS</description>
<license>MIT</license>
<keywords>cordova,plugin,android,fingerprint,authentication,ios</keywords>
<repo>https://github.com/niklasmerz/cordova-plugin-fingerprint-aio.git</repo>
<issue>https://github.com/cordova-plugin-fingerprint-aio/issues</issue>
<js-module src="www/Fingerprint.js" name="Fingerprint">
<clobbers target="Fingerprint"/>
</js-module>
<!-- ios -->
<platform name="ios">
<header-file src="src/ios/Bridging-Header.h" type="BridgingHeader"/>
<source-file src="src/ios/Fingerprint.swift"/>
<config-file target="config.xml" parent="/*">
<feature name="Fingerprint">
<param name="ios-package" value="Fingerprint"/>
</feature>
</config-file>
<!-- Usage description of Face ID for iOS 11+ -->
<preference name="FACEID_USAGE_DESCRIPTION" default=" "/>
<config-file target="*-Info.plist" parent="NSFaceIDUsageDescription">
<string>$FACEID_USAGE_DESCRIPTION</string>
</config-file>
</platform>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<platform name="android">
<preference name="AndroidXEnabled" value="true"/>
</platform>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Fingerprint">
<param name="android-package" value="de.niklasmerz.cordova.biometric.Fingerprint"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="de.niklasmerz.cordova.biometric.BiometricActivity" android:theme="@style/TransparentTheme" android:exported="false"/>
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference"/>
<resource-file src="src/android/res/biometric_activity.xml" target="res/layout/biometric_activity.xml"/>
<resource-file src="src/android/res/styles.xml" target="res/values/biometric-styles.xml"/>
<source-file src="src/android/PromptInfo.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/BiometricActivity.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/BiometricActivityType.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/Fingerprint.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/PluginError.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/Args.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/CryptographyManager.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/CryptographyManagerImpl.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/EncryptedData.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/CryptoException.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
<source-file src="src/android/KeyInvalidatedException.java" target-dir="src/de/niklasmerz/cordova/biometric"/>
</platform>
<engines>
<engine name="cordova-android" version=">=9.0.0"/>
</engines>
</plugin>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment