-
-
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
Lottie animation is breaked on my app #1194
Comments
Hi @rsereir |
Try to use |
Hi @TheRogue76 thank you for your investigation. Hello @matinzd, i just try it but it does not change anything, thanks for your help. |
I have the same problem, does anyone have a solution? |
@sosiii4799 if you found any solution do not hesitate to replay :) |
|
Hi @rsereir. I got a chance to grab the Animation and run it: |
@TheRogue76 Have you download the json format ? |
Yes. From the video's link. Also included in the repo is linked |
I also downloaded JSON format from lottie directly. |
I have same issue. I try download json and lottie files but nothing it works. The spaceman works for me, but with severals lottie files fail. I'm trying now this https://lottiefiles.com/animations/blue-titles-editing-ciYXusdKbX Lottie version 6.7.0 |
banner.json |
@rsereir Any updates? |
going to have to get rid of this library. It just doesn't work |
Hot take here: then help fix it. That's what open source is. Nobody is getting paid for any of this, we are all just trying to make things work and it only works if the entire community works on it. Provide a reproducible, give some sort of data for others to be able to debug. Write a PR, there are tons of ways to contribute. That sentence isn't one of them. |
To the person who said it's a freemium model and deleted their comment, other than the fact that the comment was extremely rude, it was hilariously inaccurate. Here are some free stats for you:
I am only going to answer to comments regarding the issue that @rsereir has raised moving forward. Thanks for ruining whatever energy i had left for working on this. |
Feel free to do so. |
Hello, I see that there have been a lot of discussions on the subject and that some are frustrated to see that it doesn't work for them while it works for others. This is also my case, but as you specified above this is an opensource project I think that the best way to move this issue forward is to use our time in the best possible way to provide as much information as possible so that people who are familiar with the source code of this library and how LottieFiles work can have clues. This seems more productive than just saying "it doesn't work, it's no use, I'm changing the lib".. For my part I tried to look into the problem again this weekend, I'm pretty sure that it doesn't really come from the Lottie images but more from the library actually. I tried to investigate the source code but I think I am not competent enough to shed light on this subject. It would seem from previous comments that on a react native project without any code it works quite well. So I wonder if this is not an interference with another library which would be very widely used? (react navigation, or other for example) I can offer to allow someone experienced on the subject and who wishes to investigate to access a fork of my project to try to find a solution. Please let me know if I can help with anything else.. |
Hi @rsereir To be clear for future reference, this is an exceptional case, not something i will offer for any other issue in this repository. As for the rest, please provide reproducible if possible. |
Hello @TheRogue76 , i just add you on the fork repository ( and @matinzd too ). You have on this repository the react native project concerned by this issue. It's my own side project so you can download it without any worry. I think you can just add lottie file directly in the login screen for tests. Tell me if i can help you for this fix. Rédoine |
I had a chance to test out your animation ( |
UPDATEPlease submit a bug to https://github.com/airbnb/lottie-ios and share your animation there. @rsereir Please link this issue as well. |
Yes, if you're seeing rendering issues when rendering a Lottie animation on iOS, please open an issue on the lottie-ios repo. I'll take a look when I have a chance. |
Closed in favor of: airbnb/lottie-ios#2345 (comment) |
Description
I try to integrate lottie in my app but i notice all lottiefile integration does not render animation correctly. Every lottiefile is break ( a simple check mark is not shown correctly. First, i thought it was due to lottiefile incompatibility but i found this tuto with a simple astronaut animation:
https://www.youtube.com/watch?v=fLbtTL0rOcU
I found the animation here:
https://app.lottiefiles.com/animation/822c47f1-f147-4114-97ba-dd9e4f2ef8d0?channel=web&source=public-animation&panel=download
And this is my render:
Steps to Reproduce
Just follow tutorial with this final code:
Expected behavior: [What you expected to happen]
correct render
Actual behavior: [What actually happened]
break render
Minimal reproduction
React Native Environment
System:
OS: macOS 14.3
CPU: (10) arm64 Apple M1 Max
Memory: 295.38 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.1
path: /var/folders/kl/1qr4bhg95671w9cjqmv8n5gr0000gn/T/yarn--1709496294946-0.6950116481454138/node
Yarn:
version: 1.22.19
path: /var/folders/kl/1qr4bhg95671w9cjqmv8n5gr0000gn/T/yarn--1709496294946-0.6950116481454138/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman:
version: 2024.01.22.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.0
path: /Users/rsereir/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 3.0.6
path: /Users/rsereir/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.2
wanted: 0.73.2
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.73.5 is now available (your project is running on v0.73.2).
Lottie Version
Version: 6.6.0
The text was updated successfully, but these errors were encountered: