How to handle an alert message while SDK is initiating?

I’m trying to figure out what would be the best practice UX approach to handle an alert message correctly in the following scenarios.

The below scenarios are supposed to occur only when the app launches for the first time. i.e.: The user has just downloaded it, the app just got installed in the device and the user attempts to launch the app.

1st scenario - Expected user journey is:

App Menu > Splash > SDK package initiating > Dashboard

2nd scenario - Expected user journey if there are any error:

  1. Mobile App Menu > Splash Screen > SDK package initiating > Offline message
  2. Mobile App Menu > Splash Screen > SDK package initiating > Error message - such as unexpected error server or phone issue.

The potential scenarios diagram

How would you design this rule considering that there is an app error as the SDK is initiating and the user isn’t at the dashboard?