{ "id": "175557", "key": "AC-6605", "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": null, "resolutiondate": null, "created": "2020-09-22T14:34:59.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-28T14:26:27.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I run the app simulator all looks fine. I went simulator application folder to see resource(.js and other) are placed correctly or not. All looks good there.\r\n\r\nWhen we are taking build for device or running on device few assest .js file are missing. And an open .ipa file there _index_.json file in .ipa file. I am seeing what are the files present in .ipa file are marked as 1 and other are marked 2 is missing. I guess other are converted as Titanium code.\r\n\r\nHere I am attaching _index_.json file screenshots (1 & 2.png). Where \r\nAnd app assets folder screen shot. -- assets_folder.png\r\nAnd ipa folder after taking build for device -- ipa_folder.png\r\n", "attachment": [ { "id": "67570", "filename": "1.png", "author": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-09-22T14:32:47.000+0000", "size": 76887, "mimeType": "image/png" }, { "id": "67569", "filename": "2.png", "author": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-09-22T14:32:51.000+0000", "size": 112763, "mimeType": "image/png" }, { "id": "67568", "filename": "assets_folder.png", "author": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-09-22T14:32:55.000+0000", "size": 110301, "mimeType": "image/png" }, { "id": "67567", "filename": "ipa_folder.png", "author": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-09-22T14:33:07.000+0000", "size": 437656, "mimeType": "image/png" } ], "flagged": false, "summary": "assets JS files(web view related .js files) also compelling Titanium JS files", "creator": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "For iOS: assets folder js files compelling as default titanium .js files (i.e alloy controller files)", "comment": { "comments": [ { "id": "456985", "author": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "body": "It is related to my previous ticket AC-6266. Which was closed. But I am seeing this issue still with latest appc studio build for device. (Noe:- I am not taking build from Xcode. I am using Appc studio only.) ", "updateAuthor": { "name": "nagaharish", "key": "nagaharish", "displayName": "Naga harish M", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-09-22T14:50:48.000+0000", "updated": "2020-09-22T14:50:48.000+0000" }, { "id": "457051", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~nagaharish], when building for device or distribution targets we will encrypt the JS source code from your application. To avoid JS content used in WebViews being encrypted we advise you rename the file extensions from {{.js}}, see Local JavaScript Files in the [WebView API docs|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.WebView]", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-28T14:26:27.000+0000", "updated": "2020-09-28T14:26:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }