-
Notifications
You must be signed in to change notification settings - Fork 73
Not working with latest react-native #79
Comments
There is any one to help me! |
did you solve the problem? i have this too. |
same problem here, please let us know how to fix this! |
Hi guys, any suggestions on this? |
I think it is related to the jsi/jsc refactor facebook/react-native@c49d365#diff-e15318f48b6447f2d9936c5e047d882fL395 which happened in 0.58 |
Update: need to rewrite as a turbo module for rn 0.58+ |
Hi guys, any progress on this? |
Looks like |
Hey Guys, I think I was able to add patch for that to work with react-native 0.58 (at least works on my sandbox project). To run that before this PR will be merged: 1 - change your dependency in
3 -
and clean xcode build |
after doing this, I am facing this error what i should do |
@nomi9995 I think you should provide error log. |
@vaukalak |
first i am getting this error [tid:com.facebook.react.JavaScript] Exception '-[RCTCxxBridge jsContextRef]: unrecognized selector sent to instance 0x166d5740' was thrown from JS thread after this error i apply prepublish solution for react native 58 after resolving that issue i got #74 this issue ("'Cocoa/Cocoa.h' file not found") after delete mac folder and mac.xcodeproj i got 10 new errors then i leaved it |
|
@nomi9995 could you please confirm that after you have applied new dependency and
and then cleaned build folder? (cmd + clean) |
yeah i added |
@vaukalak tell me the solution what should I do? |
@nomi9995 sorry, I haven't got a lot of time this week. I've created a new PR, now you should ref another commit in your dependency
Hope that works. |
after adding this commit to package.json and installing node_modules every time I got error "Cocoa/Cocoa.h' file not found" and i have to delete node_modules/react-native-webgl/GPUImageMac.xcodeproj and after this app is installing successfully by xcode but thing are not working and i am getting one warning. i am going to attach two screenshots |
@nomi9995 could you please checkout this test project and let me know if it works for you https://github.com/vaukalak/glexample ? |
@vaukalak |
i do not use webgl directly in my app. I am using gl-react and gl-react-native directly in my app. gl-react-native v3 is using webgl |
I created a new project with react-native init and then installed this library following the readme. I add the example component there as well but I get the error mentioned here by the OP (RCTCxxBridge...). I see the PR is merged, should I still be doing the workaround that @vaukalak mentioned? |
How are react native 0.58 or above on Android |
ARRHHGGGH! What's actually going on? |
Same issue on react native 0.60 |
I love you man!!! ❤️😩 This worked for me. I'm using [email protected] and using this with gl-react and gl-react-native |
hey @david-saint , can u please help me .. I have same the config but I cannot fix the error what were the steps you followed? |
What's the error you're facing? @shub-singh-mail You can try to make sure you're building with the Legacy Build, and also don't enable Debug JS Remotely, I noticed the Surface doesn't load when debugging remotely. |
Hi @david-saint Below are the steps I followed : npm install gl-react@next gl-react-native@next react-native-webgl dependencies : - react : 16.8.3 added postinstall script and also changed to legacy build : on IOS : SyntaxError: src/ImageLoaderExtension.js: Unexpected token (6:2)
I updated gl-react and gl-react-native to 3.15.0 but still same error But after running the project I got this error : Error: While trying to resolve module so I changed package.json main : 'lib/index.js' to 'src/index.js' which made it run on ios successfully 👍 but on Android i got the below errors :
so I change << on prepareJsc to doLast
so i commented
so I changed android-9 to android-16 in Application.mk
Now the app builds successfully but crashes every time i open it. How were you able to run it on android ? EDIT : Here are the android studio logs for the crash Error when loading lib: dlopen failed: "/data/data/com.filters/lib-main/librnwebgl.so" is 32-bit instead of 64-bit lib hash: 8882e78075b9e4c599bde28c9e30f5a0 search path is /data/app/com.filters-1/lib/arm64 |
I'd really like to use this package for a RN ( |
hey @shub-singh-mail did you find the solution to this? I am stuck in the same issue as you. Any help would be appreciated. |
I am trying to implement this library with gl-react but it is not working.
It return error like
[tid:com.facebook.react.JavaScript] Exception '-[RCTCxxBridge jsContextRef]: unrecognized selector sent to instance 0x166d5740' was thrown from JS thread
Thanks!
The text was updated successfully, but these errors were encountered: