CameronStuartSmith / flutter_lottie

Use lottie in flutter for both iOS and Android
Apache License 2.0
157 stars 75 forks source link

ios Use of undeclared type 'LOTAnimationView' #12

Open yuxizhe opened 5 years ago

yuxizhe commented 5 years ago

LOTAnimationView is now AnimationView among other name changes.

relate issue https://github.com/airbnb/lottie-ios/issues/847

vlada3003 commented 5 years ago

It seems that this library is referencing old version of lottie. I have downloaded it and changed the podspec file a bit: s.dependency 'lottie-ios', '2.5.3' s.swift_version = '5.0'

You can later reference it from flutter pubspec.yaml with: flutter_lottie: path: ../flutter_lottie # or wherever you have downloaded this lib.

It would be nice to have an updated lib

josephchenghmlet commented 5 years ago

I've submitted PR #16 to force referenced to 2.5.2 due to time constraint.

mark922 commented 5 years ago

@CameronStuartSmith Any expected timeline on merging PR #16 and releasing a new version on flutter pub dev?