Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Not working with RN version 0.40 #25

Open
vexsnare opened this issue Mar 20, 2017 · 6 comments
Open

Not working with RN version 0.40 #25

vexsnare opened this issue Mar 20, 2017 · 6 comments

Comments

@vexsnare
Copy link

/Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:7: error: cannot find symbol import com.facebook.react.bridge.CatalystInstanceImpl; ^ symbol: class CatalystInstanceImpl location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:8: error: cannot find symbol import com.facebook.react.bridge.JSBundleLoader; ^ symbol: class JSBundleLoader location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:9: error: cannot find symbol import com.facebook.react.bridge.JSCJavaScriptExecutor; ^ symbol: class JSCJavaScriptExecutor location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:10: error: cannot find symbol import com.facebook.react.bridge.JavaScriptExecutor; ^ symbol: class JavaScriptExecutor location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:15: error: cannot find symbol import com.facebook.react.bridge.NativeModuleRegistry; ^ symbol: class NativeModuleRegistry location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:28: error: cannot find symbol private JSBundleLoader jsBundleLoader; ^ symbol: class JSBundleLoader location: class ReactContextBuilder /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:37: error: cannot find symbol public ReactContextBuilder setJSBundleLoader(JSBundleLoader jsBundleLoader) { ^ symbol: class JSBundleLoader location: class ReactContextBuilder /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:137: error: package NativeModuleRegistry does not exist private void addNativeModules(ReactApplicationContext reactContext, NativeModuleRegistry.Builder nativeRegistryBuilder) { ^ /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/WorkerModule.java:10: error: cannot find symbol import com.facebook.react.bridge.JSBundleLoader; ^ symbol: class JSBundleLoader location: package com.facebook.react.bridge /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/WorkerModule.java:168: error: cannot find symbol private JSBundleLoader createDevBundleLoader(String jsFileName, String jsFileSlug) { ^ symbol: class JSBundleLoader location: class WorkerModule /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/WorkerModule.java:178: error: cannot find symbol private JSBundleLoader createReleaseBundleLoader(String jsFileName, String jsFileSlug) { ^ symbol: class JSBundleLoader location: class WorkerModule /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:53: error: cannot find symbol JavaScriptExecutor jsExecutor = new JSCJavaScriptExecutor.Factory().create(new WritableNativeMap()); ^ symbol: class JavaScriptExecutor location: class ReactContextBuilder /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:53: error: package JSCJavaScriptExecutor does not exist JavaScriptExecutor jsExecutor = new JSCJavaScriptExecutor.Factory().create(new WritableNativeMap()); ^ /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:62: error: package NativeModuleRegistry does not exist NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder(); ^ /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:62: error: package NativeModuleRegistry does not exist NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleRegistry.Builder(); ^ /Users/vinay/git/sighte/node_modules/react-native-workers/android/src/main/java/co/apptailor/Worker/core/ReactContextBuilder.java:69: error: package CatalystInstanceImpl does not exist CatalystInstanceImpl.Builder catalystInstanceBuilder = new CatalystInstanceImpl.Builder() ^

@newhalo
Copy link

newhalo commented Mar 29, 2017

+1 .Same for me

@mmmurf
Copy link

mmmurf commented Apr 7, 2017

Is this library being maintained?

@vexsnare
Copy link
Author

No I guess.

@pbassut
Copy link

pbassut commented Apr 19, 2017

Same for me.

@osricwong
Copy link

same for me at RN v0.41.1

@danderson00
Copy link

There have been a bunch of breaking changes to the react-native Android libraries since the project was last updated.

I just submitted a PR (#26) to update to react-native@0.45.1. (Please note that I am not the project maintainer)

Please have a go at testing this update and leave any feedback in the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants