All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Merged
Support external pin validation
PR PR 170 from leo-maidea
- Merged
Feature launch touch id from pin pad
PR PR 142 from NetPumi2 - Merged
Fix keychain error android
PR 144 from szlezak
- Added a test to prevent TouchID being undefined Issue 141
- Fixed the delete button issue Issue 130
- Bumped react-native-keychain to 5.0.1
- Merged rn0.61 PR PR 127
- Added
customBackSpaceIcon
andlockedIconComponent
properties after Galimpian pull request. Related issue and pull request: (Issue 99) (PR 100)
- Made an mistake in the previous bug fix.
- Fixed an issue with the
colorPasswordEmpty
property. Related issue: (Issue 98).
- Changed the styling to use the full width. Related issue: (Issue 84).
- Change the behaviour of the error handling in PinEnter to be consistent with PinChoose. Related issue: (Issue 82).
- Change the TouchID config to allow the
passcodeFallback
. Related issue: (Issue 83).
- Added the
textCancelButtonTouchID
property. Related issue: (Issue 78).
- Fixed a require cycles warning. Related issue: (Issue 77).
- Changed AsyncStorage to use the react-native-community module. Related issue: (Issue 76).
- Added
colorPasswordEmpty
property. Related issue: (Issue 52).
- Added
stylePinCodeCircle
property. Related issue: (Issue 74).
- Merged Kevin Wolf pull request trying to fix an issue with Keychain (PR 72).
- Added a property to change the color of the circle buttons. Related issue: Issue 69.
- Added a property to trigger a callback on TouchID error. Related issue: Issue 67.
- Update react-native-touch-id to v4.4.1
- Added an attribute to change the title of the touchID popup on Android. Related issue: Issue 65.
- Fixed the TouchID trigger to allow to change it in the state. Related issue: Issue 64.
- Added the compiled files from the previous 2 versions. Related issue: Issue 63.
- Added the new
finishProcess
function in PinCodeChoose. Related issue: Issue 63.
- Added an attribute to the
finishProcess
function to return the pinCode to the user. Related issue: Issue 63.
- Added an attribute to handle the end process. Related issue: Issue 59.
- Removed unused dependency. Related issue: Issue 60
- Removed React deprecated methods. Related issue: Issue 58
- Changed the way the password coming from the keychain is handled. Related issue: Issue 56
- Merged tombaki pull request fixing a couple of issues.
- Fixed an issue after the Keychain function change.
- Removed an unused property that could have been confusing.
- Fixed the way Keychain was used.
setGenericPassword()
andgetGenericPassword()
. Those functions do not allow the user to provide a service name to store the pincode under, resolving in conflicts if using the Keychain somewhere else in the app. Fixed by usingsetInternetCredentials()
andgetInternetCredentials()
. Related issue: Issue 55.
- Fixed an issue caused by the
onFail
property. If the component gets unmounted in theonFail
method it would result in a warning about setting the state on an unmounted component because of the animation of failure (shake). Added a 1500ms delay to prevent this issue. Related issue: Issue 54.
- Added an property to disable the lock screen. Related issue: Issue 51.
- Added an attribute to provide a custom component to replace the bottom left empty space. Related issue: Issue 49.
- Added a function to allow the user to delete the PIN code stored in the Keychain. Related issue: Issue 50.
- Changed the copyright name on the LICENSE file.
- Fixed an issue where the onFail and the handleResultPin functions where not triggered as expected. Related issue: Issue 48.
- Merged Dimon70007 pull request adding a missing property on PinCodeChoose file.
- Merged marla-singer pull request fixing the timer of the locked page.
- Merged tskorupka pull request adding a property to change the subtitle of the locked page. Issue 41.
- Updated react-native-touch-id version to 4.1.0 to get the localization fix. Related issue: Issue 24.
- Added
validationRegex
andtitleValidationFailed
properties to check the PIN code entered by the user against a provided RegExp. Related issue: Issue 32.
- Added
pinCodeVisible
,textPasswordVisibleFamily
andtextPasswordVisibleSize
properties to allow the user to see the PIN code they're entering. Related issue: Issue 37.
- Fixed an issue with the pin code not component not resetting after a lock. Fix provided by marla-singer. Related issue: Issue 38.
- Added
getCurrentPinLength
property to make thepasswordComponent
property usable. Related issue: Issue 34.
- Buttons layout broken.
- Added
stylePinCodeHiddenPasswordSizeEmpty
andstylePinCodeHiddenPasswordSizeFull
properties. Related issue: Issue 29.
- Merged Dimon70007 pull request fixing the align center for the icon in the delete button.
- Fixed an issue with the stylePinCodeDeleteButtonColorHideUnderlay property. Related issue: Issue 25.
- Merged marla-singer pull request updating the version of react-native-easy-grid.
- Exposed a new function
hasUserSetPinCode
to know if a user already set a PIN code with the package.
- Merged stephenkopylov pull request adding a onFail function triggered when user enters a wrong password.
- Added a prop to remove the icon on the delete button of the PIN panel. Related issue: Issue 19.
- Changed the react-native-touch-id version to fix a crash on iOS. Related issue: Issue 20.
- Added a prop to change the text of the delete button. Related issue: Issue 19.
- Merged neutrous pull request allowing to avoid the use of Keychain, and preventing YellowBox.
- License file
- Readme
- Merged mikecann pull request adding a finish process function to the choose pin flow.
- Merged Panda-ref pull request fixing the lock page main container style.
- Changelog
- MIT license
- Merged stephenkopylov pull request adding color props for dots on error state and color props for buttons (normal and selected state).
- Added props to change the color of the title and the subtitle. Related issue: Issue 9.
- Added types for the style props.
- Added props to disable the TouchID/FaceID. Related issue: Issue 8.
- Added styling props on the components.
- Pincode not resetting after the lock screen. Related issue: Issue 4.
- Animation on the pincode dots was a bit messy when resetting the password.
- Changed the react-native-touch-id again to use a fork fixing the issue.
- Changed the react-native-touch-id version to fix a crash on android. Related issue: Issue 3.
- .gitignore file
- Removed the node_modules and the .idea workspace.
- Fixed a bug on the lock page causing the timer to take negative values.
- Added the project as used in my company's React Native application.