Open areimche opened 3 years ago
In Swift I had the same problem and solved it with the following change. Hope it helps.
animationView.backgroundBehavior = .pauseAndRestore
Sorry, I selected the wrong platform when creating the issue. I have the problem with Xamarin.Forms on iOS. There is no backgroundBehavior for the AnimationView.
I think I might have a similar issue, I am using Xamarin.Forms TabView (from Syncfusion). When I navigate to a different tab and back, the animation does not run and is static at the first frame.
Does this sound like the same issue you are facing @areimche ?
🐛 Bug Report
I have a CollectionView with several animations. When I put the app in the background and open it again, the animations stop. This only affects iOS, it works on Android.
This also happens when using a ListView.
Expected behavior
Animations should continue to run after reopening the app from the background.
Reproduction steps
Branch with sample code: https://github.com/areimche/LottieXamarin/tree/test_background_bug
Configuration
Version: 4.0.9
Platform: