Giter VIP home page Giter VIP logo

superpwa / super-progressive-web-apps Goto Github PK

View Code? Open in Web Editor NEW
381.0 25.0 82.0 1.56 MB

SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :

Home Page: https://wordpress.org/plugins/super-progressive-web-apps/

License: GNU General Public License v2.0

PHP 87.91% JavaScript 9.02% CSS 3.07%
superpwa pwa splash-screen offline progressive-web-app plugin wordpress progressive-web-apps wordpress-plugin wordpress-website

super-progressive-web-apps's Introduction

Super Progressive Web Apps

follow SuperPWA on Twitter Star Super Progressive Web Apps

Super Progressive Web Apps

Super Progressive Web Apps

SuperPWA helps to convert your WordPress website into Progressive Web Apps easily.

Visit Website »

Report bug · WordPress Plugin · Reviews · FAQ · Contributions

LightHouse Score Super Progressive Web Apps Downloads Super Progressive Web Apps Rating Super Progressive Web Apps Version Super Progressive Web Apps Version

Welcome to the Super PWA GitHub repository

⚡️ Demo : superpwa.com Check Video's to know how it works

What is Progressive Web Apps

Progressive Web Apps (PWA) is a new technology that creates a middle ground between a website and a mobile app. They are installed on the phone like a normal app (web app) and can be accessed from the home screen.

Users can come back to your website by launching the app from their home screen and interact with your website through an app-like interface. Your return visitors will experience almost-instant loading times and enjoy the great performance benefits of your PWA!

Super Progressive Web Apps makes it easy for you to convert your WordPress website into a Progressive Web App easily!

⭐ Support the project

If you feel super excited and want to support us in a small way, please consider starring and/or sharing the repo! This helps us getting known and grow the community.

Star our repo

Also you can support us via following on social media's and share about us.

🏗 Installation

Once SuperPWA ⚡️ is installed, users browsing your website from a supported mobile device will see a "Add To Home Screen" notice (from the bottom of the screen) and will be able to 'install your website' on the home screen of their device. Every page visited is stored locally on their device and will be available to read even when they are offline!

SuperPWA is easy to configure, it takes less than a minute to set-up your Progressive Web App! SuperPWA does a clean uninstall, by removing every database entry and file that it creates. In fact, none of the default settings are saved to the database until you manually save it the first time. Go ahead and give it a try.

💡 Progressive Web App Minimum Requirments

  • Progressive Web Apps require that your WordPress website is served from a secure origin i.e. your website should be HTTPS and not HTTP. If your website isn’t HTTPS, please contact your host about it. You can also ask us Support Forums if you need help.

Videos on How Add to Home Screen & Progressive Web Apps works on Different Browsers
Google Chrome for Android
📽️ Google Chrome for Android
Mozilla Firefox for Android
📽️ Mozilla Firefox for Android
Microsoft Edge for Android
📽️ Microsoft Edge for Android
Samung Internet for Android
📽️ Samung Internet for Android
PWA on iOS - Safari Browser
📽️ PWA on iOS - Safari Browser

Detailed Documentations for testing PWA on Browsers

📦 What's in the box

Here are the current features of Super Progressive Web Apps:

  • Generate a manifest for your website and add it to the head of your website.
  • Set the application icon for your Progressive Web App.
  • Set the background color for the splash screen of your Progressive Web App.
  • Your website will show the "Add to home screen" notice when accessed in a supported browser.
  • Aggressive caching of pages using CacheStorage API.
  • Pages once cached are served even if the user is offline.
  • Set custom offline page: Select the page you want the user to see when a page that isn't in the cache is accessed and the user is offline.
  • New in version 1.2: Support for theme-color.
  • New in version 1.2: Now you can edit the Application Name and Application Short name.
  • New in version 1.2: Set the start page of your PWA.
  • New in version 1.2: Set Accelerated Mobile Pages (AMP) version of the start page. Supported plugins: AMP for WordPress, AMP for WP, Better AMP, AMP Supremacy, WP AMP.
  • New in version 1.3: Added support for high-quality splash screen. You can now set the 512x512 icon for the splash screen of your Progressive Web App.
  • New in version 1.3: Super Progressive Web Apps now accounts for content updates and will update the cache as you update the website.
  • New in version 1.3: Improved in-browser service worker update handling.
  • New in version 1.4: You can now set the default orientation of your PWA. Choose from "any" (Follow Device Orientation), "Portrait" and "Landscape".
  • New in version 1.4: You can now set the theme_color property in the manifest.
  • New in version 1.5: OneSignal integration for Push notifications.
  • New in version 1.6: WordPress Multisite Network compatibility.
  • New in version 1.7: Add-Ons for SuperPWA is here! Ships with UTM Tracking Add-On to track visits coming from your PWA.
  • New in version 1.8: Compatibility issues with OneSignal are now resolved!
  • New in version 1.8: New Add-On: Apple Touch Icons that sets your app icons as Apple Touch Icons.
  • New in version 2.0: SuperPWA is now compatible with WordPress installed in a sub-folder.
  • New in version 2.0: You can now set display property from SuperPWA settings.
  • New in version 2.1.1: Support for maskabale icons.

