breautek commented on code in PR #1332: URL: https://github.com/apache/cordova-docs/pull/1332#discussion_r1336400135
########## www/_posts/2023-09-12-camera-media-file-transfer-plugin-release.md: ########## @@ -0,0 +1,218 @@ +--- +layout: post +author: + name: Bryan Ellis +title: "Camera 7.0.0, Media 7.0.0 & File-Transfer 2.0.0 Released!" +categories: news +tags: release plugins +--- + +We are happy to announce that we have just released an update for the following plugins! + +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-camera) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-media) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file-transfer) + +**To upgrade:** + +```bash +cordova plugin remove cordova-plugin-camera +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-media +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-file-transfer +cordova plugin add [email protected] +``` + +## Release Highlights + +### `cordova-plugin-camera` + +* **Android 13 Support** + + In this release of the `camera` plugin, the `maxSdkTarget` for the `WRITE_EXTERNAL_STORAGE` permission has been set to `32`. This change was made as the permission has been deprecated and replaced by Android 13's more granular permissions, `READ_MEDIA_IMAGES` and `READ_MEDIA_VIDEO`. Additionally, the `getPermissions` method has been improved to accurately fetch the required permissions based on the Android version. If Android 13 and above, it will also fetch based on media type. + + Furthermore, to support the new granular permissions and Android 13 (SDK 33), we have raised the minimum requirement for `cordova-android` to version `12.0.0`. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully. Review Comment: ```suggestion Furthermore, to support the new granular permissions on Android 13 (SDK 33), we have raised the minimum requirement for `cordova-android` to version `12.0.0`. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully. ``` ########## www/_posts/2023-09-12-camera-media-file-transfer-plugin-release.md: ########## @@ -0,0 +1,218 @@ +--- +layout: post +author: + name: Bryan Ellis +title: "Camera 7.0.0, Media 7.0.0 & File-Transfer 2.0.0 Released!" +categories: news +tags: release plugins +--- + +We are happy to announce that we have just released an update for the following plugins! + +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-camera) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-media) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file-transfer) + +**To upgrade:** + +```bash +cordova plugin remove cordova-plugin-camera +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-media +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-file-transfer +cordova plugin add [email protected] +``` + +## Release Highlights + +### `cordova-plugin-camera` + +* **Android 13 Support** + + In this release of the `camera` plugin, the `maxSdkTarget` for the `WRITE_EXTERNAL_STORAGE` permission has been set to `32`. This change was made as the permission has been deprecated and replaced by Android 13's more granular permissions, `READ_MEDIA_IMAGES` and `READ_MEDIA_VIDEO`. Additionally, the `getPermissions` method has been improved to accurately fetch the required permissions based on the Android version. If Android 13 and above, it will also fetch based on media type. + + Furthermore, to support the new granular permissions and Android 13 (SDK 33), we have raised the minimum requirement for `cordova-android` to version `12.0.0`. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully. + +* **Removed Deprecated Platforms** + + As the Cordova-Windows and Cordova-OSX platform has been deprecated, the supporting logic for these platforms has been removed from this plugin. + +* **Retain Image Exif Data from Photo Library (iOS)** + + This release contains a fix to preserve image's EXIF data for iOS. + +### `cordova-plugin-media` + +* **Android 13 Support** + + In this release of the `media` plugin, the depdendency of the file plugin has been bumped to `8.0.0` which introduced Android 13 support. This support includes the Android 13's more granular permissions `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`, and `READ_MEDIA_AUDIO`. Review Comment: ```suggestion In this release of the `media` plugin, the dependency of the file plugin has been bumped to `8.0.0` which introduced Android 13 support. This support includes the Android 13's more granular permissions `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`, and `READ_MEDIA_AUDIO`. ``` ########## www/_posts/2023-09-12-camera-media-file-transfer-plugin-release.md: ########## @@ -0,0 +1,218 @@ +--- +layout: post +author: + name: Bryan Ellis +title: "Camera 7.0.0, Media 7.0.0 & File-Transfer 2.0.0 Released!" +categories: news +tags: release plugins +--- + +We are happy to announce that we have just released an update for the following plugins! + +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-camera) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-media) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file-transfer) + +**To upgrade:** + +```bash +cordova plugin remove cordova-plugin-camera +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-media +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-file-transfer +cordova plugin add [email protected] +``` + +## Release Highlights + +### `cordova-plugin-camera` + +* **Android 13 Support** + + In this release of the `camera` plugin, the `maxSdkTarget` for the `WRITE_EXTERNAL_STORAGE` permission has been set to `32`. This change was made as the permission has been deprecated and replaced by Android 13's more granular permissions, `READ_MEDIA_IMAGES` and `READ_MEDIA_VIDEO`. Additionally, the `getPermissions` method has been improved to accurately fetch the required permissions based on the Android version. If Android 13 and above, it will also fetch based on media type. + + Furthermore, to support the new granular permissions and Android 13 (SDK 33), we have raised the minimum requirement for `cordova-android` to version `12.0.0`. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully. + +* **Removed Deprecated Platforms** + + As the Cordova-Windows and Cordova-OSX platform has been deprecated, the supporting logic for these platforms has been removed from this plugin. + +* **Retain Image Exif Data from Photo Library (iOS)** + + This release contains a fix to preserve image's EXIF data for iOS. + +### `cordova-plugin-media` + +* **Android 13 Support** + + In this release of the `media` plugin, the depdendency of the file plugin has been bumped to `8.0.0` which introduced Android 13 support. This support includes the Android 13's more granular permissions `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`, and `READ_MEDIA_AUDIO`. + + Additional we have raised the minimum requirement for `cordova-android` to version `12.0.0`. + + For more information, check out the [Cordova's File Plugin 8.0.0 release blog post](https://cordova.apache.org/news/2023/07/11/file-plugin-8.0.0.html). + +* **Removed Deprecated Windows Platforms** + + As the Cordova-Windows platform has been deprecated, the supporting logic for that platform has been removed from this plugin. + +* **Ability to load files from custom scheme and leading slash directory paths** + + The file plugin can now accept URL constructed with a custom scheme or a leading slash. + + **Custom Scheme Example:** + + By default, iOS uses the following custom scheme `app://localhost/`. You can now pass in `app://localhost/file.mp4` to prepresent a media file located in the root directory of which the app content is loaded from, `www`. + + **Leading Slash Example:** + + It can also load the same file `file.mp4` from the above example if the provided URL was `/file.mp4`. It will navigate from the root directory of which the app content is loaded from, `www`. + +* **Increased Android's Audio Quality** + + From this plugin's version and onward, the Android's captured audio quality has been increased significantly. This was achieved by increasing the bit rate to 96 Kbps and the sampling rate to 44.1 kHz. + + > **PR's Note:** This plugin uses the AAC encoder, which generally provides better quality audio at a lower bitrate compared against MP3 encoder. While researching acceptable bitrate of AAC compared against MP3, some suggest using 96 Kbps for AAC while MP3 would be 128 Kbps. But this does not mean it is identical. In terms of quality, it will always result in source and equiptment. Review Comment: > In terms of quality, it will always result in source and equiptment. Not sure what this means, but it seems like `equiptment` is a misspelling of something. "In terms of quality, it will always depend on the source and underlying equipment" ? ########## www/_posts/2023-09-12-camera-media-file-transfer-plugin-release.md: ########## @@ -0,0 +1,218 @@ +--- +layout: post +author: + name: Bryan Ellis +title: "Camera 7.0.0, Media 7.0.0 & File-Transfer 2.0.0 Released!" +categories: news +tags: release plugins +--- + +We are happy to announce that we have just released an update for the following plugins! + +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-camera) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-media) +* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file-transfer) + +**To upgrade:** + +```bash +cordova plugin remove cordova-plugin-camera +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-media +cordova plugin add [email protected] + +cordova plugin remove cordova-plugin-file-transfer +cordova plugin add [email protected] +``` + +## Release Highlights + +### `cordova-plugin-camera` + +* **Android 13 Support** + + In this release of the `camera` plugin, the `maxSdkTarget` for the `WRITE_EXTERNAL_STORAGE` permission has been set to `32`. This change was made as the permission has been deprecated and replaced by Android 13's more granular permissions, `READ_MEDIA_IMAGES` and `READ_MEDIA_VIDEO`. Additionally, the `getPermissions` method has been improved to accurately fetch the required permissions based on the Android version. If Android 13 and above, it will also fetch based on media type. + + Furthermore, to support the new granular permissions and Android 13 (SDK 33), we have raised the minimum requirement for `cordova-android` to version `12.0.0`. This version of Cordova-Android specifically includes the necessary updates to handle Android 13 and compile your project with the new permissions successfully. + +* **Removed Deprecated Platforms** + + As the Cordova-Windows and Cordova-OSX platform has been deprecated, the supporting logic for these platforms has been removed from this plugin. + +* **Retain Image Exif Data from Photo Library (iOS)** + + This release contains a fix to preserve image's EXIF data for iOS. + +### `cordova-plugin-media` + +* **Android 13 Support** + + In this release of the `media` plugin, the depdendency of the file plugin has been bumped to `8.0.0` which introduced Android 13 support. This support includes the Android 13's more granular permissions `READ_MEDIA_IMAGES`, `READ_MEDIA_VIDEO`, and `READ_MEDIA_AUDIO`. + + Additional we have raised the minimum requirement for `cordova-android` to version `12.0.0`. Review Comment: ```suggestion Additionally we have raised the minimum requirement for `cordova-android` to version `12.0.0`. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
