All Projects → xtools-at → Android Pwa Wrapper

xtools-at / Android Pwa Wrapper

Licence: gpl-3.0
Android Wrapper to create native Android Apps from offline-capable Progressive Web Apps

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Pwa Wrapper

Ios Pwa Wrapper
An iOS Wrapper application to create a native iOS App from an offline-capable Progressive Web App.
Stars: ✭ 268 (+1.13%)
Mutual labels:  wrapper, offline-first, offline, pwa, spa, progressive-web-app, single-page-app
Ember Service Worker
A pluggable approach to Service Workers for Ember.js
Stars: ✭ 227 (-14.34%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Jfa Pwa Toolkit
⚡️ PWA Features to Any Website (very Fast & Easy)
Stars: ✭ 245 (-7.55%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+150.94%)
Mutual labels:  offline, pwa, spa, progressive-web-app, service-worker
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+1576.98%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
Upup
✈️ Easily create sites that work offline as well as online
Stars: ✭ 4,777 (+1702.64%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app, service-worker
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (-61.13%)
Mutual labels:  spa, pwa, offline, progressive-web-app, single-page-app
Beer
The source code for the Progressive Beer app!
Stars: ✭ 73 (-72.45%)
Mutual labels:  offline-first, pwa, progressive-web-app, service-worker
Monitaure
🔔 A server uptime monitoring progressive web application - NO LONGER MAINTAINED
Stars: ✭ 135 (-49.06%)
Mutual labels:  offline-first, pwa, progressive-web-app, service-worker
jekyll-pwa-workbox
A Jekyll plugin using Workbox to make your PWA / Website available offline.
Stars: ✭ 22 (-91.7%)
Mutual labels:  pwa, service-worker, progressive-web-app, offline-first
Productivity Frontend
Productivity Application - Kanban Style Productivity Management Application with Customizable Boards, Lists and Cards to Make You More Productive.
Stars: ✭ 234 (-11.7%)
Mutual labels:  pwa, spa, progressive-web-app, service-worker
Super Progressive Web Apps
SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :
Stars: ✭ 304 (+14.72%)
Mutual labels:  offline, pwa, progressive-web-app, service-worker
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (+44.91%)
Mutual labels:  offline, pwa, spa, progressive-web-app
ambianic-ui
PWA for managing Ambianic Edge devices (smart cameras).
Stars: ✭ 32 (-87.92%)
Mutual labels:  pwa, offline, progressive-web-app, offline-first
Sw Precache
Service Worker Precache is a module for generating a service worker that precaches resources. It integrates with your build process. Once configured, it detects all your static resources (HTML, JavaScript, CSS, images, etc.) and generates a hash of each file's contents. Information about each file's URL and versioned hash are stored in the generated service worker file, along with logic to serve those files cache-first, and automatically keep those files up to date when changes are detected in subsequent builds.
Stars: ✭ 5,276 (+1890.94%)
Mutual labels:  offline-first, offline, progressive-web-app, service-worker
Notepad
📒 An offline capable Notepad PWA powered by ServiceWorker
Stars: ✭ 100 (-62.26%)
Mutual labels:  offline-first, progressive-web-app, service-worker
badaso
The API & platform builder, build your apps 10x faster even more, it's open source & 100% free !
Stars: ✭ 650 (+145.28%)
Mutual labels:  spa, pwa, service-worker
Parcel Plugin Sw Cache
📦👷 Parcel plugin for caching using a service worker
Stars: ✭ 45 (-83.02%)
Mutual labels:  offline-first, progressive-web-app, service-worker
quiz-app
🏆 QuizApp is a free and open-source quiz application that lets you play fully customized quizzes right in the browser.
Stars: ✭ 97 (-63.4%)
Mutual labels:  pwa, progressive-web-app, offline-first
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+283.4%)
Mutual labels:  offline-first, offline, pwa

Android-PWA-Wrapper

An Android Wrapper application to create native Android Apps from an offline-capable Progressive Web App.

Drafted for the Android App of my Leasing Calculator Web App using React, Redux, Materialize.css and a lot of Offline-First love over at leasingrechnen.at.

Looking for iOS or Desktop?

Check out my other projects:

Why would I use a wrapper?

I know, using a Wrapper-App to display a Website can feel a bit odd. But there are a few good reasons why you'd package your Web App like this.

  • If you've got a very sophisticated UI already, it might make sense not to rebuild it from scratch for multiple platforms, especally if it's a Single Page Application already, that doesn't "feel" like a Website.
  • There might be as well less competition for a given niche on App Stores, in comparison to Google directly. With leasingrechnen.at, I've got easily into the Top 10 Apps on Google Play for my country, whereas Google Search put me on page 9 as the Site is relatively new.

What it does

  • Sets up a WebView just the way PWAs/SPAs like it (e.g. enables App cache and DOM storage, ...).
  • Shows a loading spinner while fetching the Web App.
  • Provided your Web App is Offline-capable, it only needs an Internet connection on the first startup. If this fails, it shows a native refresh widget.
  • Opens all external URLs in the device's Browser instead.
  • Checks for Internet connection and fetches Updates for your Web App accordingly.
  • Is compatible down to JellyBean, although it's recommended to build for SDK Version >= 19 (KitKat). Building for SDK Version >= 21 (Lollipop) puts you on the safe side without having to worry too much about Browser support.
  • APK-size < 1.4 MB. The latest cat video from WhatsApp weighs heavier ;)

How to build your own

  • Get Android Studio 3.4+
  • Clone/fork repository
  • Put your Web App's URL in WEBAPP_URL in Constants.java
  • Replace app_name in strings.xml with the name of your App
  • Add your own primary colors to colors.xml (colorPrimary, colorPrimaryDark, colorPrimaryLight)
  • Put your own icons in place:
    • Add your own ic_launcher.png and ic_launcher_round.png in the mipmap folders
    • Add your own ic_appbar.png in the drawables folders. This is displayed in Android's Recent Apps View on your app bar, so it should look nicely when placed on top of your primary color.
    • I recommend using Android Asset Studio to get the icons ready in no time
  • Change the package name in app/build.gradle, applicationId
  • Change AndroidManifest.xml -> aplication -> activity -> intent-filter to your own URLs/schemes/patterns/etc. or remove the intent-filter for android.intent.action.VIEW altogether
  • Check Constants.java for more options
  • Build App in Android Studio

I don't accept Feature Requests, only Pull Requests :)

License

GNU General Public License v3.0 - if you use it, we wanna see it! Other licensing options are available on inquiry.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].