Slow start with ionic

I am testing an ionic infrastructure, and I found that the application loads very slowly using the main tabs application (almost no changes).

Here is what I did:

ionic start TabsDemo tabs cd \TabsDemo ionic platform add android ionic build TabsDemo 

I commented on two elements of the splash screen in the configuration. Running it on HTC M7, I see a black screen for ~ 3 seconds before the application loads for the first time. After that, the resources are cached and the application loads normally.

Is there a setup or something that I can do to download the application in a reasonable amount of time or all ionic applications suffer from this?

+7
android ionic-framework ionic
source share
3 answers

Try adding a production flag and shortening startup time using -release, when you are at a development stage, it can be slow. Try linking with gulp or grab all your css and js.

I tried bundled applications with other devices. It works great on several brands that we use to test the development of these applications.

Ionic applications tested on:

  • Carbon
  • Micromax
  • nexus
  • Moto
  • Ipad
  • iphone
-one
source share

This black screen and white sheet with the symbol of Ionne is a splash screen. Splash screens are used to load the user interface block and allow the application to run background tasks at startup.

0
source share

Use the Crosswalk Webview plugin. This not only gives you excellent web browsing capabilities where your own web browsing is lacking in performance, but also provides consistent performance on Android 4.0+ platforms. The only drawback is the increase in the size of your assembly.

https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview

0
source share

All Articles