Commit Graph

184 Commits

Author SHA1 Message Date
Marcos Rodriguez Vélez
ce64467368
Update ReactNativeFingerprintScanner.m 2020-09-08 19:56:47 -04:00
Marcos Rodriguez Vélez
5988a07c31
Update ReactNativeFingerprintScanner.m 2020-09-08 00:07:36 -04:00
Phill Baker
910e563bb5 Bump version. 2020-06-13 18:15:48 -04:00
Iagor Moraes
0d9f8219cb
Fix NPE on BiometricPrompt instance (#141)
* update lock

* check fragment activity
2020-06-11 22:24:26 -04:00
Phillip Baker
4cea388974 Bump version. 2020-05-05 08:58:09 -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
Phillip Baker
94e26dd916 Bump version. 2020-05-03 10:53:12 -04:00
Phecda Su
7b3f8e5501
feat(types): improve type declaration (#136) 2020-05-01 00:04:43 -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
MaoApp
ce0ec2c2f2
fix function call in implementation android example (#122) 2020-02-05 23:07:51 -05:00
Aishwary Raj
4a22b4dea9 pass required args (#117) 2020-01-28 11:42:28 -05:00
Frank Kotsianas
57556a4f2f
Merge pull request #115 from fkotsian/features/android-biometricx-faceid
Upgrade android to use new BiometricPrompt API
2020-01-24 18:01:37 -05:00
Frank Kotsianas
879babbd33 typo version 2020-01-24 16:17:41 -05:00
Frank Kotsianas
45b98e7646 debug auth args 2020-01-23 23:34:49 -05:00
Frank Kotsianas
256adff995 debug 2020-01-23 19:56:59 -05:00
Frank Kotsianas
90e10d0aef Add deprecation warning to README 2020-01-23 13:49:33 -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
af7f5e8a1a Update README with changes for Android <23 compat 2020-01-23 13:21:02 -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
426defd52a Cleanup and update Package spec 2020-01-15 17:50:18 -05:00
Frank Kotsianas
ee5b97bdd2 Update README 2020-01-15 17:09:27 -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
Phillip Baker
28a7e58194
Merge pull request #109 from petekp/patch-1
Update README with correct permission for API 28+
2019-11-17 12:39:06 -05:00
Pete
938bce2484
Update README with correct permission for API 28+ 2019-11-15 09:18:33 -08:00
dependabot[bot]
c0065278b4
Merge pull request #107 from hieuvp/dependabot/npm_and_yarn/examples/lodash-4.17.15 2019-11-05 02:13:36 +00:00
dependabot[bot]
de8a5bd7df
Bump lodash from 4.17.11 to 4.17.15 in /examples
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-02 18:57:33 +00:00
Phillip Baker
faa36ca188 3.0.2 2019-10-24 07:37:46 -04: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
Salomão Luiz de Araújo Neto
4209ba62ee Fixed types of onAttempt and isSensorAvailable (#103)
* fix types of onAttempt and isSensorAvailable

* fix the description of isSensorAvailable
2019-10-21 09:44:06 -04:00
Phillip Baker
9a698e2a13 3.0.1 2019-10-20 17:25:25 -04:00
Salomão Luiz de Araújo Neto
a1d25edca5 feat: Add types to support typescript (#100)
* feat: Add types to support typescript

* Changed the export default to correctly.
2019-10-17 10:13:56 -04:00
Phillip Baker
aa85e11a8e
Merge pull request #97 from sahil290791/master
Update README.md with linking needed for RN < 0.60
2019-09-14 19:44:40 -04:00
Sahil Prajapati
99a60de1fb
Update README.md with linking needed for RN < 0.60
As the project is supporting RN >= 0.60, [linking is automatically done](https://facebook.github.io/react-native/blog/2019/07/03/version-60#native-modules-are-now-autolinked).
2019-09-14 06:57:25 +05:30
Phillip Baker
6604f44098 Add testing on travis. 2019-09-08 17:08:29 -04:00
Phillip Baker
9f1b37b836
Merge pull request #92 from imdaniele/react_context
React context
2019-08-29 21:37:56 -04:00
imdaniele
04640c43f2 android - use mReactContext instead of getCurrentActivity 2019-08-28 21:11:38 -04:00
Phillip Baker
cfa907b4de Bump version for androidx and podspecs. 2019-08-12 07:18:46 -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
77b4dba0e6 2.6.2 2019-07-11 19:01:23 -04:00
Phillip Baker
894bbade98 examples: Fix android caching fingerprint state in native code.
Closes https://github.com/hieuvp/react-native-fingerprint-scanner/issues/66.
2019-07-10 09:25:16 -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
2fea1bfcc5 Clarify peer dependencies and break at 0.60 for androidx. 2019-07-07 10:53:45 -04:00