JBENOIT
JBENOIT

Reputation: 421

What other tips to improve my cordova-based app?

I currently develop an hybrid app based on Cordova. My main target is Android devices with at least 2.3 support.

I face performance issues, particularly scrolling which is not really smooth and more generally navigation inside app. So I implemented several tips to increase my app speed such as:

I tried Famousjs and CocoonJS but it didn't help. I look to crosswalk-cordova, but it increase the size of the app by 15-20mb and I have to keep the size as light as possible.

The app performs pretty good on powerful devices such as my Nexus 5, but it become slow on older/less powerful devices. So what other tips could I use to increase the speed of my app ?

Many thanks.

Upvotes: 0

Views: 378

Answers (1)

Shouqun
Shouqun

Reputation: 756

"but it become slow on older/less powerful devices", does this issue happens when you are using crosswalk?

I guess on older/less powerful devices, if the performance drops dramatically, it maybe related the the GPU blacklist, Which means on some old devices GPU are blacklisted. To resolve this issue, you can pass '--ignore-gpu-blaclist' option,

see: https://crosswalk-project.org/#wiki/Use-Chromium-command-lines-in-your-apps-on-Android

Upvotes: 0

Related Questions