Meteor's appcache package with the ability to add a prompt when the appcache is reloaded as to avoid the awkward UX experience of having the app just reload out of no where. Also, added is the ability to manually add files to the application cache manifest if you want to serve them yourself.
================
mrt add appcache-extra
================
{
"appcache": {
"addedFiles": [
"/cordova.js"
]
},
"public": {
"appcache": "prompt"
}
}
- appcache.addedFiles: Array of files you want to manually add to application cache manifest
- public.appcache: either propt or doesn't matter.. if prompt it will render the appcache-prompt template instead of auto refreshing the app
================
You can overwrite the appcache-prompt
template and styling however you would like!
================
mrt --settings settings.json
================
If you want more features than this provides, file an issue. Feature requests/contributions are welcome.