Is there an app focused event?

I am wondering whether there’s any way to determine whether the user has opened the app again after having switched to another app (that is, without having closed the first app to begin with), similar to how the page focused event works when moving pages within the app. This would be very useful as we have some logic that we would like to trigger every time the user comes back to the app while it is still open.


Did you find any solution?