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
Issue in linking package in RN >= 0.60 #686
Comments
cc @osdnk feel free to close this. |
@thymikee I'm having the same issue. This is an ios problem though, android is working fine (at least for me, after some tinkering). The ios app builds successfully, but when it loads I get the same error as @ravimaurya-nickelfox. |
@ravimaurya-nickelfox @thymikee the ios problem is (hopefully temporarily) solved by adding
but the app still works. I had this before and I tried unlinking to resolve this error message - that's when I got the null is not an object error shown above, so it appears that the line is still needed in the Podfile. |
I'm not sure what you mean by adjusting MainActivity.java. After running unlink, you'll get the error that the package cannot be imported, in order to fix that you would have to manual link. If you remove all of it instead, you get the Direction undefined error as though autolink didn't work... It only works if I manually link. |
As far as I read in official doc of react-navigation, they suggest to create |
@ravimaurya-nickelfox @kimihiro64 you don't need to add |
Unlinked and manually cleaned from gradle file and getPackages, but still get this. Is the autolinking working or not? With all other libraries it worked out of the box when upgrading to RN 0.60.
|
Not sure why, but it seems that if the package is included in my project's package.json (as a dependency or devDependency) the auto-link works. |
@thymikee These instructions are out of date now that jetifier is included and run automatically with react-native-community/cli for React Native versions 0.60 and above, right? Thanks! |
RNGH supports auto-linking, so I'm closing this right now. |
System info
The package is not properly working with react-native version >=0.60.
I have followed each steps to install but it is not working after linking the package.
When I ran
react-native link react-native-gesture-handler
, it produces error link below;If i try to link the package manually, I get error like,
I guess this issue is with
RN 0.60.3
, because I have tried itRN0.60.0
and it was working fine with v0.60.0.My Package.json looks like below;
The text was updated successfully, but these errors were encountered: