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

Not compatible with RN 0.72 #5

Open
talaikis opened this issue Dec 26, 2023 · 5 comments
Open

Not compatible with RN 0.72 #5

talaikis opened this issue Dec 26, 2023 · 5 comments

Comments

@talaikis
Copy link

Build error:

react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:15: error: cannot find symbol
import com.facebook.react.bridge.NativeModuleCallExceptionHandler;
                                ^
  symbol:   class NativeModuleCallExceptionHandler
  location: package com.facebook.react.bridge
react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:135: error: cannot find symbol
    private NativeModuleCallExceptionHandler createNativeModuleExceptionHandler() {
            ^
  symbol:   class NativeModuleCallExceptionHandler
  location: class ReactContextBuilder
react-native-hamsters\android\src\main\java\com\reactlibrary\ThreadBaseReactPackage.java:14: error: package com.facebook.react.modules.storage does not exist
import com.facebook.react.modules.storage.AsyncStorageModule;
                                         ^
react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:79: error: cannot find symbol
            reactContext.setNativeModuleCallExceptionHandler(devSupportManager);
                        ^
  symbol:   method setNativeModuleCallExceptionHandler(DevSupportManager)
  location: variable reactContext of type ReactApplicationContext
react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:91: error: cannot find symbol
                .setNativeModuleCallExceptionHandler(devSupportManager != null
                ^
  symbol:   method setNativeModuleCallExceptionHandler(devSupport[...]ler())
  location: class Builder
react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:136: error: cannot find symbol
        return new NativeModuleCallExceptionHandler() {
                   ^
  symbol:   class NativeModuleCallExceptionHandler
  location: class ReactContextBuilder
react-native-hamsters\android\src\main\java\com\reactlibrary\ReactContextBuilder.java:137: error: method does not override or implement a method from a supertype
            @Override
            ^
react-native-hamsters\android\src\main\java\com\reactlibrary\ThreadBaseReactPackage.java:46: error: cannot find symbol
                new AsyncStorageModule(catalystApplicationContext),
                    ^
  symbol:   class AsyncStorageModule
  location: class ThreadBaseReactPackage

@brunoleitem
Copy link

Same here.

@austinksmith
Copy link
Owner

Thank you for making this ticket, I am aware of the issue and there is progress being made to resolve this, you can follow the updates here. joltup#155 (comment) unfortunately it's not going to be a quick fix to support the latest version of react native.

@austinksmith
Copy link
Owner

austinksmith commented Mar 19, 2024

Right now the official support is up to version 0.69 , I apologize if that doesn't work for you but right now I simply don't have the time or budget to focus on fixing this. I am always open to pull requests if you are good with java :)

@austinksmith
Copy link
Owner

Just an update, soon I will begin development of a JSI (C++) implementation for versions of react native greater than 0.69, I will specifically test for 0.72 version support and validate it works, it will be a new repo which I will link here when its ready so I can maintain this repo for 0.69 and older version support.

@austinksmith
Copy link
Owner

austinksmith commented Oct 13, 2024

If you want to follow along with the development here is the new project, currently I am working on android support first and then I will extend to IOS once I have android working as I have android devices to test with but no ios devices.

https://github.com/austinksmith/react-native-workerbee

Contributions are greatly appreciated.

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

3 participants