Commit Graph

43 Commits

Author SHA1 Message Date
Iagor Moraes
0d9f8219cb
Fix NPE on BiometricPrompt instance (#141)
* update lock

* check fragment activity
2020-06-11 22:24:26 -04:00
SaeedZhiany
7e30ab9828
Update build.gradle (#104)
changed deprecated 'compile' keyword to 'implementation'
2020-05-04 09:11:18 -04:00
java-james
770465db16
feat: return additional biometric statuses (#131)
* feat: return device lockout on biometrics status

* feat: Add more error management in ios authenticate

* fix: biometrics lockout error code mapping

* refactor: remove un-needed errors

Co-authored-by: Aiden Petersen <aiden.petersen@mattr.global>
2020-05-04 09:11:01 -04:00
Nathan R
4c7145aa7a
Added Cancelbutton text option, new description and subtitle text when requesting fingerprint ID for better customization (#120)
* Add all android biometrics parameters
* description become title if title not set
2020-04-29 22:25:51 -04:00
Frank Kotsianas
256adff995 debug 2020-01-23 19:56:59 -05:00
Frank Kotsianas
8c811d8860 Tests caught stuff; good tests 2020-01-23 13:44:45 -05:00
Frank Kotsianas
c3283a67bd titleText -> description for consistency with iOS 2020-01-23 13:25:17 -05:00
Frank Kotsianas
dfcfce6c74 Add legacy (Samsung & MeiZi, Android < 23) support back
- ugly as all heck, but OK
2020-01-23 13:04:43 -05:00
Frank Kotsianas
09cd6ccf1e debug, update some doc
- still needs package update to switch to old package for old versions
2020-01-22 15:38:56 -05:00
Frank Kotsianas
38b39a73ac debug, document 2020-01-17 14:12:09 -05:00
Frank Kotsianas
6078d0a792 Return new constant BIOMETRICS from isSensorAvailable
- unfortunately does not differentiate between FINGERPRINT and FACE_ID
   - uses default device biometric type
- attempts to pass titleText string through from React to authenticate()
Javaland method
2020-01-15 16:41:51 -05:00
Frank Kotsianas
f1963529ec Add androidx-specific error messages 2020-01-15 14:59:25 -05:00
Frank Kotsianas
937daae215 clean up RNFSModule
- remove event emitters (now handled in promise rejection)
- correctly pass promise around
- keep lifecycleListeners for onHostDestroy
- return native lib error codes to be captured & translated
2020-01-15 11:57:42 -05:00
Frank Kotsianas
e38a26fbe6 WIP: needs error msgs, investigate Listeners, otherwise, should be good
to go?

- idk, load it up on local & convert the android Biopopup modal to ios
and see if we can auth in
  - also see if we can cancel, shee
2020-01-14 18:53:36 -05:00
Frank Kotsianas
b372c404c2 Encapsulate logic for FingerprintIdentify (changes no business logic)
- switch based on Android API level
2020-01-14 16:08:46 -05:00
SaeedZhiany
4101590a71 Update build.gradle (#101)
* Update build.gradle

Load Android Gradle Plugin conditionally and change 'compile' to 'implementation'

* Update build.gradle

revert changes `implementation` to `compile` due to breaking change.
2019-10-22 10:11:19 -04:00
imdaniele
04640c43f2 android - use mReactContext instead of getCurrentActivity 2019-08-28 21:11:38 -04:00
Phillip Baker
7e828060e3 Add react-native >= 0.60 support.
* Add new dependency config
* Add podspec
* Update android depdendency for androidx support
2019-08-12 07:16:40 -04:00
Phillip Baker
a332155392 Add device type to error output.
This changes the API of the internal function `createError` to take name and biometric type. It jams the biometric type into the error message, since that was not being used and is available across platforms.
2019-07-10 09:24:33 -04:00
Phillip Baker
1df89307e5 Revert "Bump Android's fingerprintidentify to 1.2.6."
This reverts commit a0f0993544.

1.2.1 is the last version compatible with non-androidx. See https://github.com/uccmawei/FingerprintIdentify/issues/74 (translation https://translate.google.com/translate?depth=1&rurl=translate.google.com&sl=zh-CN&sp=nmt4&tl=en&u=https://github.com/uccmawei/FingerprintIdentify/issues/74)
2019-05-29 20:27:33 -04:00
Phillip Baker
a0f0993544 Bump Android's fingerprintidentify to 1.2.6.
See https://github.com/uccmawei/FingerprintIdentify/blob/master/README.md for changelog.
2019-05-28 10:30:19 -04:00
Panda张
cd94b98497 Add the safeExtGet function to adapt custom version of buildTools, compileSdk and targetSdk (#78) 2019-05-23 07:51:55 -04:00
Anna Doubkova
07ffbc6928 Add annotation to enable lazy/turbo packaging 2019-04-30 10:07:52 +02:00
Weslley Rocha
294e26163a Add support for device locked 2018-09-19 09:49:58 -03:00
Phillip Baker
bac6f8d414
Merge pull request #37 from chris-griffin/feature/face-id
Add support for Face ID
2018-09-07 10:43:21 -04:00
Chris Griffin
af7c61d6d8
Add support for Face ID 2018-09-07 10:33:19 -04:00
Sergei Yeryomin
f2198208e1 fix multiple instances of mFingerprintIdentify 2018-02-19 12:38:58 +02:00
Hieu Van Phu
ee6ca4eb64 refactor(android): reformat java code 2018-01-27 11:29:23 +07:00
Aaditya Shah
747c049a89 Android ISSUE: User deletes fingerprints on device and re-add's them 2018-01-15 13:56:57 -05:00
Tom Meier
86fa975121 Remove deprecated override for react native 0.47 while keeping compatibility for < 0.47 2017-08-30 17:24:02 +10:00
Hieu Van
387227a0c5 rename errors 2017-06-09 14:38:28 +07:00
Hieu Van
3f3951b72b cleanup bugs 2017-06-07 14:26:23 +07:00
Hieu Van
928ff6023a optimize memory 2017-06-07 12:04:45 +07:00
Hieu Van
fb17f828af make fingerprint scanner resumable 2017-06-07 11:27:03 +07:00
Hieu Van
12f00d0cb1 android authenticate API implementation 2017-06-07 11:07:37 +07:00
Hieu Van
37adcabc26 android authenticate API skeleton 2017-06-06 23:32:04 +07:00
Hieu Van
46d57ed3ac release implementation 2017-06-06 22:38:13 +07:00
Hieu Van
deea218781 Implement isSensorAvailable for Android 2017-06-06 20:36:20 +07:00
Hieu Van
8b1ce8baa3 seperate js files into different OSes 2017-06-06 19:41:27 +07:00
Hieu Van
f120ea992f add fingerprintidentify lib for android 2017-06-06 19:09:29 +07:00
Hieu Van
5072c4b223 cleanup android module 2017-06-02 16:49:51 +07:00
Hieu Van
db5922092e update package.json 2017-06-02 16:27:21 +07:00
Hieu Van Phu
1b3b8d430d initial commit 2017-06-02 15:55:16 +07:00