Making apps with Ozone
Apps built with Ozone gets to use the Ozone API and integrate with other apps in the Ozone Instance.
Application locations
Applications are stored as folders within the Ozone VFS. An application path will be determined as follows:
/ system / apps / author_name / app_name
In which the author name and the app name are provided from the application manifest file during its installation.
App Tags
An app tag is a term used for representing and identifying unique applications. An app tag is just " author_name / app_name ". App tags must be unique. It is the duty of application providers to address duplicate app tags.
Manifest File
Ozone Shell requires every app to have a manifest file about itself which describes what the app needs. It should be provided in a file named manifest.json in the app's root. You can also use the manifest file as a PWA manifest.
A manifest file is a JSON file, the required fields for Ozone are as follows:
name: A name for your applicationauthor: The name of the author of the applicationicon: (optional) an SVG HTML string of your app's iconpermissions: (optional) an array of permission namespaces your app requireslanding: the initial page of the application.sources: a list of all files that must be provided to your application.version: version number of your applicationhandle: (optional) app handles are specific keys other apps can reliably call for specific functionality.
Some of these fields are used for installation only, like the sources, handle, name, author and permissions. If the permissions key is empty, and the application still calls an Ozone API that requires permissions, Ozone would show a dialog asking the user whether to allow that specific permission for that application.
{
"name": "APPLICATION_NAME",
"author": "APPLICATION_AUTHOR",
"description": "APPLICATION_DESCRIPTION",
"icon": "APPLICATION ICON AS AN SVG TAG", // a string like "<svg>...</svg>"
"permissions": [
// list of permission namespaces
],
"landing": "index.html", // initial page of the application
"sources": [ // all sources required for the application
"script.js",
"styles.css",
"assets/image.png" // must provide every file, even if they are inside subfolders
],
"version": "0.1", // app version
"handle": "settings_manager" // app handle
}Learn more about App Handles, Permissions
