Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

Progressive Web App

ResourceSpace can be installed as a Progressive Web App. This is achieved with the manifest.json file in the root of the ResourceSpace code. 

The manifest.json file currently sets the application name, app icons, UI colours, shortcuts and screenshots for the web application. 

To install ResourceSpace on a desktop browser click the button "Install ResourceSpace" in your address bar:

install-pwa

Then click "Install" to install the application. 

pwa-install-popup

By default the manifest.json file will use the root of your domain as the URL of your application - for example https://my-assets.com. If your ResourceSpace site is in a subdirectory of your domain - e.g. https://my-assets.com/resourcespace then the manifest.json file will need updating so that all URLs and the ID refer to this. 

Visit https://web.dev/articles/add-manifest to see how the manifest can be further customised.

Changing the location of the manifest file

If you wish to place the web app manifest file in a different location you can change the $web_app_manifest_location config option.

By default it is set to "/manifest.json" - if you wish to place a new manifest file in your filestore folder you can set it to "/filestore/manifest.json"