Get the device rdy time and pass it to G Analytics

Hi Folks,

i have an Ionic App with a Firebase backend running. As you probably know, its not possible to start a firebase app without an internet connection. This also means, that the App startup time varies, depending on the Internet connection.

Ok, like all of us - i am super interested in the AppStart time and thought it would be easy to pass the device rdy time to window.ga.trackTiming(‘Category’, IntervalInMilliseconds, ‘Variable’, ‘Label’) and get a nice Dash in my Google Analytics.

But im not able the get the measued value after the “deviceRdy” , (without forking ionic. - which is … dirty;)

Is there an more elegant way?

thanks in advance,

Kevin