We are happy to announce that we have just released an update for cordova-plugin-file
& cordova-plugin-device
!
To upgrade:
cordova plugin remove cordova-plugin-file cordova plugin add cordova-plugin-file@7.0.0 cordova plugin remove cordova-plugin-device cordova plugin add cordova-plugin-device@2.1.0
cordova-plugin-file
For Android, a WebViewAssetLoader
proxy handler has been added to support loading cdvfile
URLs while using a custom scheme. It is recommended to use the toURL
method to fetch the consumable URL. When the app is served from the http
or https
protocol, the toURL
will return the appropriate consumable cdvfile
URL. If the app is used from the file
protocol, toURL
will return the native file
URL.
cordova-plugin-device
Electron native support has been added.
For Android, the sdkVersion
property is now included on the window.device
object, and returned within the getInfo
response object.
Please report any issues you find at issues.cordova.io!
toURL
override to preserve other platformsWebViewAssetLoader
proxy handler for cdvfilenpmrc
preparing.js