🔮 Upcoming features:

  • Offline Indicator Notice.

Device and Browser Support For PWA

Chrome Chrome Firefox Firefox Edge Edge Opera Opera Safari Safari Samsung Samsung UC Browser UC Browser Brave Brave
Add to Home Screen Yes Supported Beta or Partial Support Supported Beta or Partial Support Supported Supported Supported
Service Workers Yes Supported Supported Supported Supported Supported Supported Supported
Web Push & Notifications Yes Supported Supported Supported Beta or Partial Support Supported Supported Supported
Payment Request API Yes In Development Supported In Development Supported Supported - -
Meta Theme Color Yes - - - - Yes - Yes

Supported Supported         Beta or Partial Support Beta or Partial Support         In Development In Development

Progressive web apps need browsers that support manifests and service workers. Currently Google Chrome (version 57+), Chrome for Android (62), Mozilla Firefox (57), Firefox for Android (58) are the major browsers that support PWA.

The list is fast growing and is likely to be supported in most major browsers by the end of this year.

Why Build Progressive Web Apps?

Why Build Progressive Web Apps

How To Convert Your WordPress Website Into A Progressive Web App

⚙️ WordPress Installation

  • Visit WordPress Admin > Plugins > Add New
  • Search for Super Progressive Web Apps
  • Click "Install Now" and then "Activate" Super Progressive Web Apps

⚙️ To install manually:

  • Upload super-progressive-web-apps folder to the /wp-content/plugins/ directory on your server
  • Go to WordPress Admin > Plugins
  • Activate Super Progressive Web Apps plugin from the list.

Customizing Your Progressive Web App

Your Progressive Web App should be ready to test with the default settings upon activation. You can customize it further and make it truly your own.

  • Go to WordPress Admin > "SuperPWA" > Settings
  • Set a Background Color for the splash screen to be shown when your PWA is opened on a mobile device.
  • Set the Application Icon. This will be the icon of your PWA when it is added to the homescreen in a mobile device. The icon must be a PNG image and exactly 192 x 192 pixels in size.
  • Set the Offline Page. This page will be displayed if the user is offline and the page he requested is not cached already. Ideally you should create a dedicated WordPress page and set it here. Within the page you create, you could add a note that reads, "It looks like you are offline and the page you requested is not available right now. Please check back again once you are online.".
  • Click "Save Settings".

Testing Your Progressive Web App

  • Open a supported browser in a supported device (for eg: Chrome for Android (62 or higher) in an Android device)
  • Enter your website and wait till it fully loads
  • You should see a pop-up that has your Application Icon and a button that reads "ADD TO HOME SCREEN".
  • Click on it and your PWA will be added to your home screen. Wait for the install to complete.
  • Go to your home screen and open your PWA. Browse into a few pages if you like. Close the App.
  • Disconnect from the internet and now open your PWA again. You should be able to see all the pages that you previously browsed.
  • Try visiting a page that you did not visit before. You should see the page you set as your "Offline Page" in the settings of SuperPWA.

🤝 About us

We are a duo who got excited about the idea. Our mission is simple: Help you build an awesome PWA that your users would want to have on their home screen. When we first heard about PWA we wanted to learn everything about it. We have spent countless hours learning and wants to share it with the world. Please give us your constructive feedback and support.

⛷️ Support

