I am developing a cross platform app using Ionic framework with angular js (no angular 2 yet).
I had no problem developing and testing on windows, and I’ve lately borrowed a macbook air to be able to develop for ios devices too.
I’ve exported the whole project on the macbook air, added ios platform, compiled, emulated but here is the surprise:
Every single component works properly, HTTP requests are done properly, but the views are sometimes not rendered.
To clarify, I have basically the landing screen of my app which is fetching from an external API a set of elements. The app is a “tabs” app.
While the API request is being executed I have a spinner and, when the request is processed, I generate a set of <ion-slide-page>
(inside a <ion-slides>
) and each generated slide-page (up to 10 slides) has an <ion-content>
with scrolling enabled.
In windows, I was directly developing on a phisical device (a Lenovo tablet and a Nexus 5X phone), and every single view and element gets rendered properly.
On MacOSx Sierra, whenever I compile the project and run the emulator, the console tells me that the requests are properly executed, but the views does not render and doesn’t give any error either.
I wondered whether it was an ion-content related issue or an ion-slide-page one, but I’m experiencing the same exact problem on another tab of the app where it renders a set of Cards (<div class="card">
), so I guess it can’t be related to any ion-component.
Did anyone experience such? May it be a simulator-related problem?
Thanks.