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

chore: update react-native@0.66 and fix Use of undeclared identifier 'ShareableValue' #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

numandev1
Copy link

No description provided.

@mrousavy
Copy link
Owner

mrousavy commented Oct 4, 2021

how is the ShareableValue error fixed? by importing it at last?

@numandev1
Copy link
Author

@mrousavy Yes, fixed by import #include <RNReanimated/ShareableValue.h after #include <RNReanimated/RuntimeManager.h>

@goleary
Copy link

goleary commented Dec 27, 2021

@mrousavy I'm also experiencing this error use of undeclared identifier 'ShareableValue' which after locally moving the include of SharedValue.h after RuntimeManager.h resolves the build error.

It would be awesome to merge/ship this PR so that I don't have to patch/modify locally.

We're using react-native 0.66.0.

Thanks!

@callaars
Copy link

callaars commented Feb 17, 2022

Can we give this some attention because this is preventing me of using the library (unmodified)? Personally I'd get rid of the package changes though, and just focus on the .cpp.

#include <RNReanimated/RuntimeManager.h>
#include <RNReanimated/ShareableValue.h>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to do the same on line #14 btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants