PWA export option from SAB would be most welcome and is strongly recommended

I was told that there was already a request for a PWA export option from SAB, but I cannot find it in all the topics and posts in the community. Therefore I bring forward this request as a new Feature Request. It is very important to have an other option beside HTML export or Epub export that comes even closer to an APP but without the necessity of bringing the Bible in a store. I say this especially because of the increasing security issues that are connected with publishing in some stores . Many teams are maybe still working in fairly unhindered circumstances, but there are teams that have to cope with unprecedented degrees of control of personal lives. Having this additional option in SAB would give more flexibility to teams to choose the appropriate option for their situation. I trust that PWA which is already a good option in its current status of development, could even gain more ‘momentum’ when it would be developed only a little further.

Yes it seems like it would be good. Gets around the difficulties of iOS publishing too.

The was implemented in SAB 7.0. The initial implementation includes view and listening to 1 book collection.

Congratulations, but where do I need to click to get PWA output?
I tried ‘everywhere’?

Right-click on the collection. Go first to Export to HTML Settings, get it set up and then Export to HTML

Yep this needs a documentation update.

If you right click on the collection and choose the Export to HTML Settings…

image
There is a second tab. However you need to install something else before this will show up. ON that tab it has this information.

Progressive Web Apps use the workbox library to enable offline content. You will 
need to install the workbox—cli using npm. For Linux, see node to check which 
version is the current Long Term Stable (LTS).
  • Go to https://nodejs.org/en/download/ and download the version for your system and install it.
  • Then open a command prompt in Windows. Bash Shell in other Mac or Linux.
  • Type in npm install workbox-cli -g
  • Start or restart SAB. The tab should now be visible.

image

I was blocked on Mac Catalina because I do not have the rights to execute the command:
npm install workbox-cli -g

I think I can change this somehow using the command:
chmod 777

But I do not know which directory I should write after the chmod 777 command. Can you help?

Joop, is your user set up as Admin? Go to System Preferences, and look at Users & Groups and you will see Admin under your username if so.

`22%20AM

If your account is showing up as Admin, open a terminal, paste that npm install workbox-cli -g
command again and send me the error. Did npm seem to install ok?