{"_id":"@capawesome-team/capacitor-android-foreground-service","_rev":"10-f6918ffc4ec458d4667a665ab05724ff","name":"@capawesome-team/capacitor-android-foreground-service","dist-tags":{"latest":"8.1.0"},"versions":{"5.0.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"5.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@5.0.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"f4c3562e379a1385d3bb7a07f777223ae652166b","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-5.0.0.tgz","fileCount":21,"integrity":"sha512-n9aGGVMgk8uBRMmG0gdwvOIP+G/SwDA6jGskFkozKcWgfigJxWpiZeOmqxWwkhBY0yqW/JGinj5DYz0uFCq48Q==","signatures":[{"sig":"MEQCIBcLYmNhfSynGs4R5XWVDV7ohjaLRYMnJmv9XSHqnj7lAiB4zOvZrpo94EIj6eSx3sVSpxD6c0+hmvxexpjx2tbjYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56289},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"8f1798ad72e56a810016017e17151468b5703eaa","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"9.6.7","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"18.17.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","rimraf":"3.0.2","rollup":"2.77.2","prettier":"2.3.2","typescript":"4.1.5","@capacitor/cli":"5.0.0","@capacitor/core":"5.0.0","@capacitor/docgen":"0.0.18","@capacitor/android":"5.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.0.2"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_5.0.0_1697899396156_0.4162236852360792","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"6.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@6.0.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"4de5e37c47b03cde871207ac635b385701a0d4ea","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-6.0.0.tgz","fileCount":21,"integrity":"sha512-fQ0n/0PBjHhWFOlyaxVAIb8ithNsZYx8jhoectYlC7Ws36H0Ov4JIF+iO/yOfJ+bW24j0wwyrxXxmuKRppJC8w==","signatures":[{"sig":"MEUCIQCcS1l78Xr3G3c2MykeFxRZN7PWYJonqM8/xnOYL/pstwIgGTYftQwweoIRk9ptVrFB09z02+ja79NqZiVAHv+8jpA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56623},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"4b656553461ecfb043dc387c4eaaf248aaa072cd","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.5.0","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"18.20.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","rimraf":"3.0.2","rollup":"2.77.2","prettier":"2.3.2","typescript":"4.1.5","@capacitor/cli":"6.0.0","@capacitor/core":"6.0.0","@capacitor/docgen":"0.0.18","@capacitor/android":"6.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.0.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_6.0.0_1713283423836_0.6444107416724723","host":"s3://npm-registry-packages"}},"6.0.1":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"6.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@6.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"dc11b9f5f5946161cbbbccd09526830367c6eb11","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-6.0.1.tgz","fileCount":21,"integrity":"sha512-sH44yvsU3vp3jENxKMjEJhybpX4q7iEDQ2IVMSWbw7LbaakVyFpclePKLTYFjE75QrFwr7qP5tpQ9LSV59G5iQ==","signatures":[{"sig":"MEUCIF7wyyccuFpwNnOa1mIUMLXmwX9pYaJSNr+dckCtQMR7AiEA7lJzF6yqMpdObGcyikAQcymKaybn2fn9QN01V7fTv1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56643},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"037637be6cc588c5162b9c841021f204702305a0","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.5.0","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"18.20.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","rimraf":"3.0.2","rollup":"2.77.2","prettier":"2.3.2","typescript":"4.1.5","@capacitor/cli":"6.0.0","@capacitor/core":"6.0.0","@capacitor/docgen":"0.0.18","@capacitor/android":"6.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.0.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_6.0.1_1714405586988_0.3373895197936492","host":"s3://npm-registry-packages"}},"6.1.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"6.1.0","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@6.1.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"095a0927d8c696217e100f749146300f69966508","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-6.1.0.tgz","fileCount":22,"integrity":"sha512-wf4pEHHcvw8LGX1MTwuavW6dKwazhh0bGZcqk9MjBdMguERu22Vw3tGDILR4r3tpt9qbCbh75oTv+Dj5Pl1QTw==","signatures":[{"sig":"MEQCIAtnoAV2KSuD17H3s/CLxyATPs7+SQYD1njvDIhC4+1wAiAK9YKrATdS6CfaADgRU4xXjf2ZIjA2b0gblYXlxx0+/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83770},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"c4ee341ff906b5aa4050e7aceea37cb5eb534437","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.8.2","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"18.20.5","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","rimraf":"3.0.2","rollup":"2.77.2","prettier":"2.3.2","typescript":"4.1.5","@capacitor/cli":"6.0.0","@capacitor/core":"6.0.0","@capacitor/docgen":"0.0.18","@capacitor/android":"6.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.0.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_6.1.0_1732540444692_0.0232612590779262","host":"s3://npm-registry-packages"}},"6.2.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"6.2.0","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@6.2.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"cdc2748552dcb48cb17ae64d8c0d1db19a01763b","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-6.2.0.tgz","fileCount":22,"integrity":"sha512-8ALBTViR9QYRZ0UK7hd9HZgdDaq7rHmuZTwJ7iIykbvpHb/+ri7dRIBmwCnhp3I8tYbkY3wjzRTKv7PSIGLt5A==","signatures":[{"sig":"MEUCIQCIepMy2o/Z4ecQ/cWdA3NAdIPr3z3wUSKLGX1xrCtenAIgY5a4gfKdaaWesMq4CirIZ739ONtmf2zbicLIVRokPj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":94272},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"162ecd91876cb52a0018ba0391430559b87fed29","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.8.2","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"18.20.5","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"7.32.0","rimraf":"3.0.2","rollup":"2.77.2","prettier":"2.3.2","typescript":"4.1.5","@capacitor/cli":"6.0.0","@capacitor/core":"6.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"6.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.0.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_6.2.0_1735310139743_0.6678578324105278","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"7.0.0","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@7.0.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"15a8262af7be2dfe0601da205d890b76c7e1c170","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-7.0.0.tgz","fileCount":22,"integrity":"sha512-wxHnKDEHK5vNYidzdplZFXm+l5FWT/tZGU2JlrpsFCgh19JuhGflhL333cnE84Ls+yuOvxs/AJnBy9O82oXX0Q==","signatures":[{"sig":"MEUCIQCUJcueNUPfru8kRSbedt/rNHqI++5PP2rOssZ08p/cJgIgUzYAUSucFoqBMCglCRkcmhXHnKHczbgNrUZrYQKrUpk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94030},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"cfabccf4215a6ea4736f7046fee762d1056362bd","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.8.2","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"20.18.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","prettier":"3.4.2","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_7.0.0_1738230369451_0.7705452083820676","host":"s3://npm-registry-packages-npm-production"}},"7.0.1":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"7.0.1","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@7.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"f967fb91f9fe122531bcde8c2bf4204dd22c2f86","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-7.0.1.tgz","fileCount":22,"integrity":"sha512-JjeINYZ5SL81TV1D2WYIE2fmd1MlxHbIzB2gsNKINt9Ge3gkbdh7P/Urb3gSPPz4UWJoUFiCLFaHBRJvu+EP6Q==","signatures":[{"sig":"MEUCIQCMboCGCTUARmW+5SvVaD9RMIdp1rM5CfDmvR6CFWmmegIgMDxcPMBz7XvxJ5aSnRkDlZI0D6fWCxqDPZ/TVPIVivQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94353},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"05a1906412093cfe11963a7b0543687d6e2114a3","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"10.8.2","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"20.18.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.0.1","rollup":"4.30.1","prettier":"3.4.2","typescript":"4.1.5","@capacitor/cli":"7.0.0","@capacitor/core":"7.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"7.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_7.0.1_1738788417895_0.6119708327734552","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"8.0.0","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@8.0.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"0cd7a1706144f82a7d941ee31385e32946dded74","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-8.0.0.tgz","fileCount":22,"integrity":"sha512-iVYuDu0pdGkzrxd2u6Kv7kRsIe3oilzrJogfUzN5Y3w3NDQk7oHpvao1OuXeHAuBLzRb1nspOyO2eNJIyT01Dg==","signatures":[{"sig":"MEUCIQDvXl2bYyhjnXIrXVXYuHJjGIipxPWOO4ecf8kcWwnQJgIgNYktSCG/hLIL7DfJBpxMOetsgxtnaMq/nZi8pN9SHzE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome-team%2fcapacitor-android-foreground-service@8.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":94872},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"762a4ca86dd18ce52c3a10977d7446866fe80e80","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:645633d7-26c1-473a-8c18-d3cc072deb2a"}},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.7.0","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"22.21.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","prettier":"3.4.2","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_8.0.0_1765974708989_0.4385647206717602","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"8.0.1","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome-team/capacitor-android-foreground-service@8.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"26a6c8ada83a237ab58749a890e592657551da0d","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-8.0.1.tgz","fileCount":22,"integrity":"sha512-SnkzGKvtbQ5aiIddRUviCelMjlM68WF835Zzt3AhRNg13v6uvzAL7EnqMByxX7RTqicSuvhJVYJprv/SyDiN7Q==","signatures":[{"sig":"MEYCIQDio0c6WfNk9s5Wo+7RH1TRA//AQsJYuqOTXnY5jVhttwIhAM5YrWSi7TP5KxiiJI4MQn/OjmXHzeT/zMpBs2Bma/4G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome-team%2fcapacitor-android-foreground-service@8.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":94881},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"fa5661b9d1f85edd21f503e2eeb9875d0089f0ae","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write","lint":"npm run eslint && npm run prettier -- --check","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:645633d7-26c1-473a-8c18-d3cc072deb2a"}},"capacitor":{"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.10.0","description":"Capacitor plugin to run a foreground service on Android.","directories":{},"_nodeVersion":"22.22.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","prettier":"3.4.2","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-android-foreground-service_8.0.1_1771486726065_0.9024408003734856","host":"s3://npm-registry-packages-npm-production"}},"8.1.0":{"name":"@capawesome-team/capacitor-android-foreground-service","version":"8.1.0","description":"Capacitor plugin to run a foreground service on Android.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/capawesome-team/capacitor-plugins.git"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"funding":[{"type":"github","url":"https://github.com/sponsors/capawesome-team/"},{"type":"opencollective","url":"https://opencollective.com/capawesome"}],"homepage":"https://capawesome.io/plugins/android-foreground-service/","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"scripts":{"verify":"npm run verify:android && npm run verify:web","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check","fmt":"npm run eslint -- --fix && npm run prettier -- --write","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","docgen":"docgen --api ForegroundServicePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"8.0.0","@capacitor/cli":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@ionic/eslint-config":"0.4.0","eslint":"8.57.0","prettier":"3.4.2","prettier-plugin-java":"2.6.7","rimraf":"6.1.2","rollup":"4.53.3","typescript":"5.9.3"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"android":{"src":"android"}},"gitHead":"adb5d27faf00e8615e8680f55c0fd0fb54b5adb7","_id":"@capawesome-team/capacitor-android-foreground-service@8.1.0","_nodeVersion":"22.22.1","_npmVersion":"11.11.1","dist":{"integrity":"sha512-q1LaZQ5K2cu2IXjbabwssF+RpUBikLxkOHYS69ahXz6a1kIsr2jC4RU1bwAEBTopRz0ccgfai0dSSTdqbtEwhw==","shasum":"5cdb4fc1e50c08bc7c538328867d93a45b1739a3","tarball":"https://registry.npmjs.org/@capawesome-team/capacitor-android-foreground-service/-/capacitor-android-foreground-service-8.1.0.tgz","fileCount":22,"unpackedSize":101525,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome-team%2fcapacitor-android-foreground-service@8.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF3TY81H0R3HOq5u5OicCvCLGZkKG+AahLKltbtSq/TBAiBBShxkIuXJ7ZO/nOuwMBGNodysI7CtKgpwlJAkOLw3OA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:645633d7-26c1-473a-8c18-d3cc072deb2a"}},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-android-foreground-service_8.1.0_1773761765098_0.21934081514369086"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-21T14:43:16.069Z","modified":"2026-03-17T15:36:05.564Z","5.0.0":"2023-10-21T14:43:16.348Z","6.0.0":"2024-04-16T16:03:44.095Z","6.0.1":"2024-04-29T15:46:27.132Z","6.1.0":"2024-11-25T13:14:04.868Z","6.2.0":"2024-12-27T14:35:39.963Z","7.0.0":"2025-01-30T09:46:09.655Z","7.0.1":"2025-02-05T20:46:58.179Z","8.0.0":"2025-12-17T12:31:49.140Z","8.0.1":"2026-02-19T07:38:46.202Z","8.1.0":"2026-03-17T15:36:05.234Z"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","homepage":"https://capawesome.io/plugins/android-foreground-service/","keywords":["capacitor","plugin","native","ionic","android","foreground service"],"repository":{"type":"git","url":"git+https://github.com/capawesome-team/capacitor-plugins.git"},"description":"Capacitor plugin to run a foreground service on Android.","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"readme":"# @capawesome-team/capacitor-android-foreground-service\n\nCapacitor plugin to run a foreground service on Android.\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1\" />\n  </a>\n</div>\n\n## Newsletter\n\nStay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 8.x.x          | >=8.x.x           | Active support |\n\n## Installation\n\nYou can use our **AI-Assisted Setup** to install the plugin.\nAdd the Capawesome Skills to your AI tool using the following command:\n\n```bash\nnpx skills add capawesome-team/skills\n```\n\nThen use the following prompt:\n\n```\nUse the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capawesome-team/capacitor-android-foreground-service` plugin in my project.\n```\n\nIf you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capawesome-team/capacitor-android-foreground-service\nnpx cap sync\n```\n\n### Android\n\nThis API requires the following permissions be added to your `AndroidManifest.xml` before or after the `application` tag:\n\n```xml\n<uses-permission android:name=\"android.permission.FOREGROUND_SERVICE\" />\n<uses-permission android:name=\"android.permission.FOREGROUND_SERVICE_LOCATION\" />\n<!-- Required to keep the app running in the background without any ressource limitations -->\n<uses-permission android:name=\"android.permission.WAKE_LOCK\" />\n<!-- Required to request the manage overlay permission -->\n<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\" />\n```\n\n**Attention**: Replace `FOREGROUND_SERVICE_LOCATION` with the foreground service types you want to use (see [Foreground service types](https://developer.android.com/develop/background-work/services/fg-service-types)). See [ServiceType](#servicetype) for the available types.\n\nYou also need to add the following receiver and service **inside** the `application` tag in your `AndroidManifest.xml`:\n\n```xml\n<receiver android:name=\"io.capawesome.capacitorjs.plugins.foregroundservice.NotificationActionBroadcastReceiver\" />\n<service android:name=\"io.capawesome.capacitorjs.plugins.foregroundservice.AndroidForegroundService\" android:foregroundServiceType=\"location\" />\n```\n\n**Attention**: Replace `location` with the foreground service types you want to use (see [Foreground service types](https://developer.android.com/develop/background-work/services/fg-service-types)). See [ServiceType](#servicetype) for the available types.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Demo\n\nA working example can be found here: [robingenz/capacitor-plugin-demo](https://github.com/robingenz/capacitor-plugin-demo)\n\n| Android                                                                                                                                            |\n| -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| <img src=\"https://user-images.githubusercontent.com/13857929/188438969-fcbf02d3-0db2-4277-8039-ddfb6bce42ae.gif\" width=\"324\" alt=\"Android Demo\" /> |\n\n## Usage\n\n```typescript\nimport { Capacitor } from '@capacitor/core';\nimport { ForegroundService } from '@capawesome-team/capacitor-android-foreground-service';\n\nconst startForegroundService = async () => {\n  await ForegroundService.startForegroundService({\n    id: 1,\n    title: 'Title',\n    body: 'Body',\n    smallIcon: 'ic_stat_icon_config_sample',\n    buttons: [\n      {\n        title: 'Button 1',\n        id: 1,\n      },\n      {\n        title: 'Button 2',\n        id: 2,\n      },\n    ],\n    silent: false,\n    notificationChannelId: 'default',\n  });\n};\n\nconst updateForegroundService = async () => {\n  await ForegroundService.updateForegroundService({\n    id: 1,\n    title: 'Title',\n    body: 'Body',\n    smallIcon: 'ic_stat_icon_config_sample',\n  });\n};\n\nconst stopForegroundService = async () => {\n  await ForegroundService.stopForegroundService();\n};\n\nconst createNotificationChannel = async () => {\n  await ForegroundService.createNotificationChannel({\n    id: 'default',\n    name: 'Default',\n    description: 'Default channel',\n    importance: Importance.Default,\n  });\n};\n\nconst deleteNotificationChannel = async () => {\n  await ForegroundService.deleteNotificationChannel({\n    id: 'default',\n  });\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`moveToForeground()`](#movetoforeground)\n* [`startForegroundService(...)`](#startforegroundservice)\n* [`updateForegroundService(...)`](#updateforegroundservice)\n* [`stopForegroundService()`](#stopforegroundservice)\n* [`checkPermissions()`](#checkpermissions)\n* [`requestPermissions()`](#requestpermissions)\n* [`checkManageOverlayPermission()`](#checkmanageoverlaypermission)\n* [`requestManageOverlayPermission()`](#requestmanageoverlaypermission)\n* [`createNotificationChannel(...)`](#createnotificationchannel)\n* [`deleteNotificationChannel(...)`](#deletenotificationchannel)\n* [`addListener('buttonClicked', ...)`](#addlistenerbuttonclicked-)\n* [`addListener('notificationTapped', ...)`](#addlistenernotificationtapped-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### moveToForeground()\n\n```typescript\nmoveToForeground() => Promise<void>\n```\n\nMoves the app to the foreground.\n\nOn Android SDK 23+, the user must grant the manage overlay permission.\nYou can use the `requestManageOverlayPermission()` method to request the\npermission and the `checkManageOverlayPermission()` method to check if the\npermission is granted.\n\nOnly available on Android.\n\n**Since:** 0.3.0\n\n--------------------\n\n\n### startForegroundService(...)\n\n```typescript\nstartForegroundService(options: StartForegroundServiceOptions) => Promise<void>\n```\n\nStarts the foreground service.\n\nOnly available on Android.\n\n| Param         | Type                                                                                    |\n| ------------- | --------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#startforegroundserviceoptions\">StartForegroundServiceOptions</a></code> |\n\n**Since:** 0.0.1\n\n--------------------\n\n\n### updateForegroundService(...)\n\n```typescript\nupdateForegroundService(options: UpdateForegroundServiceOptions) => Promise<void>\n```\n\nUpdates the notification details of the running foreground service.\n\nOnly available on Android.\n\n| Param         | Type                                                                                    |\n| ------------- | --------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#startforegroundserviceoptions\">StartForegroundServiceOptions</a></code> |\n\n**Since:** 6.1.0\n\n--------------------\n\n\n### stopForegroundService()\n\n```typescript\nstopForegroundService() => Promise<void>\n```\n\nStops the foreground service.\n\nOnly available on Android.\n\n**Since:** 0.0.1\n\n--------------------\n\n\n### checkPermissions()\n\n```typescript\ncheckPermissions() => Promise<PermissionStatus>\n```\n\nCheck permission to display notifications.\n\nOn **Android**, this method only needs to be called on Android 13+.\n\nOnly available on Android.\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 5.0.0\n\n--------------------\n\n\n### requestPermissions()\n\n```typescript\nrequestPermissions() => Promise<PermissionStatus>\n```\n\nRequest permission to display notifications.\n\nOn **Android**, this method only needs to be called on Android 13+.\n\nOnly available on Android.\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 5.0.0\n\n--------------------\n\n\n### checkManageOverlayPermission()\n\n```typescript\ncheckManageOverlayPermission() => Promise<ManageOverlayPermissionResult>\n```\n\nCheck if the overlay permission is granted.\n\nOnly available on Android.\n\n**Returns:** <code>Promise&lt;<a href=\"#manageoverlaypermissionresult\">ManageOverlayPermissionResult</a>&gt;</code>\n\n**Since:** 0.3.0\n\n--------------------\n\n\n### requestManageOverlayPermission()\n\n```typescript\nrequestManageOverlayPermission() => Promise<ManageOverlayPermissionResult>\n```\n\nRequest the manage overlay permission.\n\nOnly available on Android.\n\n**Returns:** <code>Promise&lt;<a href=\"#manageoverlaypermissionresult\">ManageOverlayPermissionResult</a>&gt;</code>\n\n**Since:** 0.3.0\n\n--------------------\n\n\n### createNotificationChannel(...)\n\n```typescript\ncreateNotificationChannel(options: CreateNotificationChannelOptions) => Promise<void>\n```\n\nCreate a notification channel.\nIf not invoked, the plugin creates a channel with name and description set to \"Default\".\n\nOnly available for Android (SDK 26+).\n\n| Param         | Type                                                                                          |\n| ------------- | --------------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#createnotificationchanneloptions\">CreateNotificationChannelOptions</a></code> |\n\n**Since:** 6.1.0\n\n--------------------\n\n\n### deleteNotificationChannel(...)\n\n```typescript\ndeleteNotificationChannel(options: DeleteNotificationChannelOptions) => Promise<void>\n```\n\nDelete a notification channel.\n\nOnly available for Android (SDK 26+).\n\n| Param         | Type                                                                                          |\n| ------------- | --------------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#deletenotificationchanneloptions\">DeleteNotificationChannelOptions</a></code> |\n\n**Since:** 6.1.0\n\n--------------------\n\n\n### addListener('buttonClicked', ...)\n\n```typescript\naddListener(eventName: 'buttonClicked', listenerFunc: ButtonClickedEventListener) => Promise<PluginListenerHandle>\n```\n\nCalled when a notification button is clicked.\n\nOnly available on iOS.\n\n| Param              | Type                                                                              |\n| ------------------ | --------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'buttonClicked'</code>                                                      |\n| **`listenerFunc`** | <code><a href=\"#buttonclickedeventlistener\">ButtonClickedEventListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 0.2.0\n\n--------------------\n\n\n### addListener('notificationTapped', ...)\n\n```typescript\naddListener(eventName: 'notificationTapped', listenerFunc: NotificationTappedEventListener) => Promise<PluginListenerHandle>\n```\n\nCalled when the foreground service notification is tapped.\n\nOnly available on Android.\n\n| Param              | Type                                                                                        |\n| ------------------ | ------------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'notificationTapped'</code>                                                           |\n| **`listenerFunc`** | <code><a href=\"#notificationtappedeventlistener\">NotificationTappedEventListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 8.1.0\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n**Since:** 0.2.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### StartForegroundServiceOptions\n\n| Prop                        | Type                                                | Description                                                                                                                                                                                                     | Default            | Since |\n| --------------------------- | --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`body`**                  | <code>string</code>                                 | The body of the notification, shown below the title.                                                                                                                                                            |                    | 0.0.1 |\n| **`buttons`**               | <code>NotificationButton[]</code>                   | The buttons to show on the notification. Only available on Android (SDK 24+).                                                                                                                                   |                    | 0.2.0 |\n| **`id`**                    | <code>number</code>                                 | The notification identifier.                                                                                                                                                                                    |                    | 0.0.1 |\n| **`serviceType`**           | <code><a href=\"#servicetype\">ServiceType</a></code> | The foreground service type. Only available on Android (SDK 29+).                                                                                                                                               |                    | 6.2.0 |\n| **`smallIcon`**             | <code>string</code>                                 | The status bar icon for the notification. Icons should be placed in your app's `res/drawable` folder. The value for this option should be the drawable resource ID, which is the filename without an extension. |                    | 0.0.1 |\n| **`title`**                 | <code>string</code>                                 | The title of the notification.                                                                                                                                                                                  |                    | 0.0.1 |\n| **`silent`**                | <code>boolean</code>                                | If true, will only alert (sound/vibration) on the first notification. Subsequent updates will be silent.                                                                                                        | <code>false</code> | 6.1.0 |\n| **`notificationChannelId`** | <code>string</code>                                 | The notification channel identifier.                                                                                                                                                                            |                    | 6.1.0 |\n\n\n#### NotificationButton\n\n| Prop        | Type                | Description                                                                                           | Since |\n| ----------- | ------------------- | ----------------------------------------------------------------------------------------------------- | ----- |\n| **`title`** | <code>string</code> | The button title.                                                                                     | 0.2.0 |\n| **`id`**    | <code>number</code> | The button identifier. This is used to identify the button when the `buttonClicked` event is emitted. | 0.2.0 |\n\n\n#### PermissionStatus\n\n| Prop          | Type                                                        | Description                                   | Since |\n| ------------- | ----------------------------------------------------------- | --------------------------------------------- | ----- |\n| **`display`** | <code><a href=\"#permissionstate\">PermissionState</a></code> | Permission state of displaying notifications. | 5.0.0 |\n\n\n#### ManageOverlayPermissionResult\n\n| Prop          | Type                 | Description                                                                      | Since |\n| ------------- | -------------------- | -------------------------------------------------------------------------------- | ----- |\n| **`granted`** | <code>boolean</code> | Whether the permission is granted. This is always `true` on Android SDK &lt; 23. | 0.3.0 |\n\n\n#### CreateNotificationChannelOptions\n\n| Prop              | Type                                              | Description                                                         | Since |\n| ----------------- | ------------------------------------------------- | ------------------------------------------------------------------- | ----- |\n| **`description`** | <code>string</code>                               | The description of this channel (presented to the user).            | 6.1.0 |\n| **`id`**          | <code>string</code>                               | The channel identifier.                                             | 6.1.0 |\n| **`importance`**  | <code><a href=\"#importance\">Importance</a></code> | The level of interruption for notifications posted to this channel. | 6.1.0 |\n| **`name`**        | <code>string</code>                               | The name of this channel (presented to the user).                   | 6.1.0 |\n\n\n#### DeleteNotificationChannelOptions\n\n| Prop     | Type                | Description             | Since |\n| -------- | ------------------- | ----------------------- | ----- |\n| **`id`** | <code>string</code> | The channel identifier. | 6.1.0 |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### ButtonClickedEvent\n\n| Prop           | Type                | Description            | Since |\n| -------------- | ------------------- | ---------------------- | ----- |\n| **`buttonId`** | <code>number</code> | The button identifier. | 0.2.0 |\n\n\n#### NotificationTappedEvent\n\n| Prop                 | Type                | Description                  | Since |\n| -------------------- | ------------------- | ---------------------------- | ----- |\n| **`notificationId`** | <code>number</code> | The notification identifier. | 8.1.0 |\n\n\n### Type Aliases\n\n\n#### UpdateForegroundServiceOptions\n\n<code><a href=\"#startforegroundserviceoptions\">StartForegroundServiceOptions</a></code>\n\n\n#### PermissionState\n\n<code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>\n\n\n#### ButtonClickedEventListener\n\n<code>(event: <a href=\"#buttonclickedevent\">ButtonClickedEvent</a>): void</code>\n\n\n#### NotificationTappedEventListener\n\n<code>(event: <a href=\"#notificationtappedevent\">NotificationTappedEvent</a>): void</code>\n\n\n### Enums\n\n\n#### ServiceType\n\n| Members          | Value            | Description                                                                                     | Since |\n| ---------------- | ---------------- | ----------------------------------------------------------------------------------------------- | ----- |\n| **`Location`**   | <code>8</code>   | Long-running use cases that require location access, such as navigation and location sharing.   | 6.2.0 |\n| **`Microphone`** | <code>128</code> | Continue microphone capture from the background, such as voice recorders or communication apps. | 6.2.0 |\n\n\n#### Importance\n\n| Members       | Value          | Since |\n| ------------- | -------------- | ----- |\n| **`Min`**     | <code>1</code> | 6.1.0 |\n| **`Low`**     | <code>2</code> | 6.1.0 |\n| **`Default`** | <code>3</code> | 6.1.0 |\n| **`High`**    | <code>4</code> | 6.1.0 |\n| **`Max`**     | <code>5</code> | 6.1.0 |\n\n</docgen-api>\n\n## FAQ\n\n### Why can the user dismiss the notification?\n\nAndroid 14 has changed the behavior to allow users to dismiss such notifications, see [Changes to how users experience non-dismissible notifications](https://developer.android.com/about/versions/14/behavior-changes-all#non-dismissable-notifications).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/android-foreground-service/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/android-foreground-service/LICENSE).\n","readmeFilename":"README.md"}