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

How to get libjsi.so and header files from hermes aar #1477

Open
LiShiqii opened this issue Aug 16, 2024 · 1 comment
Open

How to get libjsi.so and header files from hermes aar #1477

LiShiqii opened this issue Aug 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@LiShiqii
Copy link

LiShiqii commented Aug 16, 2024

Problem

We have a project to build hermes engine into Android app, and our Android app is not react, we want to use Hermes as a JS engine and using a wrapper to connect with our custom components. And After pull the hermes android from maven repo https://mvnrepository.com/artifact/com.facebook.react/hermes-android. We build the app, and only saw the header files for Hermes and didn't see where is the libjsi.so and its header files. And I did see the jsi file exists in https://mvnrepository.com/artifact/com.facebook.react/react-android, but we don't want to build that into our app since react-android contains lots of other unneeded dependencies for our app.

Solution

Is there a way to pull the libjsi.so and its header file from Hermes maven aar? Or what is the best practice to pull that into our non react Android app.

Additional Context

@LiShiqii LiShiqii added the enhancement New feature or request label Aug 16, 2024
@tmikov
Copy link
Contributor

tmikov commented Aug 16, 2024

Hi, if you are using Hermes outside of RN, you need to compile Hermes from source. You can see the steps for Android compilation here:

android:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants