App Freeze on Splash Screen Due to Lottie Animation When Opened from Killed State After Silent Push #2593
                  
                    
                      ibm-manabmal
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Lottie Team,
We’re facing a critical issue where the app freezes on the splash screen, and the problem appears to be directly related to the Lottie animation used during splash rendering. Below are the details:
Issue Description:
The app freezes on the splash screen only when it is opened from a killed state, and a silent push notification was received prior to launch.
Reproduction Scenario:
Steps:
App is in a killed state.
A silent push notification is received.
App attempts to launch silently.
application(_:didFinishLaunchingWithOptions:) is triggered.
Splash screen with Lottie animation is called in background.
Lottie animation starts and completes.
Completion callback from Lottie is received.
App is loaded silently, but:
It is not visible to the user.
It is not present in the background app stack.
Now when user opening the app normally by tapping app icon, app stuck in splash screen (some portion of Lottie animation to be displayed). It does not work until app forcefully killed and reopened.
Suspected Cause:
The Lottie animation callback may be executing in a context where the app is not fully initialized for UI presentation due to the silent push trigger. This results in the app being stuck in a non-interactive splash state.
Please let us know if there are any known limitations or recommended handling strategies for Lottie animations during silent launches from a killed state. We can provide logs, sample code, or a reproducible demo if needed.
Best regards,
Manab Mal
iOS Application Developer
Kolkata, WB
Beta Was this translation helpful? Give feedback.
All reactions