Do not reload WebView on Appstart (Firebase)


#1

Hello everyone,

i started my first Ionic Project where i use Firebase to persist my data on the serverside. The problem here is that i need my app to work offline. I know that Firebase is not the perfect solution for this.

Nevertheless my app works great when going offline (all data is available from the existing firebase objects which are handled using factories. Only the user authentification is ofc not working offline).

The problems start now when the user force closes the app (for example when the battery of the device runs out of power). On app start the webview seems to reload the whole DOM and JS. Is there a possibility to coldstart the app without reloading everything?

Thank you very much!


#2

Is this possible?

We have the need for the default views in our app to be readily available when the user has no internet connection.