Best practice to initialize the app

Hello,

If i want to initialize my app and check the gps location of the user and check if he has a login token on storage, should i put this code directly at App.js or is it better practice to create a startup screen?

Also, does someone know a good opensource app made with expo to use as a reference?

Thanks.