Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No manifest was fetched #202

Open
batu6 opened this issue Jul 28, 2021 · 0 comments
Open

No manifest was fetched #202

batu6 opened this issue Jul 28, 2021 · 0 comments
Labels
question Further information is requested

Comments

@batu6
Copy link

batu6 commented Jul 28, 2021

Hi!

I was trying to replicate the steps in these slides but when I generate report from Lighthouse, I get the "No manifest was fetched" error. I couldn't figure it out.

pwa issue

On the browser it shows the "manifest.webmanifest" folder as empty but it is actually present in /www directory of the package. I deployed the package to the shinyapps.io via:

  1. golem::add_shinyappsio_file()
  2. then I modified the app.R file as here (https://github.com/DivadNojnarg/deminR/blob/master/app.R)
pkgload::load_all() 
options( "golem.app.prod" = TRUE)
myPack::run_app(usecase = "local") # add parameters here (if any)
  1. and deployed via rsconnect::deployApp()

manifest.webmanifest file looks like this:

{
  "name": "My Progressive Web App",
  "short_name": "My App",
  "description": "What it does!",
  "lang": "en-US",
  "start_url": "https://batu6.shinyapps.io/mypack/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#ffffff",
  "icons": [
    {
      "src": "icons/icon-144.png",
      "sizes": "144x144"
    }
  ],
  "shortcuts": [
    {
      "name": "Shortcut",
      "short_name": "Shortcut",
      "description": "Do something",
      "url": "https://batu6.shinyapps.io/mypack/",
      "icons": [
        {
          "src": "icons/shortcut.png",
          "sizes": "192x192"
        }
      ]
    }
  ]
}

Thank you.
Best.

@DivadNojnarg DivadNojnarg added the question Further information is requested label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants