{ "id": "115789", "key": "AC-2592", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2013-06-11T21:43:29.000+0000", "created": "2013-06-11T17:23:31.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:40.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "attachment": [], "flagged": false, "summary": "Platform specific JSS is no longer working since Titanium 3.0", "creator": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "257233", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Jick,\n\nAfter doing some research on the subject, (since I haven't use JSS in a long time), I came across this post in the Q&A:\n\nhttp://developer.appcelerator.com/question/137015/how-does-jss-feature-really-works-in-titanium-mobile-sdk\n\nOne of the lead platform engineers says that we have not fully developed JSS and it have probably been removed from 3.0GA, this is why it is not working for you. \"The best way [to style your apps] is to use Alloy, the Titanium MVC framework, and create Titanium Stylesheets (tss) which are similar to jss files.\nIf you're too far down the road with your current app, you are probably better off writing helper functions that return the style settings.\"\n\nI will send an email to a platform engineer to confirm that JSS has been removed or is not supported anymore so that we know for the future. \n\nBest Regards,\nCarter\n\n", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-11T20:28:23.000+0000", "updated": "2013-06-11T20:28:23.000+0000" }, { "id": "257243", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thx for your response Carter. I appreciate this very much. We are already working on rewriting the app using Alloy. It will take about 3-4 months. This will be a totally new version of our app but we still need to support the earlier version (which is based on JSS) for about 6-12months. We tried to avoid using the 3+SDK but we will have to update once iOS7/Android 4.3 is out at the latest. As it is a \"large\" app we cannot simply rewrite the whole app to use Alloy. I don't want to blame as you guys are doing a great job. Luckily I can workaround the problem by deleting all Android JSS files when building for iPhone. As you said it would be at least great to know whether JSS is still fully supported in 3.+ or not. ", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-11T21:19:44.000+0000", "updated": "2013-06-11T21:19:44.000+0000" }, { "id": "257256", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jick,\n\nThere is another solution for you to use which is probably more recommended and would allow you to create styles for platform specific apps without using JSS. By using a style.js file you can declare default style properties for the UI components of your app. Take a look at the Tweetanium Source code here: \n\nhttps://github.com/appcelerator-titans/tweetanium/blob/master/mobile/Tweetanium/Resources/tweetanium/ui/styles.js\n\nYou can define default styles for your UI components this way until your alloy app is up and running. This is often called the Tweetanium Technique :D More info here:\n\nhttp://developer.appcelerator.com/question/144010/how-to-use-jss-correctly\n\nI hope this helps!\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-11T21:53:35.000+0000", "updated": "2013-06-11T21:53:35.000+0000" }, { "id": "257915", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "@Jick, the problem with your code (and JSS in general) is that the properties need to look like CSS properties and not Titanium properties. Give this a try:\n\n{code}\n#test {\n background-color: red;\n}\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-14T17:42:20.000+0000", "updated": "2013-06-14T17:42:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }