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-mediaFor 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-captureFor 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_playbacksetRatedurationUpdate callbackREAD_PHONE_STATE permissioncordova-plugin-file@^7.0.0cordovaDependencies next next major cordova requirementpackage-lockcordova-plugin-file@^7.0.0cordova-plugin-media dependencycordovaDependencies next next major cordova requirementpackage-lock w/ v2action-badgetravis & appveyorgh-actions workflowsandroid.permission.RECORD_VIDEOpackage.jsonpackage-lock filecordova-eslint /w fixpackage.json