-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
announcement: [email protected] (#1372)
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
layout: post | ||
author: | ||
name: Norman Breau | ||
url: https://breautek.com | ||
title: "File Plugin 8.1.1 Released!" | ||
categories: announcements | ||
tags: news releases | ||
--- | ||
|
||
We are happy to announce that we have just released an update for `cordova-plugin-file`! | ||
|
||
* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file) | ||
|
||
**To upgrade:** | ||
|
||
```bash | ||
cordova plugin remove cordova-plugin-file | ||
cordova plugin add [email protected] | ||
``` | ||
|
||
## Release Highlights | ||
|
||
For Android, we corrected an issue that prevented `.toURL()` to be used on `content://` file entries. Now `.toURL()` will return a DOM-usable url on both `file://` and `content://` file entries. | ||
|
||
This will be important for upcoming releases planned for the Camera plugin. | ||
|
||
Note that the `AndroidInsecureFileModeEnabled` preference must be off. If `AndroidInsecureFileModeEnabled` preference is turned on, then `.toURL()` will return the underlying URL and modern Android devices will reject `content://` file paths. If your project is still using `AndroidInsecureFileModeEnabled` it is time to strongly consider migrating to schemes by turning the `AndroidInsecureFileModeEnabled` preference off. | ||
|
||
By default, the `AndroidInsecureFileModeEnabled` preference is disabled. If your project does not explicitly enable it, then no action is required. | ||
|
||
For iOS, there are no changes. | ||
|
||
Please report any issues you find by following the this [How to File a Bug](https://github.com/apache/cordova#filing-a-bug) guide! | ||
|
||
<!--more--> | ||
# Changes include: | ||
|
||
**Fixes:** | ||
* [GH-629](https://github.com/apache/cordova-plugin-file/pull/629) fix(android): Content FS support in PathHandler (#629) | ||
|
||
**Documentation:** | ||
* [GH-639](https://github.com/apache/cordova-plugin-file/pull/639) docs: Correct onwriteend to onwrite (#639) | ||
* [GH-628](https://github.com/apache/cordova-plugin-file/pull/638) docs: Reformatting specs (#638) |