How to add progressive web app (PWA) in Osclass
- Download Example manifest.json in here
- Edit manifest.json with code editor like Visual studio code or Sublime (edit text in red box like in example and replace text with your App name/ site name )
- Upload manifest.json to oc-content/ themes/ rival/
- Generate your favicon in here https://www.favicon-generator.org/
- Rename 7 favicon with name 36×36.png, 48×48.png, 72×72.png, 96×96.png, 144×144.png, 192×192.png, 512×512.png
- Upload all favicon images to oc-content/ themes/ rival/ images (if use rival theme)
- Open Cpanel >> public_html/oc-content/ themes/ rival/ common/head.php (if use rival theme)
- Add this code <link rel=”manifest” href=”<?php echo osc_current_web_theme_url(‘manifest.json’); ?>”>
- Save head.php and test reload your site