kaios-gaia-mediadb

0.0.3 • Public • Published

mediadb.js

The mediadb.js lib used in Gaia, extracted from mozilla-b2g/gaia. Please refer to comments in file, or check its usage in the Gallery app.

## Permissions

To use this lib, the app should be a privileged or certified app and have permission to use DeviceStorage API. The manifest may look like this,

{
 "type": "privileged",
 "permissions": {
   "storage": {},
   "device-storage:sdcard": { "access": "readwrite" }
 }
}

Here "storage" permission is to enable unlimited indexedDB quota, and "device-storage:sdcard" is to use DeviceStorage API. For more details, check KaiOS's developer portal.

Readme

Keywords

Package Sidebar

Install

npm i kaios-gaia-mediadb

Weekly Downloads

2

Version

0.0.3

License

Apache-2.0

Unpacked Size

95.2 kB

Total Files

4

Last publish

Collaborators

  • jzhangs