What's new in this release
Electron and Browser platform support
This release adds support for the Browser and Electron platforms. Both of these platforms use Javascript under the hood, and test the browser for the local font access API. This API is experimental, and not supported on all browsers. From tests on macOS, it appears that the Chromium browser that the Electron platform uses supports the API, so hey, we'll take it. At any rate...
- getFontList() - If the underlying browser supports the local font access API, this will return a string array of the font data's font family for each supported font. If the underlying browser does not support the API, the plugin iterates through known browser-safe fonts and tries to detect their presence on the device.
- getDefaultFont() - If the underlying browser supports the local font access API, this will return the font family string name of the first supported font in the font list. If the underlying browser does not support the API, this call returns "serif" - a known supported fallback font. Neither value is guaranteed to be the "default" font, but both values are guaranteed to be a supported font.
Deprecated platforms
This release also removes support for the following platforms:
- Amazon Fire OS
- Firefox OS
- Windows (UWP and WP8)
These platforms are no longer supported by Apache Cordova.