Brandon Hines
ddb99c1023
added the native android error message to all rejections
2019-11-19 16:08:19 -06:00
Brandon Hines
74c2b30d8c
refactored functions to return response objects for better extensibility
2019-11-18 12:25:03 -06:00
Brandon Hines
1e62c42082
refactored functions to take options objects instead of specific parameters
2019-11-15 16:59:39 -06:00
Brandon Hines
8179ac1b58
added a public function to check if keys exist and some ios code cleanup
2019-11-15 16:24:07 -06:00
Brandon Hines
bfbeaa4dd1
some code cleanup
2019-11-15 15:45:18 -06:00
Brandon Hines
64ab242161
properly handled the cancelled scenario for simple prompt
2019-11-15 14:41:46 -06:00
Brandon Hines
980d028d76
deleted old UI code that is no longer used
2019-11-12 23:57:47 -06:00
Brandon Hines
b77d5179d1
refactored createSignature to use the androidx biometric prompt api
2019-11-12 23:29:24 -06:00
Brandon Hines
2d45e79d15
refactored create keys to always create keys without prompting for biometrics
2019-11-12 23:26:31 -06:00
Brandon Hines
1b4eb0ac88
refactored isSensorAvailable to use androix biometric manager
2019-11-12 22:56:56 -06:00
Brandon Hines
e8c443f160
refactored simple prompt to use androix biometric prompt api
2019-11-12 22:32:20 -06:00
Brandon Hines
13296cfab1
updated gradle and android sdk versions
2019-11-05 16:18:36 -06:00
Brandon Hines
5888ab1e43
removed app compat dependency for androidx compatibility
2019-11-05 15:39:59 -06:00
Brandon Hines
db554e7e3f
#36 returned false from delete keys when there are no keys instead of throwing an error
2019-07-08 15:38:48 -05:00
edug
25fff77b31
Error when compiling
...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':react-native-biometrics'.
> Could not resolve all artifacts for configuration ':react-native-biometrics:classpath'.
> Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
2019-05-09 11:33:11 -03:00
Brandon Hines
a01daf9069
refactored the create keys functions so that it only shows a prompt if a prompt message is provided
2019-04-17 21:34:40 -05:00
Brandon Hines
00dcdc425c
Added a podspec file and updated version to 1.4.0
2019-04-03 17:20:11 -05:00
Brandon Hines
36a6cacd7e
added a simple prompt function for simply displaying a biometric prompt
2019-01-24 15:55:03 -06:00
Brandon Hines
9669c25fb0
upgraded default android sdk to 28, added ability to override android versions, and updated package version to 1.2.0
2018-11-29 23:07:46 -06:00
Brandon Hines
4be442b9a7
fixed gitignore and npmignore files to properly exclude unimportant files
2018-10-09 16:43:26 -05:00
Brandon Hines
b4fc0b4c1b
removed retain instance from the biometrics dialog to prevent android from saving and recreating the fragment outside of the react native js thread, which could result in a null pointer exception
2018-06-11 16:19:37 -05:00
Brandon Hines
5a316f596f
made sure to only call onCancel callback when the dialog is actually cancelled or dismissed via button to prevent multiple promise reject calls
2018-05-03 13:30:21 -05:00
Brandon Hines
aed97aada9
used dismissAllowingStateLoss to dismiss the biometrics dialog because we don't care about saving state and to prevent illegal state exceptions that might crash an app
2018-05-03 13:25:56 -05:00
Brandon Hines
632a9835e6
initial commit
2018-04-12 16:09:04 -05:00