*Summary:*
As of Android Q beta 4, the OS displays activity windows via a zoom-in animation on some devices such as the Pixel 3. Because of this new open animation, Titanium's splash screen might stutter during a cold start (but not subsequent startups) as shown by the attached "AndroidQ-Launch.gif" below.
!AndroidQ-Launch.gif!
This issue can happen on older Android OS versions as well, but is less likely to happen and difficult to reproduce. The attached "AndroidP-Launch.gif" shows this happening on Android P with a slide-up transition.
!AndroidP-Launch.gif!
*Notes:*
* This does not happen with Android Q on a Pixel 2 device. (Does not do zoom-in animations.)
* This stutter only happens when opening a window while the splash screen is still doing its open animation. (Can work-around by delaying opening the first window.)
* This appears to be a bug on Google's end, but we should attempt to work-around it.
*Steps to reproduce:*
Acquire a Pixel 3 device/emulator with Android Q beta 4 or newer.
Build and run on the Pixel 3.
Notice that the splash screen stutters while opening as shown in GIF above.
To re-test, "force-quit" the app and relaunch the app.
*Work-Around:*
In your "app.js" or "alloy.js", delay opening the first window by about
100ms
. Waiting for the splash screen open animation to end works-around the issue.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11139 PR (8.1.x): https://github.com/appcelerator/titanium_mobile/pull/11140 PR (8.3.x): https://github.com/appcelerator/titanium_mobile/pull/11141
FR Passed for Master, 8_1_X and 8_3_X. Waiting on Jenkins builds
Merged to master, 8_3_X and 8_1_X
Closing ticket fix verified in SDK version
8.2.0.v20190820104021
,8.1.1.v20190820143437
and8.3.0.v20190820103430
. Test and other information can be found at: PR (master): https://github.com/appcelerator/titanium_mobile/pull/11139 PR (8.1.x): https://github.com/appcelerator/titanium_mobile/pull/11140 PR (8.3.x): https://github.com/appcelerator/titanium_mobile/pull/11141