{"versions":{"1.0.1":{"name":"capacitor-plugin-filedownload","version":"1.0.1","description":"a file download plugin for Capacitor3","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"next","@capacitor/core":"next","@capacitor/docgen":"^0.0.10","@capacitor/ios":"next","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.0.3"},"peerDependencies":{"@capacitor/core":"next"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"67e45b26b6752f47d8797cb697b14410ad37c389","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload#readme","_id":"capacitor-plugin-filedownload@1.0.1","_nodeVersion":"14.15.4","_npmVersion":"7.14.0","dist":{"integrity":"sha512-arYfWrDibm6nJZ/bcMtbHuVqNawRDaxK6Qr0+c7yqi3YwqVaeGDnr0bTjm9fgLEBzG8CxLcEk09WoErir9KKzQ==","shasum":"42ce319ebcf52c66700d375fc3a04daa1f76b58f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.1.tgz","fileCount":28,"unpackedSize":24056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgszAOCRA9TVsSAnZWagAA+IEP/jFO84gtVPsd/c+YtSuv\nQ0hJGqfmxAYEzWJN+uirVZZ58sJCiiCbIl3WaDRzabk/xUSGqZauNXkXUan7\n7cco60B++igDDrXGr2AcRLwcOMagKl+dVsytaqHE4N+4aYCh1wH45O2wsdJM\nHq2VyQbPGRgjt4FWjWyZMG0i5c8E+IxGPu0UDgXpA7bKMWj0X7URITIRzt20\nQE/zB+1P1Q5ASW1ZXHu34JY2wzpEgZ8r5tSGybSebHgd8v3b7YAUVhlHoRti\nPGLbbbkvFQ0QJPjVJwLqOOB2iMP59Ugn/AdWj5mTypUwtJfaXYdt/zGghtxG\n6W742lA67yyX1dbFus2l197EiRBX+U8mtVk/M80y9b+Ze/LIhCBNQroQq5HI\nlUvQo4QxNaC1n1EKb5oMIbuOYpqFIEiaUY+Knng+PLkXHE4NDeMX5VDt+Oyb\nqFsmuRQFJYF7uSBKVBYSMXVq1/CmBESy3rK/eEKpconnXGVTIRfny8ERHXfn\n7gdIdrCUUdoDMMBTkhuynE4l150VzJs5OOFDnp+zfomWUaVnj2i0q273ccLL\nG0iveMiaR3bRo3dyRtdNU3psr7mKGhFoPJGJYvFAwpvoG7drhlnakanF9CJu\n+4fTTnZ8JJh1Q6FuU+V/tHTvnMvMkWf1ZOD6izgCYYXz2I+6qn4/aNbgGzCr\nu51t\r\n=KxZL\r\n-----END PGP SIGNATURE-----\r\n","size":8353},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.1_1622355982486_0.6173837477729838"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T15:21:08.070Z","contributors":[]},"1.0.2":{"name":"capacitor-plugin-filedownload","version":"1.0.2","description":"a file download plugin for Capacitor3","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"next","@capacitor/core":"next","@capacitor/docgen":"^0.0.10","@capacitor/ios":"next","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.0.3"},"peerDependencies":{"@capacitor/core":"next"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"67e45b26b6752f47d8797cb697b14410ad37c389","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload#readme","_id":"capacitor-plugin-filedownload@1.0.2","_nodeVersion":"14.17.3","_npmVersion":"7.21.0","dist":{"integrity":"sha512-H3Ba9TZJffajksF3A56uOZWDVsGTX8W3k2lGx9txnmjt6OanFIurZWGzoFk7amGpojJei/URFdJwXKL3kJYyyg==","shasum":"58c984e118044155069bcdce4987901e7be98728","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.2.tgz","fileCount":28,"unpackedSize":23796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIw3WCRA9TVsSAnZWagAABiEP/0rn64H/IhjONl32a5zr\nBCGdxqhGoahYbCxNEVj0gIAbf7N4vQIfG/8JWbvydPLzkHXZAK20yLmUZz8p\nIyt9Njm9HZ5d0vrlzgtfkq/M4ibo9cah/73oS0X9lQvb0K0zS+GFRGbc2at8\n/vSlDvhvnoyvvKRNBMM6m1qSv8ABGEvJ+FKhM6oDALPCXZvuXSaVY8gnr5wA\nON7ZfxCzwTvIuo5UBDp8/OJbV6l9AgCOqqs4/ua+0i4x7T2TmR1K0QDakrga\nRPjT8uZb1qxPkiGhYzF5DsfQPCmnKPOj8PUuccFMNHsalpRW1JGR/aBonHFo\n6I6/oSqeDqeAO+c00sOwJi/2xF+s+nFWT9OXsmnucB7Oly/bBa64qhtadnBd\nvZCEKH8hBgqbKR/am6cw4b4ehbRUIUmrOWor8fN3ouNcT3fUIj4YyPqV22NM\nCRSv4lVbrMAkdLAKZpmtgITPl3n0PnAgaFaqCA+yA94Tv1cQIXQC2NW1tJIP\nLCg/GM7RcdhPsg1NkloyYfm4IpRWITBTOD7lQPQcsNxck9x0tm9D18RGZoRc\n1DsQyoWzsA+9j2nPf7LdBHWFeVR4Y/fpPuy7CVpHeFC93nGigMM7EVJ9KSuK\nCN1kjWjx0J2DLUtWwKhXqCB+78xgGSQTAsNTza55+2n0KpPMDdM+9RSJHBuZ\nQdG8\r\n=vRvr\r\n-----END PGP SIGNATURE-----\r\n","size":8327},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.2_1629687254668_0.27192907081762674"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T15:21:09.012Z","contributors":[]},"1.0.3":{"name":"capacitor-plugin-filedownload","version":"1.0.3","description":"a file download plugin for Capacitor3","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"next","@capacitor/core":"next","@capacitor/docgen":"^0.0.10","@capacitor/ios":"next","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.0.3"},"peerDependencies":{"@capacitor/core":"next"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"49f5cb626b18fc38457731af29218d9cdb9b1543","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload#readme","_id":"capacitor-plugin-filedownload@1.0.3","_nodeVersion":"14.17.3","_npmVersion":"7.21.0","dist":{"integrity":"sha512-nuk27VbEMLrt5g8Y/PeVsmlU4zT1CsX1vPNdjBLSTtg8SgmrRrSJc0KZp78plMef7S/0AscmfLVFoWfVX7+90Q==","shasum":"aa22a2f677dea03a4b5496fc0939cd8aa1915fe3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.3.tgz","fileCount":28,"unpackedSize":26194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIzNOCRA9TVsSAnZWagAAS4MQAIAPR5HINwEs96ws1OCS\nCgZFx2BKY4cQiljP0kvEC8ZSB1YtPUOhhL59P88VKV5ArOA7zmM+dFqYsMNL\nf1iRcjQISkhRoSYq7YX3JG0A2G1qjv0CU9dYVZGsIQqA1t40i0PZu8XimP3m\nJGGuuefQ8cLCa9vN5vm6tigtHN9So804IAk4vm3AC+E6Y3XmKs+HuVnk1xm9\nwY65434OfoIf4ltrWzHZ4dTnYMSYcng2f2Ir7WW1Z6f0x0kHgP+Ow40tXJ7T\newCPoto3Kayf8M2yt++ITL8ByWOFge6RQlvK9amEu5zvM1c6ATXoZ8OQAc15\njMZElN4PnfthLsZtTdPK2ZS0U7iktK+YMjB292WQoPuSthJswdmAQy3SGRwz\nxjgknrVgZbBcV6g5M2GVJcWdEcUTEyJGst/2FVkNtWw86Rju3uaM/sVTRSiM\nSge0TuVnXwXUBXo7iXyRyVzUvX+XqO1yIak0je48BsjIr0hMRiyhomYBrzbH\nekZu3XBgxvFHR4TgXgpIyvRRX3EG6GfRxj3SYT50MOsdx7Bsh8VQ2xyKt8zT\nhhOuRjZqQhjIK6DIaMyyXSugFz/u/myjUXL4nDPTbZDeSWg/o7ITb+zpl5JM\nB6kklb5ffDMEC41vYFdNiLTllrIEWM+EzraLvb0rSRQ2qK+WBrf8hKvAMmdt\n5oYs\r\n=5xht\r\n-----END PGP SIGNATURE-----\r\n","size":8639},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.3_1629696846627_0.37050270064859947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T15:21:09.964Z","contributors":[]},"1.0.4":{"name":"capacitor-plugin-filedownload","version":"1.0.4","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^4.0.0","@capacitor/core":"^4.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^4.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^4.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"6be795a6db79e61f65cd143c45e44da562779806","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@1.0.4","_nodeVersion":"16.17.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-QC9TkswEfNGa5MpZinkm992e+VRws7Fq4y6QM3Y3CXzuaXpiHnxcrIzQdVoptF2fd8w8vjEYCtTh8Tcd4219PA==","shasum":"b7e6cde88c37f94e7a857bc1727557e538252dc2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.4.tgz","fileCount":28,"unpackedSize":29676,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnADAAc/lmpGAoxuQgync1hZ5Ss+Fsw+GM77lj3FcW3AIhAJzE+O78Kv8ffCSNRtAg6DEeTqtlSfJkhl6jnrzPQC34"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2LluACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvnBAAko4xGodT4/1Km4UVNpGv+iPLggQgk1yBESTYafJEbWJd+Cue\r\n1Opsh64vczsVxGgdcaAp2Nb9qg1clIdg1Cbdtr+HRwiSvrleE7cjl/PuhzfU\r\nG2vXR9hR041Vzy6jMfoRe6Udnt2RHw2eQ6i8M0rXpvgqY70OTSrWy76qk7Zl\r\nb+xUp5Ms+juTOMEA85q6b8vsJWnEdHDXs8of2/35zBwhLzQ+e3hNjTjV1DEQ\r\nnGYMZxdRnfDf5AdBWjvq+m6LKH8ncAenKEA6vqbsn7w+8scLQuHS8na+66Tl\r\nyG1im9a8G3ebD4H8LlwkcY6lp1WVmidXYTvmffuOCz/v7IHXg6YrUiYDtRta\r\n07NZsiwlO3EStCzD8fmcmlMjIrJdcxcp7zTf2Z+hdNka1pfDQuuENXel976V\r\ne6H3aRGtfNNHeAjucOG5EKCqo8jCJpvO0oN4vggHLLBC635jnBNAN60V60Px\r\nQ5PRfSe/PRtcNL0iqOX6WQaL4yOUjV83ZJmzpLXmB3bFb5TLdz0KYQDsOsZR\r\nXEplsW92v/O9wWZCfwFCR1VAGG2j4se9AVjqVa2YpIpIsiH8OPc/NDk7luhg\r\nZOIytBPTqOOX+8VuY/1OIR2UGcbYsItjh6s8iw2rA7dtWP3PTjbl6QjuBXZ0\r\nTu2DvXjkjJiXlAnSPbbm+HIrzoC4OPnodP4=\r\n=iDmw\r\n-----END PGP SIGNATURE-----\r\n","size":9269},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.4_1675147630145_0.08429929535116787"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-31T06:47:10.330Z","publish_time":1675147630330,"contributors":[]},"1.0.5":{"name":"capacitor-plugin-filedownload","version":"1.0.5","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^4.0.0","@capacitor/core":"^4.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^4.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^4.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"6be795a6db79e61f65cd143c45e44da562779806","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@1.0.5","_nodeVersion":"16.17.1","_npmVersion":"9.6.2","dist":{"integrity":"sha512-gNbDgOjamX84IUerAW8qdDvaQspeWor33ehLv05nvg9693sL9SsFs5fAbVjuwLvlm/cW3Z7AFNbDiFslhdQB/A==","shasum":"3267d94f2f98bed2ee5f74eb4492a273b5e1fc09","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.5.tgz","fileCount":28,"unpackedSize":30997,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWjvxR9eHQzLrtqvp3oSl/nhgcR5gsk7W8PQqSLeacBAiEA4Cosq4H+WHu3EGpyD5CuAjZs7CHtt5fPvdTcAMyGGFw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLjLoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrthRAAj5S984iy870RqenIJoVwvjttKu5OtTip2mq1KzYJa13s7nyw\r\nbQwtU1JZO7Tiz6XSqFF5Qqt50on5/h774b7s3hDw+l2AoHBne//P0C7Ly0kI\r\nc0DZoGWzBkY69OonypduBv1tckB9IgiLgdfDt9xrxVERbGKL050xRFxxBtx8\r\n9A9+nYg/pV9YvvzBlLKWTMf9NvXMKf30EPbW7lCDhRyw053cb0QlnmK4b++9\r\nKRJFqMzXFIeYM/w4K3I2khevvtl+RnUhgh0UGhaLKGb9Wm+aKocAZyNYp3bH\r\nT+r7ovT7UO9DI8iu+dgAu5C5gQoC4TwXQFcukKOUTTsV02R93gx0PwfiIbuj\r\n5kczWo+JSAN0ThbCDXIu13D3zPXnsk0xSqZASjTG7OunMWgr0NP5w9N5PjVa\r\nYGRbAmUVysz7KY+7mWE0LUkerHnPHFbatwP8CRf4E41JUAqg7vqPluVmZEcL\r\nGbZm4SAM85ImWIxCCyaLI2HrrEoTK38Ni1BP1J+kYwh+9+t9ri9A4JX2/ZI2\r\nTWaYsvcpRW9zMzPmQ8ffKR4kcg0hngIlB5+PIuENEMqNCl56LfVAAmioqmr6\r\ndX65CmX7HeZmXRYYE8677Uw9cyHG/9xk4pGbLdeDaCfwfcPrtT4Fj4q+VpCN\r\ndbPBP48QP2yT44v1TTR7EIrCG8Jga27VTM0=\r\n=E88f\r\n-----END PGP SIGNATURE-----\r\n","size":9505},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.5_1680749288373_0.4809995181023099"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-06T02:48:08.541Z","publish_time":1680749288541,"contributors":[]},"1.0.6":{"name":"capacitor-plugin-filedownload","version":"1.0.6","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^4.0.0","@capacitor/core":"^4.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^4.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^4.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"9fe6c0ea593012abd703bff45b43a52a8c60737b","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@1.0.6","_nodeVersion":"16.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-8cHoyRQ668lFTml5AyVz/1F9tcVXFaMcmxWfkzBFizdE7fE6ODUINWzw48zfcM+orpXQRywNE8NmXDzlNcU4oQ==","shasum":"0718227e0612143e2c665c2805bb38f2ee66ff74","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.6.tgz","fileCount":28,"unpackedSize":45248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0hsIrHEwsHF51Z6wsNaL3Uc6eHcFmbk5/pU0gd32NNQIgb18QiiB/6Ju5AGmfdAVIUnOCkALCT+VMwI4Jgz6Rtl8="}],"size":11634},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.6_1685176404485_0.8625187980871889"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-27T08:33:24.677Z","publish_time":1685176404677,"_source_registry_name":"default","contributors":[]},"1.0.7":{"name":"capacitor-plugin-filedownload","version":"1.0.7","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^4.0.0","@capacitor/core":"^4.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^4.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^4.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"6982b5ebe7aeefb0de9cf1f185cf0463b65ac46c","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@1.0.7","_nodeVersion":"16.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-JtTmYbb8Jro0fnY59vL26vgwmnTWkQb+OETYKhZtBeeaP8x308+MmFdTPH2ArghqeZ+gjyuLv+qc7xPC8rp2Ew==","shasum":"ed1f406ef312e37752ab3c0dd8787681529e747b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.7.tgz","fileCount":28,"unpackedSize":55807,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfwNyXwCKe4/0eTJzhhdHSfkRPs6hT+6VZqhPg4U3s5AiBx1tPz9vd8PnA4VVh60nJSjXJdFfbWu+x8WjPBiyaptg=="}],"size":13284},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.7_1685205161423_0.27272475616090674"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-27T16:32:41.596Z","publish_time":1685205161596,"_source_registry_name":"default","contributors":[]},"1.0.8":{"name":"capacitor-plugin-filedownload","version":"1.0.8","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^4.0.0","@capacitor/core":"^4.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^4.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^4.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"d0c719bd614743fba520195a98b7d0555b3bbdf4","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@1.0.8","_nodeVersion":"16.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-mW4o1ELbQJqL0XFDFoG6wpD/dVjZrLoJkE0XlGRWOQoj2FgX7r/04305/LnqLQLSiVbbEE/Y5wrbbxc4Hf3j6Q==","shasum":"ea22a1f34f95245f7094759d5b08f5f0f71f8ba0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-1.0.8.tgz","fileCount":28,"unpackedSize":55815,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGoS3SW35FjHUuUKO+Sh7mYUcqfXziUxviztfp1VPXNvAiEA9kfYxq918Rb8C8RInJvdRX3yV7qn8r2ZPCeQtJepPHE="}],"size":13236},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_1.0.8_1685263272772_0.6857817400744257"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-28T08:41:12.948Z","publish_time":1685263272948,"_source_registry_name":"default","contributors":[]},"2.0.0":{"name":"capacitor-plugin-filedownload","version":"2.0.0","description":"a file download plugin for capacitor3.0+","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"zhuxian"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git.git"},"bugs":{"url":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git/issues"},"keywords":["capacitor","plugin","native","download"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FileDownloadPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^5.0.0","@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"147d90bdba8c096960f658527619fdb073d2a78a","homepage":"https://github.com/AlwaysLoveme/capacitor-plugin-filedownload.git#readme","_id":"capacitor-plugin-filedownload@2.0.0","_nodeVersion":"16.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-KEd/8rTOlHL79OUbFjppkKEIdtR9V9uD1mQlxSkEvFH8kXkl8TV9Q3Vp3wMxgIvFPjK4CCu6JOD51zjMOAtyag==","shasum":"856fca468c0f1649fe1b61e9540ddd2f245afe4e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/capacitor-plugin-filedownload/-/capacitor-plugin-filedownload-2.0.0.tgz","fileCount":28,"unpackedSize":55735,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0npWtCbhij54InnLOpM36FiWHBX4P2jshjcMpDGj+0AiEAheoRgVbJ5zajpK9/uUknJZL4Ms3tc3logVqIsF3i3IA="}],"size":13223},"_npmUser":{"name":"anonymous","email":"18270244870@163.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"18270244870@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-plugin-filedownload_2.0.0_1686896718576_0.1285371569553364"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-16T06:25:18.718Z","publish_time":1686896718718,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.0.0"},"name":"capacitor-plugin-filedownload","time":{"created":"2022-01-27T12:15:02.284Z","modified":"2023-06-16T06:42:57.332Z","1.0.1":"2021-05-30T06:26:22.590Z","1.0.2":"2021-08-23T02:54:14.804Z","1.0.3":"2021-08-23T05:34:06.789Z","1.0.4":"2023-01-31T06:47:10.330Z","1.0.5":"2023-04-06T02:48:08.541Z","1.0.6":"2023-05-27T08:33:24.677Z","1.0.7":"2023-05-27T16:32:41.596Z","1.0.8":"2023-05-28T08:41:12.948Z","2.0.0":"2023-06-16T06:25:18.718Z"},"readme":"# capacitor-plugin-filedownload\n\n<p align=\"left\">\n  <a href=\"https://img.shields.io/badge/support-Android-516BEB?logo=android&logoColor=white&style=plastic\">\n    <img src=\"https://img.shields.io/badge/support-Android-516BEB?style=plastic\">\n  </a>\n  <a href=\"https://img.shields.io/badge/support-Android-516BEB?logo=android&logoColor=white&style=plastic\">\n    <img src=\"https://img.shields.io/badge/support-IOS-516BEB?style=plastic\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/capacitor-plugin-filedownload\">\n    <img src=\"https://img.shields.io/npm/v/capacitor-plugin-filedownload/latest.svg\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/capacitor-plugin-filedownload\">\n    <img src=\"https://img.shields.io/npm/dm/capacitor-plugin-filedownload.svg\"/>\n  </a>\n</p>\n\n<p>\na file download plugin for capacitor3.0+\n</p>\n\n> since v2.0.0 supported Capacitor5\n\n> since version `1.0.6` , the `uri` option was changed to `url`\n\n## Install\n\n```bash\nnpm install capacitor-plugin-filedownload\nnpx cap sync\n```\n\neg:\n\n```ts\nimport { FileDownload } from \"capacitor-plugin-filedownload\";\n\nconst download = async () => {\n  FileDownload.download({\n    url: \"http://www.xxxxx.com/file/rvh.apk\",\n    fileName: \"release.apk\",\n    // headers for http request with POST method\n    headers: {},\n    // parameter for http request with POST method\n    body: {},\n    // only works on Android, deprecated since 1.0.6\n    downloadTitle: 'downloading',\n    // only works on Android, deprecated since 1.0.6\n    downloadDescription: 'file is downloading',\n  }).then((res) => {\n    console.log(res.path);\n  }).catch(err => {\n    console.log(err);\n  })\n}\n\n\n// cancel download\nconst cancelDownload = async () => {\n  await FileDownload.cancel();\n}\n\n\n// get download status\nconst getDownloadStatus = () => {\n  const {isCanceled} = await FileDownload.isCanceled();\n  console.log(isCanceled);\n}\n\n\n// event listener for downloadProgress\nconst onDownloadProgress = async () => {\n  const eventListener = await FileDownload.addListener('downloadProgress', data =>{\n    console.log(data.progress);\n  })\n\n  // remove eventListener\n  eventListener.remove();\n}\n\n...\n```\n\nif you wish to open the file, you can install this plugin:\nhttps://github.com/capacitor-community/file-opener\n\n## API\n\n<docgen-index>\n\n* [`download(...)`](#download)\n* [`cancel()`](#cancel)\n* [`isCanceled()`](#iscanceled)\n* [`checkPermissions()`](#checkpermissions)\n* [`requestPermissions()`](#requestpermissions)\n* [`openSetting()`](#opensetting)\n* [`addListener('downloadProgress', ...)`](#addlistenerdownloadprogress)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\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### download(...)\n\n```typescript\ndownload(options: FileDownloadOptions) => Promise<FileDownloadResponse>\n```\n\n| Param         | Type                                                                |\n| ------------- | ------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#filedownloadoptions\">FileDownloadOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#filedownloadresponse\">FileDownloadResponse</a>&gt;</code>\n\n--------------------\n\n\n### cancel()\n\n```typescript\ncancel() => Promise<void>\n```\n\ncancel download\n\n--------------------\n\n\n### isCanceled()\n\n```typescript\nisCanceled() => Promise<CancelStatus>\n```\n\nget status of download\n\n**Returns:** <code>Promise&lt;<a href=\"#cancelstatus\">CancelStatus</a>&gt;</code>\n\n--------------------\n\n\n### checkPermissions()\n\n```typescript\ncheckPermissions() => Promise<PermissionStatus>\n```\n\nonly for android\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n--------------------\n\n\n### requestPermissions()\n\n```typescript\nrequestPermissions() => Promise<PermissionStatus>\n```\n\nonly for android\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n--------------------\n\n\n### openSetting()\n\n```typescript\nopenSetting() => Promise<void>\n```\n\nopen app setting, only for android\n\n--------------------\n\n\n### addListener('downloadProgress', ...)\n\n```typescript\naddListener(eventName: 'downloadProgress', listenerFunc: (progress: FileDownloadProgress) => void) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\n| Param              | Type                                                                                         |\n| ------------------ | -------------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'downloadProgress'</code>                                                              |\n| **`listenerFunc`** | <code>(progress: <a href=\"#filedownloadprogress\">FileDownloadProgress</a>) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### FileDownloadResponse\n\n| Prop       | Type                |\n| ---------- | ------------------- |\n| **`path`** | <code>string</code> |\n\n\n#### FileDownloadOptions\n\n| Prop                      | Type                                                             | Description                                                                          | Default                                                              |\n| ------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------- |\n| **`url`**                 | <code>string</code>                                              |                                                                                      |                                                                      |\n| **`fileName`**            | <code>string</code>                                              |                                                                                      |                                                                      |\n| **`destination`**         | <code><a href=\"#destination\">Destination</a></code>              | Download file destination                                                            | <code>ios default: Document android default: External Storage</code> |\n| **`headers`**             | <code><a href=\"#record\">Record</a>&lt;string, string&gt;</code>  | request headers, when headers has value, url must be a http request with POST method |                                                                      |\n| **`body`**                | <code><a href=\"#record\">Record</a>&lt;string, unknown&gt;</code> | request body, when body has value, url must be a http request width POST method      |                                                                      |\n| **`downloadTitle`**       | <code>string</code>                                              | Downloader Title， Only Android                                                       |                                                                      |\n| **`downloadDescription`** | <code>string</code>                                              | Downloader Description， Only Android                                                 |                                                                      |\n\n\n#### CancelStatus\n\n| Prop             | Type                 |\n| ---------------- | -------------------- |\n| **`isCanceled`** | <code>boolean</code> |\n\n\n#### PermissionStatus\n\n| Prop          | Type                                                        | Description                                                                  |\n| ------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------- |\n| **`storage`** | <code><a href=\"#permissionstate\">PermissionState</a></code> | prompt: 首次申请，询问。 prompt-with-rationale： 每次都询问。 granted： 已获取权限。 denied：权限已拒绝。 |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### FileDownloadProgress\n\n| Prop           | Type                |\n| -------------- | ------------------- |\n| **`progress`** | <code>number</code> |\n\n\n### Type Aliases\n\n\n#### Destination\n\ndownload destination , on android default is \"DOWNLOAD\", on ios default is \"DOCUMENT\"\n\n<code>\"DOCUMENT\" | \"EXTERNAL\" | \"EXTERNAL_STORAGE\" | \"DATA\" | \"CACHE\" | \"LIBRARY\"</code>\n\n\n#### Record\n\nConstruct a type with a set of properties K of type T\n\n<code>{\r [P in K]: T;\r }</code>\n\n\n#### PermissionState\n\n<code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>\n\n</docgen-api>","users":{}}