Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9467] MobileWeb: Default Project - Android 2.2.3 device browser will load default project, but stay at the splash screen

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-22T16:01:20.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-13 MW
ComponentsMobileWeb
Labelsqe-mw020912, regression
ReporterWilson Luu
AssigneeChris Barber
Created2012-06-08T11:16:36.000+0000
Updated2012-06-26T12:12:50.000+0000

Description

Details: On SDK 2.1.0.v20120608070223, while launching default TiMobile project on Droid 1's browser, the app will stay on the splash screen. However, on SDK 2.0.2.GA, the app will be fully launched; app will not stay on the splash screen. Also, I noticed some logs similar to what Dustin found in TIMOB-8255: In SDK 2.1.0.v20120608070223:
E/browser ( 1578): Console: Uncaught Error: Too much time spent in unload handler. v8/DateExtension:1
E/browser ( 1578): Console: Uncaught Error: Too much time spent in unload handler. v8/DateExtension:1
E/browser ( 1578): Console: Uncaught Error: Too much time spent in unload handler. v8/DateExtension:1
I/browser ( 1578): Console: [INFO] Appcelerator Titanium 2.1.0.v20120608070223 Mobile Web http://172.16.1.234/~wluu/acs_mobileweb/:310
E/browser ( 1578): Console: Uncaught illegal access http://172.16.1.234/~wluu/acs_mobileweb/:468
In SDK 2.0.2.GA:
E/browser ( 1578): Console: Uncaught Error: Too much time spent in unload handler. v8/DateExtension:1
E/browser ( 1578): Console: Uncaught Error: Too much time spent in unload handler. v8/DateExtension:1
D/dalvikvm( 1578): GC_FOR_MALLOC freed 8538 objects / 523656 bytes in 80ms
I/browser ( 1578): Console: [INFO] Appcelerator Titanium 2.0.2.GA Mobile Web http://172.16.1.234/~wluu/acs_mobileweb2/:388
Note: *This is a regression.* Was able to fully launch default TiMobile app in 2.0.2.GA Steps to Reproduce: 1. Create default TiMobile project in TiStudio 2. Package app for Mobile Web 3. Put packaged app on server. 4. Access app via Droid 1's browser Actual: Default project will be launched, but stay on the splash screen Expected: The default project should not stay on the splash screen

Comments

  1. Chris Barber 2012-06-16

    I tested with the latest master build of Mobile Web and was unable to reproduce the error on the Android 2.2 & 2.3 emulators and Android 2.3 device. Furthermore, the error will generally never seen by the end user. The error happens because we try to flush the analytics data when the page is unloaded. Some browser must have some sort of timeout. So, either we can choose to ignore this error and in most cases receive all analytics data when the page is unloaded -or- prevent the error by not sending analytics data on unload.
  2. Wilson Luu 2012-06-22

    Reopening bug. Tested again on Droid 1 (2.2.3), sdk build 2.1.0.v20120621224153 and app is stuck on splash screen. This bug seems specific to Droid 1 (2.2.3)
  3. Chris Barber 2012-06-22

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/2457
  4. Lokesh Choudhary 2012-06-26

    Posted in test links by mistake. Thats why commenting again. Verified the issue & was not reproducible on the following environment. the default app launches properly without being stuck at the splash screen. Titanium Studio : 2.1.0.201206251749 SDK version : 2.1.0.v20120626104306 Droid 2.2.3 Android browser.

JSON Source