I’m developing an app with Ionic 2 & AngularJs 2.0 and the app is slow on IOS (several Ipad mini and Ipad 2 with IOS 9.x). It takes a many milliseconds to respond each touch. This app is only fast on Android 5.x. This app has only 4 pages: login, shopping cart (with a list of products), list of historical orders and a page for send an email. I have used components of Ionic 2 with a minimum of custom CSS.
I have the same issue on Android 4.x (it’s slower than IOS) and I don´t care. But it’s important for me that the app works fine on IOS.
My app only works fine on devices with Android 5 o higher. It’s tested in a Moto E2 (low-end smartphone with Android 5.1) and the app is fast, so I think that it’s not a problem with a large quantity of products or with my code.
I had the same issue on android but solved it with virtual scroll. ajax only when ionviewenter event triggered. Now it’s much faster and tabs switch between three large list is faster. But if i click tabs too often virtual list can show a bug (element become messed up a bit but when i scroll to refresh or open another tab everything seems ok)
On Android with Crosswalk the performance is much better than on iOS.
I use an Nexus 4 and and iPhone 6 plus. And the 3 years old nexus outperform an iPhone 6.
I wish i could get the wkwebview to work with ionic 2
Im developing an app in ionic 2, and confirm that in android 4.4 is slow. But gets solved with crosswalk.
On android 5.0 is great!
In IOS is the opposite, tried on several iPads and iPhones, and when changing views or triggering events is slow, anyone found a way to solve performance in IOS? Hope gets solved in the release of ionic 2 framework
React native may not be faster than Angular 2 but may be faster than Ionic 2, the premise of Ionic is using cordova to create a web view in the mobile, then pulling the files of the app like if it was a mini browser requesting the files as a web page.
Meanwhile React Native bases itself on compiling the components into native code, may not be as native as pure Java or Objective C, but it should work faster than Ionic 2.
I think this discussion is going off topic, cause is not about comparing native vs web vs other implementations. The issue is about ionic 2 slow in IOS. Be aware that as said, I ve tested ionic 1, and now ionic 2, in several IOS devices and android, so when I wrote that is slow, is just for version 2 in iOS devices.
Could anyone please create a sample plunker or repository that we can use to reproduce the performance issues and attach it to a new issue so we could narrow down the problem? We have a link to a sample plunker in the template for creating an issue: https://github.com/driftyco/ionic/issues/new
Also, please add any information about what you are using to reproduce this: what version of iOS, is it deployed to a device or simulator, are you using Ionic View, etc.