Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ionic v2 error ionic view

I'm developing an ionic v2 app but even working on ionic lab it gets a complete white screen on the ionic view. If I do the same withe the ionic v1 it works.

ionic start sample --v2
cd sample
ionic lab
ionic upload

It shows white but

ionic start sample
cd sample
ionic lab
ionic upload

It works perfectly. No changes on the code at all Thanks

like image 713
Robert Avatar asked Jan 26 '17 15:01

Robert


2 Answers

ionic 2 needs at least 4.4 android to work, lost a lot of time on this and there is nothing on the ionic website informing about that. Writing down here to help anyone in the future.

like image 184
Robert Avatar answered Oct 23 '22 08:10

Robert


Ionic v2 supports android 4.4 and up. The older browser on pre-4.4 devices do not have the features needed for ionic2 and angular 2 to work. Though this can be fixed with crosswalk.

like image 22
Petru Avatar answered Oct 23 '22 07:10

Petru