Ben Bucksch <mailto:ben.buck...@beonex.com>
2016 April 7 at 17:26
if I want to write an app that runs everywhere (desktop, mobile,
website), currently my best choice is to make a web app. (I don't like
that, I'd prefer native apps, but there's no cross platform widget set
that's high-quality and usable.) That's why I wrote my app as a web
app. But it needs to work fully offline, all local data, like a native
app. That's why I want to package it as APK. So, by being an app
platform, you're directly helping web apps. From what I understand,
that is the goal for Mozilla.
Your other option is to use the design methodologies of Progressive Web
Apps (PWA) and Offline First to build a web app that works fully offline
(on both Android and desktop) without being packaged as an APK (or other
packaging format on desktop).
Relevant technologies include IndexedDB (for data), which works on most
major browsers, and Service Workers (for application chrome), which
works in Firefox, Chrome, and Opera (and degrades gracefully on other
browsers). And the PWA methodology also provides additional features to
make an app more "appy," particularly on Android, including push
notifications and enhancements to the "save to homescreen" feature of
supporting browsers.
-myk
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev