We are happy to announce that we have just released an update for cordova-plugin-media
& cordova-plugin-media-capture
!
To upgrade:
cordova plugin remove cordova-plugin-media cordova plugin add cordova-plugin-media@6.0.0 cordova plugin remove cordova-plugin-media-capture cordova plugin add cordova-plugin-media-capture@4.0.0
cordova-plugin-media
For Android, the WRITE_EXTERNAL_STORAGE
and READ_PHONE_STATE
permissions have a protection level of dangerous. Because of this, we removed the declaration of these permissions.
The cordova-plugin-file
dependency was updated to use version ^7.0.0
.
The setRate
functionality, which was previously only supported on the iOS platform, is now supported on the Android platform. There was also a fix around this functionality for iOS.
cordova-plugin-media-capture
For Android, the RECORD_VIDEO
permission definition was removed as it was never used and appears to never exist.
The cordova-plugin-file
dependency was updated to use version ^7.0.0
.
Permission checks, for Android, has been unified to fix inconsistencies between the different capture methods.
Please report any issues you find at issues.cordova.io!
WRITE_EXTERNAL_STORAGE
permissionstalled_playback
setRate
durationUpdate
callbackREAD_PHONE_STATE
permissioncordova-plugin-file@^7.0.0
cordovaDependencies
next next major cordova requirementpackage-lock
cordova-plugin-file@^7.0.0
cordova-plugin-media
dependencycordovaDependencies
next next major cordova requirementpackage-lock
w/ v2action-badge
travis
& appveyor
gh-actions
workflowsandroid.permission.RECORD_VIDEO
package.json
package-lock
filecordova-eslint
/w fixpackage.json