Canvas not loading when offline/ without Internet connection

The canvas does not load when I turn off the Internet connection. But when I am online it works perfectly.
I need canvas for an offline application. is there a workaround for this?.

How are you previewing your project?

If you download the app, does the Canvas appear without an internet connection?

I downloaded the android app, and canvas is not loading without an internet connection.