diff --git a/README.md b/README.md index 29f7e39349e..489a7185e47 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,7 @@ and which gives information about the app for the Launcher. "provides_modules" : ["messageicons"] // optional, this app provides a module that can be used with 'require' "provides_widgets" : ["battery"] // optional, this app provides a type of widget - 'alarm/battery/bluetooth/pedometer/message' "provides_features" : ["welcome"] // optional, this app provides some feature, used to ensure two aren't installed at once. Currently just 'welcome' + "requiredFw" : "2v20", // optional, specify a minimum firmware version your app needs to work properly "default" : true, // set if an app is the default implementer of something (a widget/module/etc) "readme": "README.md", // if supplied, a link to a markdown-style text file // that contains more information about this app (usage, etc) diff --git a/apps/loadanim/metadata.json b/apps/loadanim/metadata.json index 17f2838df3e..1ab2c3994eb 100644 --- a/apps/loadanim/metadata.json +++ b/apps/loadanim/metadata.json @@ -3,7 +3,8 @@ "shortName":"Load Anim", "version":"0.02", "author": "gfwilliams", - "description": "Add an animation that happens while Bangle.js is loading an app. Requires 2v29+ (or 2v28 cutting edge) firmware to work.", + "description": "Add an animation that happens while Bangle.js is loading an app.", + "requiredFw": "2v29", "icon": "app.png", "screenshots" : [ { "url":"screenshot.png" } ], "type": "settings", diff --git a/bin/sanitycheck.js b/bin/sanitycheck.js index 37599a3426b..e25877f44bb 100755 --- a/bin/sanitycheck.js +++ b/bin/sanitycheck.js @@ -169,7 +169,7 @@ const APP_KEYS = [ 'sortorder', 'readme', 'custom', 'customConnect', 'interface', 'storage', 'data', 'supports', 'allow_emulator', 'dependencies', 'provides_modules', 'provides_widgets', 'provides_features', "default", - "author" + "author","requiredFw" ]; const STORAGE_KEYS = ['name', 'url', 'content', 'evaluate', 'noOverwite', 'supports', 'noOverwrite']; const DATA_KEYS = ['name', 'wildcard', 'storageFile', 'url', 'content', 'evaluate'];