Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] App crash with error ILLegal callback invocation from native module. #639

Closed
kevin-mcs opened this issue Jan 9, 2023 · 5 comments

Comments

@kevin-mcs
Copy link

kevin-mcs commented Jan 9, 2023

Bug Report

Current behavior

Android app crashes whenever I try to Connect for video session in my application it crashes in sometimes.

Steps to reproduce

My Project version and package version
"opentok-react-native": "0.20.4",
"react": "17.0.2"
"react-native": "0.68.2",

What is the current bug behavior?

Android app crashes whenever I try to Connect for video session in my application it crashes after some seconds with below error in Android studio log-cat.

FATAL EXCEPTION: mqt_native_modules
Process: com.fiverr.doctorapp, PID: 29657
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:26)
    at com.opentokreactnative.OTSessionManager.onConnected(OTSessionManager.java:593)
    at com.opentok.android.Session.c (Unknown Source:4)
    at com.opentok.android.Session.$r8$lambda$S(g80MmHLagUV9v3S490eoPGMuc(Unknown Source:0)
    at com. opentok.android.Session$$ExternalSyntheticLambda30.run(Unknown Source:2)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage (Handler.java: 100)
    at android.os.Looper.Loop(Looper. java: 214)
    at com.facebook.react.bridge.queue.MessageQueueThreadImpL$4.run(MessageQueue

Relevant logs and/or screenshots

Screenshot 2023-01-09 at 3 27 27 PM

@abdulajet
Copy link
Contributor

can you try the lastest version of the library please?

@kevin-mcs
Copy link
Author

kevin-mcs commented Jan 12, 2023

can you try the lastest version of the library please?

Yes I have tried with latest version also. But same issue is happening. @abdulajet

@pietgk
Copy link
Contributor

pietgk commented Sep 18, 2023

any status update regarding this issue?

@beHaze
Copy link

beHaze commented Jun 26, 2024

We have released 2.27.6, try with this version. Please reach out to Vonage support (https://api.support.vonage.com/hc/en-us) if you’re still facing issues.

@beHaze
Copy link

beHaze commented Aug 7, 2024

We haven't heard back from you for a while, so we're closing this issue for now. Please, reach out if you still need help.

@beHaze beHaze closed this as completed Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants