@capacitor-community/media

v5.1.0
Enable some media features for Capacitor such as create albums, save videos, gifs and more.
capacitor plugin native

fmt

npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format

lint

npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint

build

npm run clean && npm run docgen && tsc && rollup -c rollup.config.js

clean

rimraf ./dist

watch

tsc --watch

docgen

docgen --api MediaPlugin --output-readme README.md --output-json dist/docs.json

eslint

eslint . --ext ts

verify

npm run verify:ios && npm run verify:android && npm run verify:web

prettier

prettier "**/*.{css,html,ts,js,java}"

swiftlint

node-swiftlint

verify:ios

cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..

verify:web

npm run build

prepublishOnly

npm run build

verify:android

cd android && ./gradlew clean build test && cd ..

contributors:add

all-contributors add

contributors:gen

all-contributors generate
npm i @capacitor-community/[email protected]

Metadata

  • MIT
  • Whatever
  • Stewan Silva
  • released 8/4/2023

Downloads