Git Product home page Git Product logo

Comments (13)

zibs avatar zibs commented on September 24, 2024 4

Yep any day now.

from react-native-touch-id.

zibs avatar zibs commented on September 24, 2024 1

Master has a fix for this now, but is not yet released. will be bumped soon

from react-native-touch-id.

aguscasaletti avatar aguscasaletti commented on September 24, 2024

Same here ! Reproducing this bug on physical devices and emulators as well.

from react-native-touch-id.

aguscasaletti avatar aguscasaletti commented on September 24, 2024

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.

zibs avatar zibs commented on September 24, 2024

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.

indieocean avatar indieocean commented on September 24, 2024

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.

marcorm avatar marcorm commented on September 24, 2024

Hi @indieocean , could you please share what you've done? Thanks a lot!

from react-native-touch-id.

MikhailSemichev avatar MikhailSemichev commented on September 24, 2024

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.

ycb0318 avatar ycb0318 commented on September 24, 2024

I also have this problem yet,Did not solve it?

from react-native-touch-id.

zibs avatar zibs commented on September 24, 2024

@ycb0318 This has been out for a while in 4.0.1+

from react-native-touch-id.

johakr avatar johakr commented on September 24, 2024

@naoufal Please reopen this issue since it's still happening in 4.0.4 on android.

from react-native-touch-id.

zibs avatar zibs commented on September 24, 2024

@johakr Can you post any more details about what's happening for you. I can't reproduce on latest.

from react-native-touch-id.

johakr avatar johakr commented on September 24, 2024

@zibs

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.