Do I really need an appmanifest and cordova-app-loader if my app only should work online (with a small “sorry-you’re-not-online-fallback”-view)?

Wont it be enough to just point all my JS and css to a remote server like below, and then force a reload of the files when they need to be updated with something like window.location.reload(true)?
All the views could be compiled with ex gulp-angular-templatecache

Or am I missing something here?

<!DOCTYPE html>
    <!-- compiled css output -->
    <link href="" rel="stylesheet">

    <!-- ionic/angularjs js -->
    <script src=""></script>

    <script src="cordova.js"></script>

    <!-- your app's js -->
    <script src=""></script>
    <script src=""></script>
  <body ng-app="app">

@tobbe the issue with what you described (as much as i wish it was so simple) is that you miss out on caching those files locally. Every time the app opens it will have to download everything again.

Based on your input I’ve forked your repo and updated your code to a working state:

I can hot push JavaScript files, but HTML files still don’t work. Maybe you can have a look over it to point me into the right direction.

If you wish a pull request, just ping me.

Thanks a lot!!!

Hi guys,

I’ve thouroughly read all tips of @urbiwan and updated my repo to a working state.
So far HTML/JS/CSS files are working.
Maybe some one has the time to implement the ngCacheImage feature.

@urbiwan Is Cordova App Loader works fine and flawless ?

@rajatrocks should anyone use Application Cache ? As it seems not supported via wkWebView ?

I am in the way to build such app which updates on the fly --> still looking for good to have approch

Thank in advance

Ionic has their own service now:

I switched to my own update plugin ( native ) , which is inspired by ionic deploy, but without the complete functionality