All Projects → xtools-at → Ios Pwa Wrapper

xtools-at / Ios Pwa Wrapper

Licence: gpl-3.0
An iOS Wrapper application to create a native iOS App from an offline-capable Progressive Web App.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Ios Pwa Wrapper

Android Pwa Wrapper
Android Wrapper to create native Android Apps from offline-capable Progressive Web Apps
Stars: ✭ 265 (-1.12%)
Mutual labels:  wrapper, offline-first, offline, pwa, spa, progressive-web-app, single-page-app
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (-61.57%)
Mutual labels:  spa, pwa, offline, progressive-web-app, single-page-app
Upup
✈️ Easily create sites that work offline as well as online
Stars: ✭ 4,777 (+1682.46%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+1558.21%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (+43.28%)
Mutual labels:  offline, pwa, spa, progressive-web-app
ambianic-ui
PWA for managing Ambianic Edge devices (smart cameras).
Stars: ✭ 32 (-88.06%)
Mutual labels:  pwa, offline, progressive-web-app, offline-first
Ember Service Worker
A pluggable approach to Service Workers for Ember.js
Stars: ✭ 227 (-15.3%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+148.13%)
Mutual labels:  offline, pwa, spa, progressive-web-app
Jfa Pwa Toolkit
⚡️ PWA Features to Any Website (very Fast & Easy)
Stars: ✭ 245 (-8.58%)
Mutual labels:  offline-first, offline, pwa, progressive-web-app
React Most Wanted
React starter kit with "Most Wanted" application features
Stars: ✭ 1,867 (+596.64%)
Mutual labels:  offline, pwa, progressive-web-app
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 (+1868.66%)
Mutual labels:  offline-first, offline, progressive-web-app
Hellobooks
A Single-Page Library Management App built with nodejs, express and react and redux
Stars: ✭ 37 (-86.19%)
Mutual labels:  offline-first, pwa, progressive-web-app
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 (+279.1%)
Mutual labels:  offline-first, offline, pwa
Beer
The source code for the Progressive Beer app!
Stars: ✭ 73 (-72.76%)
Mutual labels:  offline-first, pwa, progressive-web-app
jekyll-pwa-workbox
A Jekyll plugin using Workbox to make your PWA / Website available offline.
Stars: ✭ 22 (-91.79%)
Mutual labels:  pwa, progressive-web-app, offline-first
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.81%)
Mutual labels:  pwa, progressive-web-app, offline-first
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (-77.99%)
Mutual labels:  offline, pwa, spa
Vuefront Nuxt
Vuefront Nuxt module for building components based on config.
Stars: ✭ 16 (-94.03%)
Mutual labels:  offline, pwa, spa
Monitaure
🔔 A server uptime monitoring progressive web application - NO LONGER MAINTAINED
Stars: ✭ 135 (-49.63%)
Mutual labels:  offline-first, pwa, progressive-web-app
Demo Progressive Web App
🎉 A demo for progressive web application with features like offline, push notifications, background sync etc,
Stars: ✭ 798 (+197.76%)
Mutual labels:  offline, pwa, progressive-web-app

iOS-PWA-Wrapper

An iOS Wrapper application to create a native iOS App from an offline-capable Progressive Web App.

Drafted for the iOS 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 Android or Desktop?

Check out my other projects:

Prequisites

For bringing offline-capabilities to your Web App on Safari and iOS' embedded WebKit browser, you have to use AppCache. Service Worker API is not yet supported in WebKit, so you might want to use something like Appcache Webpack Plugin to make your PWA offline-accessible on iOS in a somewhat easy way.

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

  • Provides a native iOS navigation header.
  • Sets up a WKWebView instance just the way PWAs/SPAs like it.
  • 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 / 3rd party apps instead.
  • Automatically fetches updates of your Web App.

How to build your own

  • Clone/fork repository and open in Xcode
  • Head over to Constants.swift and
    • add your app's name and the main URL to fetch
    • set the host you want to restrict your app to
    • add your custom Javascript string to open your Web App's menu.
      • this is injected into the site when the "Menu" button is pressed. This wrapper assumes you're hiding your Web App's header in favor of the native App navigation and show/hide your menu via Javascript.
    • customize the colors
    • tweak the other options as you prefer
  • Put your own App icons in place in Assets.xcassets
    • Remember, 1pt equals 1px on 1x-size. E.g., if you have to provide a 20pt icon of 3x-size, it has to be 60x60px.
    • iOS doesn't like transparency, use background colors on your icons.
    • I like using App Icon Maker, but any other similar service will do it as well.
    • Don't forget the launcher icon!
  • In the Project Overview
  • Build App in Xcode

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].