I was wondering where to put functions that must be executed on the opening of the app. Not on foregrounding. In my case a check whether the user is already signed in or not, so that I can redirect to an AuthenticationScreen if necessary.
The function for the retrieval of the ExponentPushToken, for example, is called in the navigation/RootNavigation.js by default, which feels kind of unintuitive…
What do you think and how do you handle those things?
Thanks in advance!