margelo / react-native-skottie

▶️ Efficient lottie animations using Skia's Skottie module
https://margelo.io
MIT License
848 stars 22 forks source link

First class support for expo #8

Closed hannojg closed 7 months ago

hannojg commented 8 months ago

As this is just a regular native module I'd assume it'd work with expo (not go) out of the box. However, users on twitter are reporting that it doesn't work, getting the following error:

"Error: The package 'react-native-skottie' doesn't seem to be linked. Make sure:

- You rebuilt the app after installing the package
- You are not using Expo Go"
hannojg commented 7 months ago

Okay, so here is the thing:

It should work however with expo prebuild and/or expo dev client.

We can't add support for expo go. expo prebuild is the recommended approach by expo anyways!