[AC-6605] assets JS files(web view related .js files) also compelling Titanium JS files
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Naga harish M |
Assignee | Abir Mukherjee |
Created | 2020-09-22T14:34:59.000+0000 |
Updated | 2020-09-28T14:26:27.000+0000 |
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.
When 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.
Here I am attaching _index_.json file screenshots (1 & 2.png). Where
And app assets folder screen shot. -- assets_folder.png
And ipa folder after taking build for device -- ipa_folder.png
Attachments
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.)
[~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)