When does App Brought to Foreground via url fire?

I notice a lot more page events such as page created, page mounted, page will unmount, etc. Coming from Android studio, we really only had to worry about onCreate and onDestroy. Since I am trying to figure out how to change the logic when an app is brought to foreground via url, in order to implement different logic if the app is visited from a shared link or a notification opened,I guess I need to understand the fireing order of appgyver events better. Will app brought to foreground via url fire before page created or page focussed?