.
create_manifest
creates a manifest for your shiny App. Please use this workflow instead:
https://unleash-shiny.rinterface.com/mobile-pwa.html#charpente-and-pwa-tools.
create_manifest(
path,
name = "My App",
shortName = "My App",
description = "What it does!",
lang = "en-US",
startUrl,
display = c("minimal-ui", "standalone", "fullscreen", "browser"),
background_color = "#000000",
theme_color = "#0000ffff",
icon
)
This function creates a www folder for your shiny app. Must specify the path. It creates 1 folders to contain icons and the manifest.json file.
package path.
App name.
App short name.
App description
App language (en-US by default).
Page to open at start.
Display mode. Choose among c("minimal-ui", "standalone", "fullscreen", "browser")
.
In practice, you want the standalone mode so that the app looks like a native app.
The background_color property is used on the splash screen when the application is first launched.
The theme_color sets the color of the tool bar, and may be reflected in the app's preview in task switchers.
Dataframe containing icon specs. src gives the icon path (in the www folder for instance), sizes gives the size and types the type.