Comments (13)
Yep any day now.
from react-native-touch-id.
Master has a fix for this now, but is not yet released. will be bumped soon
from react-native-touch-id.
Same here ! Reproducing this bug on physical devices and emulators as well.
from react-native-touch-id.
It looks like the native Callback implementation only allows invoking it once:
https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/bridge/CallbackImpl.java
from react-native-touch-id.
Thanks for reporting this issue!
I can take a look in the coming days/weeks for a workaround - in the meantime feel free to open a PR if this is breaking for you!
from react-native-touch-id.
Yeah we fixed this issue using promises since there is a mix of callbacks and promises it falls into the multiple callback issue. While using promises you don't have this issue since you don't send any more callback to native.
from react-native-touch-id.
Hi @indieocean , could you please share what you've done? Thanks a lot!
from react-native-touch-id.
Guys, could anyone consult when npm release with this bug fix will be shipped? Current release version is 4.0.0 and we are waiting for 4.x.x with the fixes. Thanks in advance.
from react-native-touch-id.
I also have this problem yet,Did not solve it?
from react-native-touch-id.
@ycb0318 This has been out for a while in 4.0.1+
from react-native-touch-id.
@naoufal Please reopen this issue since it's still happening in 4.0.4 on android.
from react-native-touch-id.
@johakr Can you post any more details about what's happening for you. I can't reproduce on latest.
from react-native-touch-id.
java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code. at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:28) at com.rnfingerprint.DialogResultHandler.onError(DialogResultHandler.java:22) at com.rnfingerprint.FingerprintDialog.onError(FingerprintDialog.java:147) at com.rnfingerprint.FingerprintHandler.onAuthenticationFailed(FingerprintHandler.java:43) at android.hardware.fingerprint.FingerprintManager$MyHandler.sendAuthenticatedFailed(FingerprintManager.java:1320) at android.hardware.fingerprint.FingerprintManager$MyHandler.handleMessage(FingerprintManager.java:1227) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6944) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
from react-native-touch-id.
Related Issues (20)
- Is there a way to save the Touch ID string to Keystore?
- lost text,messages
- how to check touch id inside screen HOT 1
- Is it valid for expo? HOT 1
- TypeError: Cannot read property 'isSupported' of undefined HOT 5
- Do not use this library in sensitive applications HOT 2
- can't seem to get the error of unmatched finger print
- Android Face ID never working. HOT 5
- Hide dialog window on android if native dialog is opening
- Compile time error in react-native-web-app HOT 1
- Is this package still going to be maintained HOT 5
- Increase the number of authentication attempts to 4 or 5 times instead of 2 (IOS)
- passcodeFallback related issue HOT 2
- How To Detecting FaceID/TouchID Were Have Changed
- IS this package being maintained now? HOT 2
- How to get the number of fingerprint registrations?
- Error : LAErrorAuthenticationFailed Authentication could not start because Touch ID has no enrolled fingers.
- Reac-native-touch-id doesn't recognize faceid in android 10 and above. HOT 2
- Support new React Native new architecture (TurboModules/Fabric) HOT 1
- How can i change touch id modal UI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-touch-id.