Long initial loading times on Android
Hi there,
I am experiencing long loading times of the tutorial apps on Android. Reading and trying out different posts on SO and github did not really solve the problem.
Specifically when I just take the meteor create test app and deploy it, it loads in about 2 seconds, adding just the necessary meteor- and npm-packages for angular-meteor from the socially tutorial (angular 1.5) will yield a loading time of 8-12 seconds on Android 5.
Also the meteor-angular2.0-socially app takes 8 seconds without the launch-screenpackage that lengthens the loading time.
On an iPhone it seems to be more user friendly, only 4-7 seconds.
Also this probably leads to the deviceready has not fired after 5 seconds. log-output.
Is it because the packages (angular and angular-meteor npm and pbastowski:angular-babel and urigo:static-templates) need longer loading time or some initialization delay?
Can anyone help me with this issue?
Also other sources (e.g. https://forums.meteor.com/t/meteor-cordova-startup-time/6266/3 or https://forums.meteor.com/t/ridiculously-slow-startup-time-on-meteor-ios-cordova-application-localmarket/22718) could not help.
I posted here since the loading times slowed down when I added angular.
Any words on this one? We have the same problem. Our angular2+meteor prokect load time on android os around 15s! It is impossible to use it.
There should be lazy loading and asynchronous Imports now in meteor 1.5 but we switched to react native actually. Eg oclazyload etc
Miloš Micić [email protected] schrieb am Sa. 6. Mai 2017 um 14:22:
Any words on this one? We have the same problem. Our angular2+meteor prokect load time on android os around 15s! It is impossible to use it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Urigo/angular-meteor/issues/1559#issuecomment-299636328, or mute the thread https://github.com/notifications/unsubscribe-auth/AHwdRyIEjaCW7k_ZcUqs78utX7L1iAwQks5r3GYPgaJpZM4L5KFq .
no solution ?? same boat
Check out the new examples for using lazy loading the dynamic imports here - https://github.com/Urigo/angular-meteor/tree/master/examples/MeteorCLI
https://github.com/Urigo/angular-meteor/tree/master/examples
we've also published new angular-compilers package. It supports:
- Typescript compilation
- Assets compilation (HTML, styles)
- Angular's AoT compilation
- Rollup's bundling with Tree Shaking
Please open a new issue if you encountered one.