This is a developer's portal for Super Progressive Web Apps and should not be used for support. Please visit the Support Forums.

🐛 Reporting bugs

If you ever get stuck, we are here to watch your back! Open a New Support Topic ticket if you have a question or need a feature. We are super excited to hear your feedback and we want to genuinely help you build the best Progressive Web App for your WordPress website!

🎍 Contributions

Anyone is welcome to contribute to Super PWA to make it SUPER.

There are various ways you can contribute:

                       

  • Send us a Pull Request with your bug fixes and/or new features.
  • Provide feedback and suggestions on enhancements.
  • Share via Social Media's and spread SuperPWA

    Share on Twitter     

    Share on Facebook     

    Share on LinkedIn    

📇 Changelog

superpwa.com/changelog/.

Emoji Credits : Emojipedia Social Media Icon Credits : Flaticon

⬆ back to top

super-progressive-web-apps's People

Contributors

ajeetku avatar ajithkumar072 avatar akshaywali avatar ansaritalha avatar arunbasillal avatar developermustak avatar josevarghese avatar kumawatvikas avatar lucalbert avatar merajali294 avatar pradipshende avatar sanjeevsetu avatar syedimran22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

super-progressive-web-apps's Issues

[Feature Request] Custom Backstack

Web back stacks are not like chrome back button. This creates some difference in the experience when pressing the back button. Can a way be implemented so that we can have a custom backstack, based on the sitemap?

Problem Apps

Bonjour,

Je rencontre un probleme avec cette application et je n'arrive pas à la faire fonctionner.
the website diane-security.fr.

Error 500 on backend

Hi !

We've got an 500 error on Backend, i disabled plugin temporarely but need to fix this ..

2018/04/23 11:15:12 [error] 29813#29813: *1436033 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once({my-path}/wp-content/plugins/super-progressive-web-apps/admin/loader.php): failed to open stream: No such file or directory in {my-path}/wp-content/plugins/super-progressive-web-apps/superpwa.php on line 61
PHP message: PHP Fatal error:  require_once(): Failed opening required '{my-path}/wp-content/plugins/super-progressive-web-apps/admin/loader.php' (include_path='.:/usr/share/php') in {my-path}/wp-content/plugins/super-progressive-web-apps/superpwa.php on line 61" while reading response header from upstream, client: 105.102.84.199, server: frenchmac.com, request: "GET /wp-admin/admin-ajax.php?action=wpp_get_popular&id=12 HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/web21.sock:", host: "frenchmac.com", referrer: "https://frenchmac.com/mac/sauvegarder-iphone-disque-dur-externe/"

We use last version of the plugin

Can you help us ?

Start Page Error

After latest update, my start page isn't opening correct page, opens a random image gallery. I've tryed deleting pwa and reinstalling. Cleared all caches, change start page setting, nothing changes it. Also don't see startpage change in manifest no matter what is selected. Suggestions?
https://caves.org/survey/ics/

Update plugins or theme assets previously cached

Hello!
Thanks for this plugin and the effort you are putting into the development.

I got a question:
several plugins, and of course themes, enqueue assets (stylesheets or scripts).
As developers, we don't have control of their version: most of them appends a ?ver= or ?v= to disable previously cached versions.

How does this situation is managed by the SuperPWA service worker?

I did a test:

  1. I have a WordPress using TwentySeventeen 1.4
  2. I install and configure SuperPWA plugin
  3. I visit the website, the sw caches style.css
  4. I update TwentySeventeen to version 1.5
  5. I visit the website and I got the previously cached version 1.4.

I noticed that in the Cache Storage I got 2 style.css files, both versions, but the SW loads the version 1.4.

screen shot 2018-05-07 at 20 31 42

Is it a common issue?
Thank you!

Fatal Error: Cant use function return value in write context

In the superpwa_validater_and_sanitizer() function of SuperPWA, the return value of sanitize_text_field() was being passed as argument to empty() function.

According to PHP manual:

Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). Instead, use trim($name) == false.

Fix Apple splash screen (white screen) issue

Hello everybody,

I noticed that there is a feature which Apple provides but this plugin does not use.
As mentioned in the apple developers docs, we are able to add a splash screen to our PWAs on iOS devices. When no specific splash screen is provided, apple inserts a complete white screen which doesn't look good and shows a huge difference between a native app and a PWA.

