From a3c4165ed713012bc3483d66bd1277a8024debff Mon Sep 17 00:00:00 2001 From: Brandon Hines Date: Wed, 10 Jul 2019 21:12:45 -0500 Subject: [PATCH] updated changelog and version for 1.6.0 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f1c12d..e4e0086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [1.6.0] - 2019-7-10 +### Changed +- Disabled use password option on iOS by default +- Detected if keys exists before trying to delete them and returned false in promise result in order to prevent error from occurring + ## [1.5.2] - 2019-5-9 ### Changed - Fixed android compilation error by re-organizing order of gradle repositories @@ -80,3 +85,4 @@ All notable changes to this project will be documented in this file. [1.5.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.4.0...1.5.0 [1.5.1]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.0...1.5.1 [1.5.2]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.1...1.5.2 +[1.6.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.5.2...1.6.0 diff --git a/README.md b/README.md index 6128133..76ecf65 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,6 @@ This package requires an iOS target SDK verion of iOS 10 or higher Ensure that you have the `NSFaceIDUsageDescription` entry set in your react native iOS project, or Face ID will not work properly. This description will be will be presented to the user the first time a biometrics action is taken, and the user will be asked if they want to allow the app to use Face ID. If the user declines the usage of face id for the app, the `isSensorAvailable` function will return `null` until the face id permission is specifically allowed for the app by the user. -NOTE: No biometric prompt is displayed in iOS simulators when attempting to retrieve keys for signature generation, it only occurs on actual devices. - #### Android This package requires a compiled SDK version of 23 (Android 6.0 Marshmallow) or higher @@ -154,6 +152,8 @@ Biometrics.deleteKeys() Prompts the user for their fingerprint or face id in order to retrieve the private key from the keystore, then uses the private key to generate a RSA PKCS#1v1.5 SHA 256 signature. Returns a `Promise` that resolves to a base64 encoded string representing the signature. +NOTE: No biometric prompt is displayed in iOS simulators when attempting to retrieve keys for signature generation, it only occurs on actual devices. + __Arguments__ - `promptMessage` - string that will be displayed in the fingerprint or face id prompt diff --git a/package-lock.json b/package-lock.json index a3685db..087ec63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "1.5.2", + "version": "1.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 943ece2..e0f4f86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "1.5.2", + "version": "1.6.0", "summary": "A React Native library for biometrics", "description": "React Native biometric functionality for signing and encryption", "main": "lib/index.js",