genaker/module-pwa

PWA Magento module

Installs: 3 584

Dependents: 0

Suggesters: 0

Security: 0

Stars: 59

Watchers: 10

Forks: 13

Open Issues: 0

Type:magento2-module

1014 2022-01-27 05:57 UTC

This package is auto-updated.

Last update: 2024-10-21 17:49:20 UTC


README

PWA extension for Magento 2. Just install and PWA is ready.

After installation of this plugin, you will have ALL PWA features available for your Magento 2 website.

Progressive web app (PWA), is the latest browser feature that allows anyone to use websites as native mobile or desktop apps. It is not a Magento feature. You don't need an expensive redesign to use PWA.

PWA is simply a website acting as a mobile app. Unlike mobile apps, they don’t have to be downloaded from an app store.

With PWAs, users can get app-like experiences they save to their home screens, with lightning speed and mobile-first design without needing to actually build an app for both iOS and Android.

PWAs allow for modern web capabilities, including background sync, offline browsing, barcode scanning, and even push notifications.

Magento (PWA)Progressive Web Applications Are Not a Magento PWA Studio

For some reason, many think MAgento PWA are single page applications that require MAgento PWA Studio or other JavaScript-based headless theme or Single Page APP (SPA).

This is wrong.

Magento PWA does not have to be a PWA Studio or custom JS based Theme or SPA.

I recommend against being a Magento PWA Studio:

Because Magento PWA Studio client-side JavaScript does not provide the better user experience developers think they do. In fact, they create a relatively poor user experience in most cases. Also good React developers cost more than legacy PHP MAgento developers.

MAgento marketer's sells progressive web application is a custom development with a price tag $50K+. However, you need just install this extension or add Manifest JS and Service Worker to your existing MAgento store.

Magento PWA Studio is just another failed project from Magento.

Installation

Note! We are experiencing the issue: A New Packagist Composer packages are not available using Composer V1. You need to upgrade Composer to V2. New packages will only be visible to Composer 2.

To install this NEW Magento PWA extension you must have Composer V2 to upgrade use the command:

composer self-update --2

See screenshot:

composer-upgrade

PS: this issue was fixed by warm upping the composer API V1. Composer V1 should also work.

Type 1: Zip file

  • Unzip the zip file in app/code/Genaker
  • Enable the module by running php bin/magento module:enable Genaker_PWA
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush
  • Generate JS ServiceWorker and Manifest files php bin/magento pwa:generate

Note: You can add those generated files to the git and don't generate these files on production

Type 2: Composer

  • Install the module composer by running composer require genaker/module-pwa
  • enable the module by running php bin/magento module:enable Genaker_PWA
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush
  • Generate JS ServiceWorker and Manifest files php bin/magento pwa:generate Note: You can add those generated files to the git and don't generate these files on production

Configuration

  • Name (pwa/pwa_settings/name)

  • Short Name (pwa/pwa_settings/short_name)

  • Scope (pwa/pwa_settings/scope)

  • Display Mode (pwa/pwa_settings/display)

  • Start URL (pwa/pwa_settings/start_url)

  • Background Color (pwa/pwa_settings/background_color)

  • Description (pwa/pwa_settings/description)

  • Icons JSON (pwa/pwa_settings/icons)

  • complete manifest json (pwa/pwa_settings/manifest_json)

  • Theme Color (pwa/pwa_settings/theme_color)