With this line of code we can provide a custom splash screen:
<link rel="apple-touch-startup-image" href="/launch.png">
Of course we have to provide different images for different screen sizes which are listed here.

With this feature we would get one step closer to native app experience on iOS.

Getting console error and superPWA is not working

Hello There,

First of all thanks for great plugin but its not working for me maybe some mistake, but I am not able to figure out whats going wrong.

Can you please take a look at error and my staging website https://v30.knawat.com/

Service worker event waitUntil() was passed a promise that rejected with 'InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable'. superpwa-sw.js:18:1 TypeError: ServiceWorker script at https://v30.knawat.com/superpwa-sw.js for scope https://v30.knawat.com/ encountered an error during installation.

screenshot.
pwa_error

Thanks for your time.

Best regards,
Dharmesh Patel

Prompted to add to the home screen on Firefox, but not on chrome

Hi!
Use case:
WordPress Multisite Running on shared hosting on https://yogaandnaturopathy.in

My lighthouse audits are like this:
pwa report

This medium article seems related:
https://medium.com/progressive-web-apps/im-trying-to-make-a-progressive-web-app-part-5-100-pwa-e27799afd095
As a result, I am prompted to add to the home screen on Firefox, but not on chrome.
Do you think this can be resolved?

I would love to contribute eventually, but I am still learning web development ATM.
Amazing project BTW.

Feature Request: add Display option on the admin

Currently, the manifest Display setting is fixed to Standalone.
It would be nice if we could set that option from the admin, like the other settings.
For example to set it to "fullscreen".

Thank you!

Error mixed http vs Https

ServiceWork function over https

And spwa generate register-sw.js over http.

function superpwa_register_sw()
{
//need change here
wp_enqueue_script('superpwa-register-sw', SUPERPWA_PATH_SRC . 'public/js/register-sw.js', array(), null, true);
wp_localize_script('superpwa-register-sw', 'superpwa_sw', array(
'url' => superpwa_sw('src'),
)
);
}

Work for me this

function superpwa_register_sw()
{
//replace http by https
$url = preg_replace("/^http:/i", "https:", SUPERPWA_PATH_SRC . 'public/js/register-sw.js');

wp_enqueue_script('superpwa-register-sw', $url, array(), null, true);
wp_localize_script('superpwa-register-sw', 'superpwa_sw', array(
        'url' => superpwa_sw('src'),
    )
);

}

Firefox JS Error

hi,

i get the following ugly error in firefox 59, chrome works

SuperPWA service worker ready
SuperPWA service worker installation
SuperPWA service worker caching dependencies
Service worker event waitUntil() was passed a promise that rejected with 'InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable'.
superpwa-sw.js:1:457
TypeError: ServiceWorker script at https://holospirit.is/superpwa-sw.js for scope https://holospirit.is/ encountered an error during installation.

Any hint why?

CORS when using domain mapping

To fix it need to create mu-plugin with code like this:

