Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic 3: Lazy loading of pages fails if no internet connection

$
0
0

@ptsimpso wrote:

I've set up my project according to the Ionic announcement here: http://blog.ionic.io/ionic-and-lazy-loading-pt-1/.

Everything works perfectly when there is even poor networking conditions. However, if I turn network connectivity completely off on device (or if I throttle the network to zero in browser using Chrome dev tools), the app crashes when I try to navigate to a page that is lazy loaded.

Is this expected behavior? Should lazy loading pages work even if the internet is disconnected on the device? Again, this occurs both on my android device, as well as in the browser.

Here is the error I see in console logs:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>