setValueProvider not working as before #1846
ana-bonnet
started this conversation in
General
Replies: 2 comments 3 replies
-
Thanks for the report. I created an issue for this at #1847. Could you share a copy of your animation json over in that issue ticket? Thanks! |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hey 👋 not yet, I move back to a version where did work in the meantime,
but try out what you mention above and didn’t work either.
Will let you know if I found something
On Tue, Jan 10, 2023 at 12:51 AM, gee224 ***@***.***> wrote:
Facing the same issue. Work around mentioned by @calda
<https://github.com/calda> is not working for me. @ana-bonnet
<https://github.com/ana-bonnet> did you get around this issue?
—
Reply to this email directly, view it on GitHub
<#1846 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATR45YLYTXSQJZ24M3F3N7DWRSXABANCNFSM6AAAAAAS4A2OEE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
[image: twitter] <https://twitter.com/bonnetelectric>
[image: linkedin] <https://www.linkedin.com/company/bonnet/>
[image: instagram] <https://www.instagram.com/bonnetelectric/>
Ana Isabel Marquez
iOS Lead Developer
Bonnet
***@***.***
https://www.joinbonnet.com/om/
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello - hope you are all good.
We just update the SDK from 3.4.3 to 4.0.1 using cocoa pods. We are using a few simple animations that contains only one color, for example we have a circular loader and we have been updating the color with the code below, have been working great but since we updated the library it doesn't work anymore, the JSON hasn't change, so does any of this flow have been updated in the 4.0.1 version? Do I need to change anything?
let animationView: LottieAnimationView = LottieAnimationView(name: "loader")
let keypath = AnimationKeypath(keys: ["**", "Stroke 1", "**", "Color"])
let colorProvider = ColorValueProvider(theme.tintColor.lottieColorValue)
animationView.setValueProvider(colorProvider, keypath: keypath)
Thanks a lot in advance.
Beta Was this translation helpful? Give feedback.
All reactions