[TIMOB-4447] Android: JSS picks up jss file from the iphone folder
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-11-05T13:59:33.000+0000 |
| Affected Version/s | Release 1.7.0, Release 1.7.1 |
| Fix Version/s | Sprint 2011-28, Release 1.8.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Pedro Enrique |
| Assignee | Natalie Huynh |
| Created | 2011-06-16T13:35:57.000+0000 |
| Updated | 2011-11-05T13:59:33.000+0000 |
Description
The Problem
If you place the .jss files in their respective "/resources/iphone/" and "/resources/android/" folders and run the app.js file you'll find that on android it loads the "/resources/iphone/app.jss" file instead of the one for "/resources/android/app.jss" file. If you then remove the .jss file from the /iphone/ folder it correctly finds the android .jss fileTo reproduce:
Follow instructions and use the code in the gist. https://gist.github.com/2d9511792698cf93dd41Helpdesk Ticket:
APP-934675Attachments
| File | Date | Size |
|---|---|---|
| timob4447.zip | 2011-07-14T12:08:46.000+0000 | 748563 |
Pedro, is this with fastdev, without fastdev, or both?
This was with FastDev, I will try now without it.
Tested with fastdev off and get the same results (after a clean rebuild). Let me know if you need anything else.
To verify this is fixed: Build and run this test for both Android and iOS. In iOS, you should see a horizontal button with red text, in Android you should see a vertical button with blue text.
Tested with 1.8.0.v20110906155354 on Motorola Xoom 3.2 Nexus One 2.2.2 iPad 2 4.3.5 Simulator 4.1
Standardizing summary and labels.