-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Download lotties json fies not working on expo android. #1187
Comments
Hey, I had the same issue and found that as of the newer versions of Lottie React Native you need to do follow this Migration guide I ended up with something like this:
I hope this helps. |
Hello, thanks for response I tried your solution but not works, got same error And tried with react-native-reanimated too I try too follow step by step of expo docs: But not works too. Beetween the test interval, i reset cache and reinstal packages with npm install |
Same for me 😭
Its working on IOS but nothing is displayed on Android Emulator / Device |
Same issue :(
|
Same issue here. I've tried a lot different approaches including use .lottie files instead of json. |
the same issue.. "expo": "^51.0.0",
"react-native": "0.74.1", But my problem was resolved with the comment: |
I'm facing the same issue.
|
I found a solution. Please remove the height and width point values. Before
After
|
Same issue here. |
Same issue also |
I went back and experimented with the code. Previously (before Expo 51), it worked just fine when I only set the height. However, this time adding a width seems to have resolved the problem. Before:
After:
I hope this information is what you were looking for. |
Description
lotties json files that I downloaded from the website are not reproducing in expo android.
In my phone (Galaxy S23) the animation begin but stop in middle
On android simulator the app crashs
All animations works in https://lottiefiles.github.io/lottie-docs/playground/json_editor/
In json_editor the downloaded files have many errors but works
Steps to Reproduce
Minimal reproduction
Code:
Tested files:
animation.json
success.json
anim.json
React Native Environment
expo: "^49.0.23"
lottie-react-native: "^6.6.0"
react-native: "0.72.10"
package.json
Lottie Version
Version: ^6.6.0
The text was updated successfully, but these errors were encountered: