Replies: 1 comment 6 replies
-
If you prefer not to fix the underlying issue where Lottie cannot find the image in your animation json file, you can customize the // Early in your app lifecycle, like in your AppDelegate:
LottieLogger.shared = .printToConsole // print warnings to console instead of calling Swift.assertionFailure |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which Version of Lottie are you using?
Lottie 3.4.1
Expected Behavior
Not crash when execute AnimationImageProvider.imageForAsset and not found the asset in bundle.
Actual Behavior
Crash when execute AnimationImageProvider.imageForAsset and not found the asset in bundle.
I guess the library wants to log an exception but it crashes, this doesn't happen at ver. 3.3.0
Could you help me?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions