Dieskim
Dieskim

Reputation: 620

Appcelerator Titanium Android Splash Screen seen Twice / Flashing

anyone have any idea why my splash screen shows twice when my app starts? I see the splash screen / startup screen and then it flashes again with a transition effect and then the app loads - I did not have this problem before Titanium 6 SDK.

This happens on Android using Titanium 6.1.2 SDK

Upvotes: 0

Views: 426

Answers (2)

Dieskim
Dieskim

Reputation: 620

Ok I have narrowed this down to actually being due to the way Appcelerator Studio starts the app when using the RUN function. This does not happen if the app gets installed via the APK and then run from the App Icon.

Upvotes: 1

miga
miga

Reputation: 4055

There where many changes to the start-up in 6.1.0.GA and in 6.1.2.GA (e.g. https://github.com/appcelerator/titanium_mobile/pull/9256). What you see is a restart. You should see some log in Android Monitor/logcat.

It sometimes happen in my app when they got killed in the background. Before the fixes you would see the app starting up and then closing again and after many seconds it would start again. But in the newer releases you just see the flash. But again: shouldn't happen all the time, only when the app got killed

Upvotes: 0

Related Questions