ios
                                
                                
                                
                                    ios copied to clipboard
                            
                            
                            
                        How to get if the app was moved to foreground from a push notification?
We have an app with a chat and we need to redirect users to the chat when they tap on the push notification.
As documented, getInitialNotification() only returns the value of what launched the app (from killed state) but is there any callback for what moved the app to foreground (from minimized state)?
I think this is a very common use case.
Thanks in advance.