We are happy to announce that we have just released an update for cordova-plugin-media-capture
!
To upgrade:
cordova plugin remove cordova-plugin-media-capture cordova plugin add cordova-plugin-media-capture@5.0.0
Android 13+ Support
Beginning from Android 13 (SDK 33), the READ_EXTERNAL_STORAGE
permission no longer has any effect. Instead, this permission has been replaced with more granular permissions: READ_MEDIA_IMAGES
, READ_MEDIA_VIDEO
, and READ_MEDIA_AUDIO
. Also the WRITE_EXTERNAL_STORAGE
has stopped providing write access starting from API level 30 and above.
To adapt to this change, we have introduced these three new permissions. This ensures that the existing functionality and behavior related to reading various media file are maintained for Android 13 and higher versions.
The READ_EXTERNAL_STORAGE
and WRITE_EXTERNAL_STORAGE
permissions are still defined but has declared the maxSdkVersion
attribute with the value of 32
to ensure that the are not used in API 33 of higher.
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.
Added video quality
option for iOS
You can now change the quality of the video that is being captured for iOS. By default, it will capture the highest quality.
Fixes for various iOS crashes
Various fixes were implemented to enhance stability and user experience on iOS. Here are some example changes:
Please report any issues you find by following the this How to File a Bug guide!
Breaking Changes:
Features:
quality
’ param for videosLocalizable.strings
& add FR
Fixes:
CAPTURE_APPLICATION_BUSY
error when dismissing modal by swipemediaFile
lastModified
’ and ‘end
’ attributescordovaDependencies
AVAudioRecorder
Other Changes:
@cordova/eslint-config@^5.0.0
w/ lint fix & package-lock
rebuildSUPPORT_QUESTION.md
templatepackage-lock
cordova-android@11