-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
React Native 0.75.1 android build issue #353
Comments
Hey @dembeEdward i am facing the same issue with the latest RN version because of the deprecated JSIModulePackage. |
@DonBrowny here is my patch, hope it helps you out: patch name:
|
Hey @dembeEdward can you send a PR with the fix. I would be happy to merge it. Also does this break compatibility with other versions of react native? |
Hey @ammarahm-ed I was thinking about that myself but I have not had the chance to test it against older RN versions. I can open the PR for now but suggest testing it with older versions first. If it does break then the patch could be a temporary solution for those who have upgraded. What do you think? |
@ammarahm-ed the was due to the RN removing the JSI modules in V-0.75 - https://reactnative.dev/blog/2024/08/12/release-0.75#android-jsimodule-has-been-deleted |
@dembeEdward I think we should update the library to the latest RN version. As @DonBrowny It should work for older version since turbo modules have been there for quite a while now. Also are there any similar changes required for iOS? |
@DonBrowny okay that sounds great! @ammarahm-ed I do have a branch ready to push to open the PR just need permission to do so |
@dembeEdward It seems you have cloned the main repository. You must first fork the repo, clone it, make the changes and then send a PR. |
@ammarahm-ed sorry about that, I am done. |
I didn't test this on IOS, but none of breaking changes in IOS API/Methods are used in this library, So IOS doesn't need any changes. |
I did have an issue when building iOS but removing import <ReactCommon/RCTTurboModule.h> solved it |
A new version is released, v0.10.3. |
Describe the bug
After upgrading to react-native 0.75.1 the following error is being thrown when building android due to the deprecation of
JSIModulePackage
.Additional context
I would like to open a PR that resolves this issue. I patched the package on my current project and it is working as expected. Looking forward to hearing back from you
The text was updated successfully, but these errors were encountered: