i am testing an app i am creating for android which seems to me that it performs much better on older android devices like the samsung galaxy s3 and the old nexus but its significantly slow especially transitions on htc one htc one M8. is there a bug about this or is there something we can do to improve the performance
Hi @saniyusuf,
What Android version are you using for all these devices?
The newer devices. HTC One HTC M8 are on 4.3 and 4.4. WHile the older ones are on 4.1 4.2
Hi @saniyusuf,
Have you tried messing with Crosswalk? It provides a different web runtime that might give you a significant performance boost.
I keep hearing this name come up. What exactly is cross walk and have you used it to get gains? @nicraboy
Hi @saniyusuf,
Crosswalk is an alternative run time for Apache Cordova. You can find more documentation here:
https://crosswalk-project.org/
Replace Android’s default WebView with Crosswalk, a predictable web runtime for developing powerful Android and Cordova apps.
I don’t personally use it in my apps because I haven’t had anyone complain about performance. I’m sure there are performance issues on some devices, but not enough for people to complain about. If I start getting complaints I will definitely re-evaluate the situation.
Here is an article I made on the subject if you want to give it a try. It should at least help rule out bad code.
http://blog.nraboy.com/2014/10/use-crosswalk-ionic-framework-android-apps/
Let me know how it goes.
I test on a Nexus 10, Nexus 5, and Nexus 7 as a side note.
Regards,
Crosswalk doesn’t fix all issues. It has a huge disadvantage which is additional 18 MB of application size. It’s recommended rather for games or similar things. Simple apps should work perfectly in the standard webview if the lib was optimized.