Comments (12)
OK, I finally got it. Here's the combination that works on React Native v0.60.4:
"gl-react": "^2.3.1"
"gl-react-native": "^2.60.0"
from gl-react-native-v2.
Hi,
Can anyone please answer? A simple yes/no is fine.
Thanks!
from gl-react-native-v2.
I guess you meant 0.60?
This project is not well maintained at the moment but I accept PR to fix this state.
I'll bump a new version with recent PR work to see if it helps. Please reach back to me if there are still issues with it. Thanks
from gl-react-native-v2.
I guess you meant 0.60?
This project is not well maintained at the moment but I accept PR to fix this state.
I'll bump a new version with recent PR work to see if it helps. Please reach back to me if there are still issues with it. Thanks
Thank you!
I will check the new version and will let you know if it works.
from gl-react-native-v2.
Hi,
I just tried to update gl-react-native
, and I installed the v2.60.0. However, it's not working with the latest version of [email protected]
.
In other words, if I try to run the app with this setup:
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
└── [email protected]
I get this exact error: gre/gl-react#219
So I guess the correct thing to do is follow this advice:
[email protected] requires a peer of gl-react@^2.2.4 but none is installed. You must install peer dependencies yourself.
The problem is when I install gl-react@^2.2.4
, it requires another peer:
npm WARN [email protected] requires a peer of react@^0.14.5 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
And if I downgrade react to @0.14.5
or @15.0.0
it breaks a lot of stuff, because it's too low.
Do you have any advice? I might be close to the solution but can't seem to figure it out.
Thanks a lot, much appreciated!
from gl-react-native-v2.
yes it needs the v2 of gl-react. gl-react-native-v2 is incompatible with gl-react @ 3
the peer dep is just a warning so it should still be fine to ignore. But this will have to be fixed in https://github.com/gre/gl-react-v2
from gl-react-native-v2.
Thank you very much for the response!
The problem is, when I run the app with this setup, I get the error message Module gl-react/src/isAnimated does not exist in the Haste module map
, similar to this issue: gre/gl-react#219
I tried to remove node_modules folder and install everything from the beginning, but it just leads to the same error.
from gl-react-native-v2.
I'm bumping this issue so it doesn't get stale. Did anyone else try to run gl-react-native on the latest React Native version?
from gl-react-native-v2.
Can anyone help?
from gl-react-native-v2.
It works fine for me on RN0.60.
Try npm start -- --reset-cache
.
from gl-react-native-v2.
I'm having trouble going through android build process during upgrade to react-native 0.60.5.
What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex list:
Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.projectseptember.RNGL.BuildConfig
Anyone encountered this yet?
from gl-react-native-v2.
After a while I found this in gradle log:
Configure project :gl-react-native WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
So I figured that somehow the module was already included alongside old RNGL module. I ended up removing the RNGL from gradle.build and gradle.settings (basically manual unlink) and build is ok now.
The fact is, as of 0.60 RN is automatically linking libraries, but somehow only this library caused a problem. My bet is that its because the names do not overlap and they probably do overlap in all other libraries (all use node_modules folder name except RNGL).
from gl-react-native-v2.
Related Issues (20)
- Tried to register two views with the same name GLCanvas
- Error: RCTImageLoader.h file not found HOT 1
- Multiple shaders
- What is the software license on this repo? HOT 1
- Could not resolve project :RNGL HOT 3
- undefined is not an object (evaluting '_glReact.runtime') HOT 1
- [iOS] Is it broken? HOT 1
- undefined is not an object (evaluatting 'PropTypes.any') HOT 9
- run android, Can run, but will crash after a while HOT 1
- Could not find @ReactModule on app start HOT 7
- Android crash on captureFrame
- React-Native multiple GL Nodes stacked invoke performance issues
- unable to find module for uimanager (lazilyloadIfNeccessary) HOT 2
- Please release a new version that works with react-native 0.58 HOT 3
- Android crash on capture with react-native-image-cropper HOT 1
- Is gl-react-native working on v0.6?
- error message: _child2.__callListeners is not a function
- how can i load user device image ?
- Captured image quality is too low and image is black inside surface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gl-react-native-v2.