{"_id":"@bazumax/native-audio","_rev":"4-9b420a754a889838b6e1bf050ee14560","name":"@bazumax/native-audio","dist-tags":{"latest":"3.0.0"},"versions":{"0.2.0":{"name":"@bazumax/native-audio","version":"0.2.0","description":"A native plugin for native audio engine","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","prepare":"npm run build","npm-publish":"np"},"author":{"name":"Priyank Patel","email":"priyank.patel@stackspace.ca"},"license":"MIT","dependencies":{"@capacitor/core":"^3.0.0-beta.6"},"devDependencies":{"@capacitor/android":"^3.0.0-beta.6","@capacitor/ios":"^3.0.0-beta.6","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"https://github.com/capacitor-community/native-audio"},"bugs":{"url":"https://github.com/capacitor-community/native-audio/issues"},"licenseText":"MIT License\n\nCopyright (c) COPYRIGHT_YEAR COPYRIGHT_HOLDER\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@bazumax/native-audio@0.2.0","dist":{"shasum":"34fb7b4eea73bbdc364b093f23406980068364b8","integrity":"sha512-EA7pArmi+2oBgfrd6np0lbZ7vOSVMvEi41i50nKl2mxtAWKUolu3p77BSRAP/5ExL2c0ZUBQ77hffGkDqVR05A==","tarball":"https://registry.npmjs.org/@bazumax/native-audio/-/native-audio-0.2.0.tgz","fileCount":410,"unpackedSize":2076079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR7HPCRA9TVsSAnZWagAAwY4P/RGx++DL2FXz9gn9ss4g\nPCBUGarqcF0UUVd6F0npApy/FN0tIIHBd6gyTVXdHvrA9huCa6JRT7/JFmqp\nL9wu6f92W7oyYAinP47gYihkIlXPe5w0+PrkD8vACYW4zdGNj+HvTKQeaQxJ\nUqZa8Dg7oJ9UpFqSUjzZ+2/iz5KBlVn/GpHi5ejFHGd7v+Lyk6mVzCoqmRc+\n7mHFJQ6Xjttl2to6FEhO6PFbJNLTj/qDmuB3PdcbaGEn3U+TaksL7aDF89XD\nhMUJ3PACnFPihMWxVYQM7zYw7BVSJs0HfyqynOhM5PNYll3Aov5i9r10h13m\n9AA2bO8bVnhcpprwiIUPqVkoayFfmixWUUQcB0CsT+FURzdKgQN+ljuWmzyi\ngXE5JcOAKNTaMPdVVaixsKStk9iEzZyKQGfoKSufA3OCIUTyOw4pTvi1eOMR\n7R6AIISfGClgXJ4brhrHmt65bAT8jpMzT1zqUCzpetY2jA/qkV95DCPk4+Es\nHFg2ueoA+fAyH+N3ElO3O4NsFl28kWkRai/dtUZZvMvBKhsr9y6SdddgRlOc\nHzcyEkehalsOsE828PGE71T/fEI6JGabWhBHrnc9ygBMlvTcjLaGX9U6caFL\n3KMHKNOsQ0BofQBSF/3g15zBhD1CRd3TyA3kRKtATk2ku6gSnddnrktUZ/zy\nlxIo\r\n=Uc60\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZSAqmYaWUHI6NmXU730ccgdDbW5oRQqZIOK//tTJIawIhAKpIdH/He7zWplyfbRUqbG0sBdKMf3RwoMMh4tBw56vU"}]},"_npmUser":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"directories":{},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-audio_0.2.0_1615311310632_0.8686321450990218"},"_hasShrinkwrap":false},"0.2.1":{"name":"@bazumax/native-audio","version":"0.2.1","description":"A native plugin for native audio engine","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","prepare":"npm run build","npm-publish":"np"},"author":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"license":"MIT","dependencies":{"@capacitor/core":"^3.0.0-beta.6"},"devDependencies":{"@capacitor/android":"^3.0.0-beta.6","@capacitor/ios":"^3.0.0-beta.6","husky":"^4.2.5","np":"^6.2.4","prettier":"^2.0.5","prettier-plugin-java":"^0.8.0","pretty-quick":"^2.0.1","rimraf":"^3.0.2","typescript":"^3.9.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"https://github.com/bazuka5801/native-audio"},"bugs":{"url":"https://github.com/bazuka5801/native-audio/issues"},"licenseText":"MIT License\n\nCopyright (c) COPYRIGHT_YEAR COPYRIGHT_HOLDER\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@bazumax/native-audio@0.2.1","dist":{"shasum":"31a36052c019698d460e3b5f97a2b825811187e3","integrity":"sha512-FP9hOSmP5URZ55bo9OwGcdhKUcn9SB4jVQMkPI5Hn/zfPaM6+CsQHXIM4S9CuDn7nl0mcHaqoLVWIGz0p+EYUA==","tarball":"https://registry.npmjs.org/@bazumax/native-audio/-/native-audio-0.2.1.tgz","fileCount":410,"unpackedSize":2076009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR7JvCRA9TVsSAnZWagAAVWQP/jSTu6vKRbsRN/fkKedB\nukaJ7Y3Y87uQon6SBU8POsUzlvZc2UGGx+I089IfON/476TSYAqjTIE6fezI\n1Pmf5vDyOW4hGPWiS41KSpXhx2AS9e578LDELbJ34i3Y01NxcNgw5Ri+VTfR\ntNeLfmgxM70YJc4inCwHZe0SX9Y9NjJmpy8zwH7ecGm3bdKUcf64ySns1t8C\n1T495I/3f6YI4bspgHVdPkdupwOT5V9gNx/5wWwGYWHqH4e0nDlZ9F3zRc+4\nuXG4jeypU2QEMwmJHjrGnnej0x9b3bky4NXiZ1okTAh0YLXzG5JiGjhyR+ri\n09JJUcMFtTZESRfxOjEHSITpiC0ScE4naIbYLGVXDxVqzuDAiEH7+xPUJ5oa\nLLSoLkrAOwwU/U3Zj9yzhOp+5st2ngCFwFYSP7MS/7AYszeYBBI+f3WWxSVQ\nGAx/Uzmb8vOgz6C9LCNQig8DsjxK4d5fVCRYeBZy+4PcdyfrgUADarPNc88G\nnSeeBbO2n99NDQ3qbeLeUwkMXbFgryTPT5T4VhF0/HY2aB0EqzChnBDuwXBA\njLRVgfyMHZ1Mv+zdoyYqVZOm4KQBJDUEMJYpOOGDiGVzHrT9vrer5CyEx8jk\nQc4Pkie+Vv6bs3PJDFEjGdXoIbyNgT8BxOXF9LvsZ1UHeZN8fI/XJMTogOc/\negaw\r\n=6Hm5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDje04jGltGyqqthAcwzQFk1cZgvMF2YC2ZK3suZLMStwIhAIjlFojUQLdq0f1Mn9j28OXXP7R+pVKdM3ENpf2BUVX3"}]},"_npmUser":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"directories":{},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-audio_0.2.1_1615311470627_0.37546572032082803"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"@bazumax/native-audio","version":"3.0.0-beta.1","description":"A native plugin for native audio engine","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","scripts":{"build":"npm run clean && tsc","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","prepare":"husky install"},"author":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"license":"MIT","dependencies":{"@capacitor/core":"^3.0.0-rc.0"},"devDependencies":{"@capacitor/android":"^3.0.0-rc.0","@capacitor/ios":"^3.0.0-rc.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"~1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","husky":"^5.1.3","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.0","rollup":"^2.29.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","audio","media","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"repository":{"type":"git","url":"https://github.com/bazuka5801/native-audio"},"bugs":{"url":"https://github.com/bazuka5801/native-audio/issues"},"publishConfig":{"access":"public"},"licenseText":"MIT License\n\nCopyright (c) COPYRIGHT_YEAR COPYRIGHT_HOLDER\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@bazumax/native-audio@3.0.0-beta.1","dist":{"shasum":"9836ebbe70be99f542654f42967271f9712377dc","integrity":"sha512-DR9+sKb3rCSjqjJm05BnJ08lBCZC/EeoRz/TOgx7gBT948XPrnUIOLFaKm548OIdNhcsdEljebOh0AZvMii5Dw==","tarball":"https://registry.npmjs.org/@bazumax/native-audio/-/native-audio-3.0.0-beta.1.tgz","fileCount":45,"unpackedSize":54059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSRG1CRA9TVsSAnZWagAA314P/jJZpnNfBk6Jkv88AXXN\nb4CpFsdfg9qIhnWwt+YWpDZJhEqLIIN1RlO9mvvZo10XsiBqTGnxm1CkRIp3\n9kKwj/8yMYuzbsNLLzJuIvVanOsWnOwwx0zqgK2lwfJ2NPSRPSmJYfXDnWKq\ne0gdNdQi4wIhPtqpv8GPctFFE7pKj63PVfBKZSTYjUx9whD6akH7NNckXR0U\nPOOI+FVrCinrRJEEPRUUCJEbKueKwNfVpBw9Ysh+oYv0AsRJeQcFDiJ7JCzX\nQ9PNoIjIdqtQ9Kyt1+gl9T3YGlD6fDAVVmXV7QArOO5DyTJNw0LgyH5s73sf\nv1EQpvJbrQ7GouJtNjGUZTzVzIyWjBH4Yb2X86Y5cVuGJNEbAwxIZkzAEjc2\ngz8wW571lqc+S/FMPpwKORzqfdR0ibgvO2TedcoT6c63P17r0LAnPZKBuzKY\nMdoq25ggPtjDilU0SbU2GzPN+Rl9L5Qoso66PGV3MBxuVyh9sraYPLbliDGk\nEjpDAsSaGHWDp5w5YFaoJyCYb4YEboycbqPf/iQE3PQmxmRNPt/iQ9oKvwbn\nL7kw0yh2ovhQLgh6ersI7rdNVDG+LRBN+XIKcqdNkPe0Sp5njpdS/FwgMJEv\nfh9X+hoWLHtv8zFZcSvZkkJwxjlR0jK8J/vN3IRvQ+rzAjBBsQQW2frs8UJb\ndYYf\r\n=3mTD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB7f7faoeud1+SC1L2VtMN/i/g9dJY/wQ126Z71n2CZwIhALYexNaNoBB/l1wmIxE7d5PkV46+WsWOEDiaumZ994ck"}]},"_npmUser":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"directories":{},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-audio_3.0.0-beta.1_1615401397092_0.6458053720093622"},"_hasShrinkwrap":false},"3.0.0":{"name":"@bazumax/native-audio","version":"3.0.0","description":"A native plugin for native audio engine","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","prepare":"husky install"},"author":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"license":"MIT","dependencies":{"@capacitor/core":"^3.0.0-rc.0"},"devDependencies":{"@capacitor/android":"^3.0.0-rc.0","@capacitor/ios":"^3.0.0-rc.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"~1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","husky":"^5.1.3","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.0","rollup":"^2.29.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"keywords":["capacitor","plugin","audio","media","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"repository":{"type":"git","url":"https://github.com/bazuka5801/native-audio"},"bugs":{"url":"https://github.com/bazuka5801/native-audio/issues"},"publishConfig":{"access":"public"},"licenseText":"MIT License\n\nCopyright (c) COPYRIGHT_YEAR COPYRIGHT_HOLDER\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@bazumax/native-audio@3.0.0","dist":{"shasum":"32493478549cf6cf78a6c7b0098ed27269a7c3d5","integrity":"sha512-DnpadA+clo2sshgxJE/zxEqQsMXVkwek3Ra1igm7BO3by8usf4mW/uX90mUA+tJsByfLEep8Los6zMPrmKmtYQ==","tarball":"https://registry.npmjs.org/@bazumax/native-audio/-/native-audio-3.0.0.tgz","fileCount":49,"unpackedSize":65528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSSryCRA9TVsSAnZWagAAsGIP/1EndzJvO1Hl9hnTyccl\nHGyDZ8pheYEarT+7CNnLs25gnPHukRJDkubAJdzLTlQlieVpiL5jokTNGQOB\ndHCBa6nAaNW53u2lp8+y0VTB02pDscsBlI/aMEeXqPCIEx/lRcauUwdFSPb4\nK1/0mY/a9/Vm+watox181HOJEBHONkvfWPSmLh2r8B8kY5dbyHMFpqS7ebhe\ndqV9W2EWHLLocYtSXl2cg0m0m8FH8iJgjn2FYWHi67FelbPpwTato2WMbdSt\n46jlcynqg8j8zrnGkguhrtwwg/6n4k7AIqvsYMTxj38MG/0AhyfZC3ep4DI0\nbs/8/Yve2maeqcjs+hr68FBEerRcs7kB2b3SuB9MUXM8akGlBrahg/onSi0p\nHMmGvD8PrfEMUJvLPzlSKGoKNDpCdvJgxb4pZjSyn+fBKD+EUzb2pHM3Dm0R\nv57lNt4+fzdE5b9BsoTr5m97MHbyVppX49jLZRPg6MMjVGTWnn/I7k9/hxrv\neocqjoEymvsCmuh2JF0Qt5x6YNski+UPfRWp/pwg8rhkNTSKZI72jZWmXYvE\nmK6SpqmoxicEMB9spD6kNjqHGo5cKnRYk9WzYMrALNI+cR2NUGnx3rlk0fxQ\nsV5TtHRn0mKI1NIhloquZyp4BjEzpVVrn5TpKZf4DbEJSeHFp5OmEyH+yVFx\nBdFa\r\n=wZq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHo2gyK27KTa+Onf7ADyXx53kzO3VrvVqzv8ezPWB4p2AiA3ctK2YM9AgkWciVZ2bdaRmYvQ1FmJeC/geKR79NUf1w=="}]},"_npmUser":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"directories":{},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-audio_3.0.0_1615407857972_0.6837977199012282"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-09T17:35:10.392Z","0.2.0":"2021-03-09T17:35:10.792Z","modified":"2022-04-04T17:50:10.574Z","0.2.1":"2021-03-09T17:37:50.862Z","3.0.0-beta.1":"2021-03-10T18:36:37.228Z","3.0.0":"2021-03-10T20:24:18.238Z"},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"description":"A native plugin for native audio engine","keywords":["capacitor","plugin","audio","media","native"],"repository":{"type":"git","url":"https://github.com/bazuka5801/native-audio"},"author":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"bugs":{"url":"https://github.com/bazuka5801/native-audio/issues"},"license":"MIT","readme":"# Capacitor Native Audio Plugin\n\nCapacitory community plugin for native audio engine.\n\n## Maintainers\n\n| Maintainer    | GitHub                                      | Social                     | Sponsoring Company |\n| ------------- | ------------------------------------------- | -------------------------- | ------------------ |\n| Priyank Patel | [priyankpat](https://github.com/priyankpat) | [N/A](https://twitter.com) | Ionic              |\n\nMainteinance Status: Actively Maintained\n\n## Installation\n\nTo use npm\n\n```bash\nnpm install @capacitor-community/native-audio\n```\n\nTo use yarn\n\n```bash\nyarn add @capacitor-community/native-audio\n```\n\nSync native files\n\n```bash\nnpx cap sync\n```\n\nOn iOS, no further steps are needed.\n\nOn Android, register the plugin in your main activity:\n\n```java\nimport com.getcapacitor.community.firebasecrashlytics.FirebaseCrashlytics;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList<Class<? extends Plugin>>() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(FirebaseCrashlytics.class);\n          }\n        }\n      );\n  }\n}\n```\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Supported methods\n\n| Name           | Android | iOS | Web |\n| :------------- | :------ | :-- | :-- |\n| configure      | ✅      | ✅  | ❌  |\n| preloadSimple  | ✅      | ✅  | ❌  |\n| preloadComplex | ✅      | ✅  | ❌  |\n| play           | ✅      | ✅  | ❌  |\n| loop           | ✅      | ✅  | ❌  |\n| stop           | ✅      | ✅  | ❌  |\n| unload         | ✅      | ✅  | ❌  |\n| setVolume      | ✅      | ✅  | ❌  |\n| getDuration    | ❌      | ✅  | ❌  |\n| getCurrentTime | ❌      | ✅  | ❌  |\n\n## Usage\n\n```typescript\n\nimport { Plugins } from '@capacitor/core';\n\nconst { NativeAudio } = Plugins;\n\n/**\n * This method will throw an exception triggering crashlytics to log the event.\n * @param none\n * @returns void\n */\nNativeAudio.configure({\n  fade: '',\n});\n\n/**\n * This method will load short duration audio file into memory.\n * @param assetPath - relative path of the file or absolute url (http://)\n *        assetId - unique identifier of the file\n * @returns void\n */\nNativeAudio.preloadSimple({\n  assetPath: 'audio/chime.mp3',\n  assetId: 'chime_audio',\n});\n\n/**\n * This method will load more optimized audio files for background into memory.\n * @param assetPath - relative path of the file or absolute url (file://)\n *        assetId - unique identifier of the file\n *        volume - numerical value of the volume between 0.1 - 1.0\n *        audioChannelNum - number of audio channels\n *        isUrl - pass true if assetPath is a `file://` url\n * @returns void\n */\nNativeAudio.preloadComplex({\n  assetPath: 'audio/inception.mp3',\n  assetId: 'inception_audio',\n  volume: 1.0,\n  audioChannelNum: 1,\n  isUrl: false\n});\n\n/**\n * This method will play the loaded audio file if present in the memory.\n * @param assetId - identifier of the asset\n * @returns void\n */\nNativeAudio.play({\n  assetId: 'chime_audio',\n});\n\n/**\n * This method will loop the audio file for playback.\n * @param assetId - identifier of the asset\n * @returns void\n */\nNativeAudio.loop({\n  assetId: 'chime_audio',\n});\n\n\n/**\n * This method will stop the audio file if it's currently playing.\n * @param assetId - identifier of the asset\n * @returns void\n */\nNativeAudio.stop({\n  assetId: 'chime_audio',\n});\n\n/**\n * This method will unload the audio file from the memory.\n * @param assetId - identifier of the asset\n * @returns void\n */\nNativeAudio.unload({\n  assetId: 'chime_audio',\n});\n\n/**\n * This method will set the new volume for a audio file.\n * @param assetId - identifier of the asset\n *        volume - numerical value of the volume between 0.1 - 1.0\n * @returns void\n */\nNativeAudio.setVolume({\n  assetId: 'inception_audio',\n  volume: 0.4,\n});\n\n/**\n * this method will get the duration of an audio file.\n * only works if channels == 1\n */\nNativeAudio.getDuration({\n  assetId: 'inception_audio'\n})\n.then(result => {\n  console.log(result.duration);\n})\n\n/**\n * this method will get the current time of a playing audio file.\n * only works if channels == 1\n */\nNativeAudio.getCurrentTime({\n  assetId: 'inception_audio'\n});\n.then(result => {\n  console.log(result.currentTime);\n})\n```\n","readmeFilename":"README.md"}