<?php
/**
 * Overriding custom SuperPWA functions before they are loaded for multisite
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$pwa_plugin_name = 'super-progressive-web-apps/superpwa.php';
$pwa_plugin_dir  = ABSPATH . PLUGINDIR . '/' . $pwa_plugin_name;

include_once( ABSPATH . 'wp-admin/includes/plugin.php' );


if ( file_exists( $pwa_plugin_dir ) && is_plugin_active( $pwa_plugin_name ) ) {
	function superpwa_register_sw_mu() {

		$url = superpwa_sw('src');
		$path = parse_url($url, PHP_URL_PATH);
		$url_query = parse_url($url, PHP_URL_QUERY);
		$file_url = ($path ? $path : '') . ($url_query ? '?' . $url_query : '');

		wp_deregister_script( 'superpwa-register-sw' );
		wp_enqueue_script( 'superpwa-register-sw', SUPERPWA_PATH_SRC . 'public/js/register-sw.js', array(), null, true );
		wp_localize_script( 'superpwa-register-sw', 'superpwa_sw', array(
				'url' => $file_url,
			)
		);
	}

	add_action( 'wp_enqueue_scripts', 'superpwa_register_sw_mu', 20 );

}

Generated Manifest.json is not being read

Hi, I tried using your plugin and encountered a weird issue, not sure if this is in your ballpark or should I raise this to Chromium, but the manifest file isn't read, I checked the format, but since it's generated it shouldn't have any issue.

https://rumbleroyale.gg/ <- Check this site for the details, service workers got generated just fine.

How to get rid of Super PWA

I'm really bored of bugs that came with this add-on. I've disabled it, removed it but even if I did not intend to use it for my forum software XenForo, PWA fucked it up and keeps messing with it. I do not want to see a superpwa-js app runing for my website, at least until it is completely updated.

Oh BTW, the last bug we encountered was causing the posts to load partially, making only the banner ad visible. You had to do an F5 to load it again...

A2HS display property not working with subfolder

We have installed SuperPWA for our blog. We are getting auto prompt from browser and its adding into homepage. Below is Manifest URL.

https://stgb2c.turacomobile.com:9443/blog/superpwa-manifest.json

Problem

  • Clicking on icon not opening as a standalone application.
  • Every time hitting URL is prompting to A2HS. Its already

Is it happening due to website is in sub--folder? Main Website is having its own manifest.
Website URL : https://stgb2c.turacomobile.com:9443/blog/
Kindly help to resolve this issue.

Offline page never shows, even when offline

Environment

Test:

  • Open home page in Chrome (incognito) with emulated mobile phone (browser caches cleared, service worker updated)
  • Set network throttling to Offline
  • Open for example https://glueckpress.com/9336/amp-and-wordpress/
  • Expected behaviour: show Offline Page
  • Factual behaviour: shows content of home page under the URL of the post
  • Same behaviour with and without page caching/file optimisation
  • Same behaviour on a real smartphone (Galaxy S6, Chrome)

Let me know if you need me to test further, or if I missed anything!

PWA for each page?

Hey. I have a website that I use as 'Online Business Card' type of pages.
Meaning - each one of my clients has a link on my website that is showing their business.
Is there any way that I can make each page separably and save each one as a unique web app?
(in other words - each page will have its own unique web app)
Is it possible?
Thank you

Not an issue - but extra features

HI, thank you for such a great plugin. It works seamlessly.

It would be great if we could choose if all pages could be offline cached. Instead of only the pages that have already been visited.

An option to export our PWA's so we can upload to Playstore etc.

The option of push notifications.

(not sure if you want these on seperate requests)

Bad uninstall, 404 errors

Hey guys,

I uninstalled the plugin for testing and debugging purposes and I noticed that in my console I am getting multiple 404 errors when I am logged as admin as something is still calling 'superpwa-sw.js'.

The error repeats itself over if the site is left idling.

I have no idea where this is being called from - I don't believe its an caching issue either.

I also get this message: 'SuperPWA: Current page is excluded from cache'.

This doesn't pose a problem to the visitors as only logged in users see this however I prefer to keep the errors to a minimum anyway, do you know of any fixes to this?

Did I uninstall the plugin wrong? If so can you point me in the right direction of where I can find some documentation on this?

If you want to have a look at the site the URL is: 'https://www.nettl.com.au/'

I don't believe you will see the error as you won't be logged in as admin but maybe you can see something I can't.

Cheers for the help.

spwa

HTTP/2 support

We have a HTTP/2 capable server, if we test with lighthouse we get the following warning:
chrome_2018-10-11_13-21-25

Odd Behaviour When used Cross-Domain

Currently using wp-config.php to dynamically set the site domain name:

define('WP_SITEURL', $_SERVER['HTTP_HOST']);
define('WP_HOME', $_SERVER['HTTP_HOST']);

Now this is leading to some odd behaviour, the primary domain ayanajewellery.com vs. the sub-domain loaded us.ayanajewellery.com

Errors in Chrome console include:
Uncaught (in promise) TypeError: Failed to fetch
Uncaught (in promise) TypeError: Failed to update a ServiceWorker: Not found

Add iOS ,,add to homescreen"-workaround prompt to plugin

Hi everyone,

Here is a workaround for a modal which only displays on iOS devices which asks visitors to add the webapp to their homescreen. It could be easily implemented in this plugin with a YES / NO option and a field for custom text.
There is also a JS file ready to use on GitHub: cubiq/add-to-homescreen. PS: This is a feature no issue, but I could not open a pull request.

Can add an option for generate the files dynamically?

Hi, i have my wordpress installation on a container system which build the filesystem on every update i made to them. This make the files Super PWA creates be deleted from the system every time I made a update.

It's is posible to add an option the plugin to make the files dynamically? So, no file is writen in the filesystem.

CDN Enabler

I've a problem where PWA dosn't seemto work on my site.

I use cdn enabler to load all my static files from a cdn and it seems to be offloading the manifest to the cdn.

When I first set up onesignal i had to add:

onesignal-free-web-push-notifications to my exclusions to stop it being offloaded, (see https://documentation.onesignal.com/docs/troubleshooting-web-push#section-cdn-enabler)

is there something I'd need to add to stop the PWA manifest from being off loaded as well.

Installation Failed

I received the following upon attempting to install the wordpress plugin. I do not know if it is somehow related to the issue, but I have a plugin installed which is a web app called "Active Demand" that most of the pages are truly running on through its landing page creator. There are also many autoplay videos embedded into those landing pages. Other than that I am not aware of any other potential conflicts. Please advise. Thanks

Installation failed: body {font-family: 'Helvetica', Sans-Serif;text-align: center;background-color: #77c043;color: #fff;}.container {position: relative;top: 50%;transform: translateY(-50%);}.subheader {font-size: 16px;line-height: 22px;font-weight: normal;margin: 20px auto;text-align: left;width: 500px;font-weight: 200;}502 (Bad Gateway) ErrorSomething's gone wrong, but it's likely temporary. Try refreshing the page, but it'd be best to try back later.This page error has the following parameters:clientIP - ::ffff:173.72.44.155gatewayHostname - starkgate-p11.cloud.phx3.gdgoriginDomain - butlerdelivers.comresolvedOriginDomain - butlerdelivers.com

Flash of unstyled content on navigation

Hi guys,
Every time I use my PWA between online and offline sessions, I see a pretty significant FOUC between pages.
For instance, if I hit my homepage (https://willstocks.co.uk) and then navigate to the first post in the list, I see a plain-text rendering of my page for 0.5s before I see the actual page styled correctly. It's pretty jarring and unattractive!
If I navigate back to home then back into the post, it's fine! But if I close off the "app" (I'm running on iOS 12.1.1) go back online, navigate my site, go back offline and navigate the PWA - I see that flash between content again!

Conflict with XenForo 2.0

I think I can not merge posts or threads after installing SuperPWA on Worpdress.

https://xenforo.com/community/threads/thread-and-post-merge-in-xenforo-2-0.144776/

What I am seeing is that the ajax request for inline moderation initially spawns two requests, XenForo and then superpwa. Afterwards all subsequent requests appear to be malformed with cached results.

I read about superpwa and the caching behavior seems consistent with how that software functions. Therefore I suspect interference by superpwa is causing this problem.

The frustrating thing is that I can't find where superpwa is coming from. The js file is in your web root but I can't see it anywhere in the page source or dom in XenForo.

Start page 404

I'm using a page as the start page, but also tried setting the home page. Always get a 404 - Page Not Found when starting the app.

Manifest: ,"start_url":"/favorites/",

I'm using WP Super Cache, and tried deleting the cache.

Styles for offline page

First of all thank you for this plugin - it is working quite well.

The only issue I currently have, and this may be on my end since we are using Timber and webpack inside the template, is that the page I selected for offline viewing displays without the CSS and JS (it was not visited prior)

Perhaps this is expected, and if/when the ability to cache pages the user has not gone to becomes part of the plugin we will be set.

I would love to know any thoughts on this. Currently the site is not public, I can share it in a few weeks if needed.

Works with iOS/Safari

Works if know to manually add it to the home screen. URL bar is gone the chosen pages are cached. As I noticed you addressed adding more pages already. Although some stuff works;
~1. the icon was a screenshot of the current page (EDIT) got it to work.
2. "App" name was displayed correctly from the "Short name" input in settings.
3. was not promoted with instructions to "download" or add to home screen. But I could write a manual alert pop up with instructions no worries there. However, now that I think about it that means users that do get the pop up would be getting two pop-ups if I added one for iOS users myself...

Looking forward to response! Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.