{"repo":"capacitor-community/media","free":true,"listed":false,"github":"https://github.com/capacitor-community/media","clone":"git clone https://github.com/capacitor-community/media.git","description":"Capacitor plugin for saving and retrieving photos and videos, and managing photo albums.","language":"TypeScript","stars":134,"topics":["capacitor","plugin","media","capacitor-plugin","ionic","angular"],"license":null,"category":"ui-components","readme_excerpt":"Capacitor Media @capacitor-community/media Capacitor plugin for saving and retrieving photos and videos, and managing photo albums. Maintainers Maintainer GitHub Social ----------------- --------------------------------------------- ----------------------------------------- Nisala Kalupahana nkalupahana Stewan Silva stewones @stewones Installation This plugin is currently maintained for Capacitor 8 (plugin version 9). Add an @8 at the end to install for Capacitor 7, or @7 for Capacitor 6. There are currently no API changes between these three versions, so if you're migrating between plugin v7 - v9 (Capacitor 6 - 8), no code changes should be required. SPM is only supported for plugin v9. After installing, be sure to sync by running npx cap sync . Migrating from Plugin v6 to v7+ There has been a breaking change to the way permissions are handled on Android. - If your app is not a \"gallery\" app (does not need access to all photo albums on the device, just its own), you no longer need the READ EXTERNAL STORAGE , WRITE EXTERNAL STORAGE , READ MEDIA IMAGES , or READ MEDIA VIDEO permissions. You can remove them from your AndroidManifest.xml file. The plugin will no longer request any permissions to save images to your app's albums. - If your app is a gallery app and you need access to all albums on the device, you'll need to update your capacitor.config.ts file (and keep all of the above permissions) -- see the setup instructions below. You will need to update to v7 to publish an a","default_branch":null,"files":null,"tree":[],"storefront":"/r/capacitor-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/capacitor-community/media/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}