<aside> đź’ˇ This method for manifest creation is used both for applications and widgets!

</aside>

Manifest file structure:

{
  "id": "afw15sa04y", 
  "version": "0.0.1",
  "name": "weatherWidget",
  "title": "Weather Widget",
  "publisher": "Prifina Inc",
  "icon": "assets/weatherly-icon.png",
  "bannerImage": "assets/weatherly-banner.png",
  "theme": "dark/light",
  "size": [{ "width": 300, "height": 300 }],
  "dataConnectors": ["@prifina/weather"],
  "settings": [
    { "field": "city", "value": "New York", "label": "City", "type": "text" }
  ],
  "shortDescription": "Heads up widget for showing you the weather in relevant locations to you.",
  "longDescription": "This simple widget gives you insight into the weather in different locations you choose. You can access it in your account from wherever you access the internet.",
  "dataTypes": "User-held data",
  "category": "Health",
  "deviceSupport": "Desktop browser",
  "languages": "en",
  "age": "3+",
  "screenshots": [
    "assets/weatherly-ss-1.png",
    "assets/weatherly-ss-2.png",
    "assets/weatherly-ss-3.png"
  ],
  "keyFeatures": [""],
  "userHeld": ["Session time", "Session duration"],
  "userGenerated": ["Location input"],
  "public": ["Weather data"]
}

Example manifest.json file for download

manifest-example.json

How to create manifest.json file for your widget?

Manifest file needs to be in the root folder of your widget

https://lh6.googleusercontent.com/77pCcLW7MvswTRKbJ3a2OKxgFq0g482mGsFulr8QrcGHBUbuZuZnORLMGfg8b9LsMIDN5eAqZcL6uPV8r8Ws9gKAFEy5nIlktzXLitilgtT3vrDiSKGSq5NU3fqwuGm924yvPB6B=s0

Assets (icon, screenshots and bannerImage) for your manifest.json file should come from “assets” folder located also in you root folder

https://lh5.googleusercontent.com/4XQnIEYm6a-G8EiwZrceLtDEGokJMh_pwVQ2EsmniLY_vmeLYrwzhkVo309M33jJSBf7wOte3ilOgTc6YpQBF8T0cnLKujWYBOv1jXS871bL_g4VlcIKoDtB7j___th1BDZn11Da=s0

<aside> 📢 Improve This Doc?

</aside>