This is linked to a question I've posted on StackOverflow: http://stackoverflow.com/questions/40718494/ionic-2-crosswalk-for-android-this-platform-height-width-inconsistent-resul
I have trouble getting the accurate height and width of the web browser since I have installed crosswalk in my Ionic 2 project. In Ionic 2, one needs to wait for this.platform.ready() event. By proceeding like that I don't get consistently the right height and width (it is either correct or equal to 0). My guess is that I need to watch for another event controlled by Crosswalk. I had a look at the documentation and found nothing dealing with that topic so far, so I ask to experienced Crosswalk user whom could have an idea. [http://cdn.sstatic.net/Sites/stackoverflow/img/[email protected]?v=73d79a89bded&a]<http://stackoverflow.com/questions/40718494/ionic-2-crosswalk-for-android-this-platform-height-width-inconsistent-resul> Ionic 2 Crosswalk for Android: this.platform.height()/width() inconsistent result on this.platform.ready() event<http://stackoverflow.com/questions/40718494/ionic-2-crosswalk-for-android-this-platform-height-width-inconsistent-resul> stackoverflow.com I use Crosswalk plugin for Android with Ionic 2 and I've noticed, when running on a real device, that this gives an inconsistent result: this.platform.ready().then(() => { console.log(...
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
