Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14791] Android: Disable fastdev on device

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-09T19:42:51.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 16, 2013 Sprint 16 API, Release 3.2.0
ComponentsAndroid
Labelsn/a
ReporterHieu Pham
AssigneeHieu Pham
Created2013-08-08T23:49:26.000+0000
Updated2017-03-20T16:20:56.000+0000

Description

We need to disable fastdev on device to prevent app hanging in the edge case described below: Testing steps: 1. Run any project on emulator. Check to make sure fastDev process is running. 2. Turn on fastdev property in tiapp.xml.
 <property name="ti.android.fastdev" type="bool">true</property>
3. Run the same project on device. Note: Step 1 and 2 does NOT need to be done in order (i.e: you can turn on the property before you launch the emulator, since it wouldn't make any difference). Also, note that if you run Emulator 4.2 or 4.3 in step 1, your app will crash (if run using Titanium Studio), or hang (if run using Appcelerator Studio), but the fast dev server SHOULD be running. After step 3, you would see that the app on device hangs on splash screen. It shouldn't. Repeat step 3 on multiple devices (2.3, 4.0, 4.1, 4.2, 4.3)

Comments

  1. Hieu Pham 2013-08-09

    master PR: https://github.com/appcelerator/titanium_mobile/pull/4563
  2. Eric Merriman 2013-08-09

    Although this ticket was written later than TIMOB-14793, Hieu and I agreed to resolve this as a duplicate of the other. TIMOB-14793 may provide more clarity for developers searching for the behavior they might encounter.
  3. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source