React-native-reanimated: Manual installation

Created on 20 Mar 2019  路  7Comments  路  Source: software-mansion/react-native-reanimated

Helps if we can an alternative installation method to react-native link react-native-reanimated. Most of the installation process is idiomatic, however I needed to find out what to import in MainApplication.java which is import com.swmansion.reanimated.ReanimatedPackage;

If this gets approval, I can open a PR

馃android

Most helpful comment

I also have error with import com.swmansion.reanimated.ReanimatedPackage. How it can be installed manually so react/android will see this package?

All 7 comments

me2

react-native link react-native-reanimated doesn't work properly. the only way is installing manually!!

I also have error with import com.swmansion.reanimated.ReanimatedPackage. How it can be installed manually so react/android will see this package?

@ahilles107 did you happen to figure out a solution?
In my MainApplication.java import com.swmansion.reanimated.ReanimatedPackage; is showing as an unused import statement. And new ReanimatedPackage() is showing as Cannot resolve symbol.

Any news about that?

We need the manual installation for this library!

When do people realize that react-native link works only 1 out of 1000 times and it should be never even considered to be an only linking process!

Without manual linking its impossible to install this library. I have searched all possible solutions on google and as soon as I added this library to my project, everything crashed, nothing compiles anymore no matter what I changed.

AFAIK Reanimated was able to be distributed as maven package and now we support auto-linking as well, so I'm closing this.

If you have any further concerns don't hesitate to reply.

Was this page helpful?
0 / 5 - 0 ratings