BFSMetaData

BFChainAugust 11, 2023
  • Interface
  • BFSMetaData
About 1 min

App metadata interface; This is an internal interface, cannot be accessed directly; Only the Promise returned by UpdateController.download() resolves to this interface;

Properties

Here are the updates to mark required fields in manifest.json:

  • id ❗️

    Identifier;

    The property value is a string; format is ${name}.${host}.dweb;

    For example: "game.dweb.waterbang.top.dweb"

    Each app has a unique id, and each domain can mount multiple apps.

  • server

    The app's entry service file address; The property value is a MainServer object;

  • name ❗️

    The app name The property value is a string;

  • short_name ❗️

    The app subtitle The property value is a string; Will be displayed on the browser homepage

  • icon ❗️

    The app icon The property value is a string; App icon, vector graphics are recommended, here the multiple icon sizes in PWA manifests are simplified;

  • downloadUrl

    The app download address The property value is a string;

  • images ❗️

    List of app screenshots; The property value is an Array, index values are strings;

  • description ❗️

    The app description The property value is a string; Will be displayed on the download page and details page for users;

  • author ❗️

    The app author; Developers, passed as an array, the first developer is the app copyright owner.

  • version ❗️

    The app version; The property value is a string;

  • categories

    APP Categoriesopen in new window. The property value is an array, index values are strings;

  • home ❗️

    App main domain, must be the same as the domain mounted by id

  • size

    The app size The property value is a string;

  • fileHash

    The file Hash value The property value is a string;

  • permissions

    The app license type; The property value is an Array, index values are strings;

  • plugins

    List of plugins used by the app; The property value is an Array, index values are strings;

  • release_date

    Last update time; The property is just a string;

  • bundle_signature

    Signature generated when packing the app; The property value type is a string;

  • public_key_url

    Used to verify the identity of the app owner; The property value is a string;

  • new_feature ❗️

    New features for each version, can be updated along with the version number on each update

Methods

  • None

Events

  • None

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
idX
serverX
nameX
short_nameX
iconX
downloadUrlX
imagesX
descriptionX
authorX
versionX
categoriesX
homeX
sizeX
fileHashX
permissionsX
pluginsX
release_dateX

UpdateControllerPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0