question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] App crashes when hermes is enabled

See original GitHub issue

Description

We use JitsiMeet SDK on our app Rocket.Chat.ReactNative and recently enabled hermes engine, but when we try to open a call, App Crashes with this error from JitsiMeet SDK: couldn't find DSO to load: libjscexecutor.so caused by: dlopen failed: library "libjsc.so" not found

A reproducible demo is here.

I tried update JitsiMeet SDK to 2.5 and 2.6, without success.

I fixed it using a self-builded sdk with these changes on ReactInstanceManagerHolder.java: a I think you can check if hermes is enabled or disabled to use different JS Executor Factory.

Environment details

JitsiMeet Android SDK 2.4.0 React Native 0.61.5 Hermes enabled

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
zhenghow93commented, Apr 10, 2020

Hi @saghul , I’m using sdk v2.6.0 and am trying to use the SDK without enabling Hermes at the moment too. Would it be sufficient to undo the changes in these 2 PR (https://github.com/jitsi/jitsi-meet/pull/4977/files & https://github.com/jitsi/jitsi-meet/pull/5032/files) to revert the use of Hermes?

@SeveHo this worked for me.

2reactions
zhenghow93commented, Apr 10, 2020

Hi @saghul , I’m using sdk v2.6.0 and am trying to use the SDK without enabling Hermes at the moment too. Would it be sufficient to undo the changes in these 2 PR (https://github.com/jitsi/jitsi-meet/pull/4977/files & https://github.com/jitsi/jitsi-meet/pull/5032/files) to revert the use of Hermes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Hermes - React Native
Edit your android/app/gradle.properties file and make sure hermesEnabled is true: # Use this property to enable or disable the Hermes JS engine.
Read more >
React Native build with productFlavors and hermes enabled ...
I tried to build my app using azure pipelines with this command assembleDevelopRelease . The build is successful but crashes on splashscreen ...
Read more >
Using Hermes in React Native - LogRocket Blog
This promises to be a major shift in the React Native mobile app development ... Using Hermes in React Native; Enabling Hermes on...
Read more >
ReactNative App Crashes when Deployed to TestFlight
... the app crashes immediately upon opening the app. The app is built using ReactNative 0.67.2 and the app has Hermes disabled.
Read more >
App fixes flagged on Firebase Crashylitics - Mon 4th Jan, 2020
Such bug/crash reports were a definite minority of users and the app seems ... For now, I have disabled Hermes until I can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found