[TIMOB-10313] Android: A NetworkOnMainThreadException lead app to crash when FastDev is enabled
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-23T22:10:43.000+0000 |
Affected Version/s | Release 3.1.3 |
Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0 |
Components | Android |
Labels | SupportTeam, fastdev, parity |
Reporter | Varun Joshi |
Assignee | Hieu Pham |
Created | 2012-08-03T21:58:12.000+0000 |
Updated | 2014-06-19T12:43:12.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
NetworkOnMainThreadException.jpg | 2013-10-01T22:25:48.000+0000 | 41064 |
NetworkOnMainThreadException.zip | 2013-10-01T22:30:05.000+0000 | 7717552 |
We need a test case that can reproduce this issue.
Hit this in 2.1.4 today. Had to downgrade from 3.0.0GA because of some issues with it. Turned off FASTDEV, app would launch. Turned FASTDEV on, and app launch hangs. Use case? not enough time available to type it up. Posting to support the original submitter so he doesn't think he is crazy or alone. Ticket should not have been flagged as 'resolved'. Status should be deferred, or on hold, but not resolved when no resolution has been made.
Hi Stephen, Thanks for the update. I've re-opened the issue. There's a test case at TC-1487. Cheers.
Tested with the given test case TC 1487. The issue is not reproducible.App is running fine on emulator. Environment details : SDK: 3.1.0.v20130412191547 Studio:3.1.0.201304121929 Android Runtime: V8 Machine OS : MAC 10.8 Device : Android emulator 2.2
We are deprecating FastDev in version 3.2.0, so marking this as "Won't Fix"
master PR: https://github.com/appcelerator/titanium_mobile/pull/4835
Verified the fix with both fastdev enabled & disabled & counld not reproduce. Closing. Environment: Appcel Studio : 3.2.0.201312171913 Ti SDK : 3.2.0.v20131217190633 Mac OSX : 10.8.5 Alloy : 1.3.0-cr2 CLI - 3.2.0-cr3 android emulator 4.3