Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IBM WorkLight application is not lightweight

I'm developing a hybrid app using worklight, and so far I just have couple of screens in my app. But when I run this app in my Android phone, if I check the apk file it's size is showing as 4.4 MB! I'm not even 20% through my app development and still it is so heavy. Is this an issue with worklight or there is a way in worklight to keep your app lightweight?

like image 944
Rahul Dole Avatar asked Feb 18 '23 22:02

Rahul Dole


1 Answers

Thanks for the heads-up. We are aware of this and are making way on reducing our application file size in a future release.

I'm not in front of my work machine at the moment, so I can't test tips before giving you them, buuuttt... in your native\assets folder there should be a icudt46l.zip file. If you do not intend on using the JSONStore feature, try deleting this file and re-building your app. This should reduce the filesize considerably, but again I can't guarantee what happens during runtime (nothing bad should happen...).

like image 68
Idan Adar Avatar answered Mar 03 '23 16:03

Idan Adar