Files
cordova-plugin-camera/src
dd39592faf fix(android): Prevent out of memory errors on Android when selecting large media (video) files from the gallery picker. (#923)
Changes from #906 resulted in all gallery picker results being read in full into a byte array. This works fine when dealing with images, however when larger files (videos for example) are selected it will nearly always result in an out of memory error (reading too much data in one go). With videos no transformation is required, the URI simply need to be returned.

Co-authored-by: Alister Stevens <alister@pebblepad.co.uk>
2026-04-20 18:19:26 +02:00
..