Can external module use different version of Reanimated? #5431
-
Hello!
with this babel config:
External example-module also requires Reanimated but in old version:
When I commented out all references to example-module, then everything works, however once I add import to example-module and try to rebuild app I receive: Does it mean external modules cannot use different Reanimated version, or something is wrong with my config and I should keep looking for solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you should your project should use only one version of reanimated (so all libraries that depend on reanimated should be upgraded to versions which support your version of reanimated). You can force the usage of the specific version of reanimated but it may break your dependencies if they rely on older/newer version of reanimated. More details in docs. |
Beta Was this translation helpful? Give feedback.
Yes, you should your project should use only one version of reanimated (so all libraries that depend on reanimated should be upgraded to versions which support your version of reanimated).
You can force the usage of the specific version of reanimated but it may break your dependencies if they rely on older/newer version of reanimated. More details in docs.