{"_id":"@cordova-plugin-agconnect/apm","_rev":"3-39367dbe4f25cd76d6332e599adc752d","name":"@cordova-plugin-agconnect/apm","dist-tags":{"latest":"1.4.0"},"versions":{"1.4.0-beta":{"name":"@cordova-plugin-agconnect/apm","description":"Cordova AGC APM Plugin","version":"1.4.0-beta","main":"./www/APMS.js","types":"./types/APMS.d.ts","repository":{"type":"git","url":"git+https://github.com/AppGalleryConnect/agc-cordova-plugin.git","directory":"cordova-plugin-agc-apm"},"bugs":{"url":"https://github.com/agc-Core/agc-cordova-plugin/issues"},"homepage":"https://developer.huawei.com/consumer/en/doc/overview/agc-Core-Plugin","license":"Apache-2.0","licenseFilename":"LICENCE","cordova":{"id":"cordova-plugin-agc-apm","platforms":["android","ios"]},"keywords":["cordova","ecosystem:cordova","cordova-android","cordova-ios","apm","agc-apm","huawei-apm","agc","huawei"],"dependencies":{"@types/cordova":"0.0.34"},"devDependencies":{"typescript":"^4.1.2"},"scripts":{"build:core":"tsc","build":"npm run build:core","watch":"tsc --watch"},"_id":"@cordova-plugin-agconnect/apm@1.4.0-beta","_nodeVersion":"13.5.0","_npmVersion":"6.14.9","dist":{"integrity":"sha512-Pe0YlFRxzXdhoyepl37KFUsEXi/6ZPoyBJ1ERWSWmY2QJlxQIZEmjpE/mZdKF+rlBtNt+Z4Ldm9IZFDrXoTNQQ==","shasum":"e2f42bea04f47fbb0a7e5ff13f9892f1e777e233","tarball":"https://registry.npmjs.org/@cordova-plugin-agconnect/apm/-/apm-1.4.0-beta.tgz","fileCount":65,"unpackedSize":396064,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFXYZw09VxCsAh4XGybJGdMnenqi0VDrva1fqFP8jRwQIhAJgZZ9Z+WfzkErmxnbfzFf7CMqYTDXfhfnnd02OJaRqr"}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apm_1.4.0-beta_1632706476617_0.13794115246838046"},"_hasShrinkwrap":false},"1.4.0":{"name":"@cordova-plugin-agconnect/apm","description":"Cordova AGC APM Plugin","version":"1.4.0","main":"./www/APMS.js","types":"./types/APMS.d.ts","repository":{"type":"git","url":"git+https://github.com/AppGalleryConnect/agc-cordova-plugin.git","directory":"cordova-plugin-agc-apm"},"bugs":{"url":"https://github.com/agc-Core/agc-cordova-plugin/issues"},"homepage":"https://developer.huawei.com/consumer/en/doc/overview/agc-Core-Plugin","license":"Apache-2.0","licenseFilename":"LICENCE","cordova":{"id":"cordova-plugin-agc-apm","platforms":["android","ios"]},"keywords":["cordova","ecosystem:cordova","cordova-android","cordova-ios","apm","agc-apm","huawei-apm","agc","huawei"],"dependencies":{"@types/cordova":"0.0.34"},"devDependencies":{"typescript":"^4.1.2"},"scripts":{"build:core":"tsc","build":"npm run build:core","watch":"tsc --watch"},"_id":"@cordova-plugin-agconnect/apm@1.4.0","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-PtEDz+W/BAd+mUK9L6NjwBKPqhidNN/oUIJ4KUewLjcma7sJQMYO5HEZnTqG1dtfwWCjqQzxpsRaNinMVFETMw==","shasum":"19bd3d04b28e8291c2b6e38f28fc54b54c05462e","tarball":"https://registry.npmjs.org/@cordova-plugin-agconnect/apm/-/apm-1.4.0.tgz","fileCount":65,"unpackedSize":396059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DZvCRA9TVsSAnZWagAAeEwQAKS/f7J3kuDYj35HbDn9\nRTIjRuuh+b43Ekge18Y+ylUo0bJZh/rJ6szkCPEXah5bzJzs6KXpJ45wrs7F\n4a6SkIUMHSZ/HhyO4PjLNHONuOfQAJ9bbyQgDcoc1kRxXutXLvCDprdhDpzc\n7dS95/jLjgRBlIir2jsmRxXrCleLDns56UfGjZVcv8vA2uxM5i6YPoS1dye7\n9MTlsWey9zOEYUxc1ByJwRuQw//3CoJ8brnM8yqe2A6JN6fnRkuBkwW1SrLo\n8s5jB/WgRpD9qB/9rWTq1iQPM1sW/BZ4kWfdS95CbV1um4W4zVwNir4+b8H0\n4OGh7QLLRd+GVyiw/+nU21UIO4cJR3PkBBHP9Q7vSACg7BSwv6yADkwZ9MnK\n5+dJp5yG6wLQm1pieONW881oYnF76QTvBn+Q9rtkUVIi6fP/NGPFTilSxyub\nMxqSqJ6C14bvxpVdHSXf6uSpTHtGAO7QvE3zeUzpWFGye+XhkzhdgaUbkyoS\nBtGe0GTpuzvSSJ9WgZAQ7eoteJq+fOKX8eKTzj9/NeZtkOKD2fbLVTidvhHI\nBqsRZhBtCF31lTRFFQSEXyPKrDjtNudsRjbBe/lXRayaV41s4w0vCs10jBFl\nIlDcJLIncF98qYgCjKQ6QPms4hiDXwcnxnfANaeuFxCjCoy6kb4MAdymCr3K\nAkUx\r\n=rJJ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqRbv0OMv/hkEt8RaEwOSUqfArMenulrRntH3hDQEUQAiBamyMXdwcbooWTiay6QdvV9IR0tKxGnnCN1nbCk2VwvQ=="}]},"_npmUser":{"name":"hwopencapability","email":"opencapability@huawei.com"},"directories":{},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apm_1.4.0_1636361800272_0.37277400057994226"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-27T01:34:36.543Z","1.4.0-beta":"2021-09-27T01:34:36.893Z","modified":"2022-04-05T01:21:29.333Z","1.4.0":"2021-11-08T08:56:40.670Z"},"maintainers":[{"name":"hwopencapability","email":"opencapability@huawei.com"}],"description":"Cordova AGC APM Plugin","homepage":"https://developer.huawei.com/consumer/en/doc/overview/agc-Core-Plugin","keywords":["cordova","ecosystem:cordova","cordova-android","cordova-ios","apm","agc-apm","huawei-apm","agc","huawei"],"repository":{"type":"git","url":"git+https://github.com/AppGalleryConnect/agc-cordova-plugin.git","directory":"cordova-plugin-agc-apm"},"bugs":{"url":"https://github.com/agc-Core/agc-cordova-plugin/issues"},"license":"Apache-2.0","readme":"# AppGallery Connect APM for Cordova\n\n## Introduction\nApp Performance Management (APM) of HUAWEI AppGallery Connect provides minute-level app performance monitoring capabilities. You can view and analyze app performance data collected by APM to comprehensively understand online performance of apps in real time, helping you quickly and accurately rectify app performance problems and continuously improve user experience.\n[Learn More](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-apm-introduction-0000001052247254)\n\n## Installing the Plug-in\nInstall AGC APM plugin to the project\n\n### Cordova\n\n`$ cordova plugin add @cordova-plugin-agconnect/apm --variable APMS_DEBUG_LOG_ENABLED=\"true\" --variable SESSIONS_SAMPLING_PERCENTAGE=\"1.0\" --variable COLLECT_CPU_FREQUENCY_FG_MS=\"100\" --variable COLLECT_MEMORY_FREQUENCY_FG_MS=\"100\" --save`\n\nFor more details, please refer to [Getting Started with Cordova](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-get-started-cordova)\n\n### Ionic\n\n`$ ionic cordova plugin add @cordova-plugin-agconnect/apm --variable APMS_DEBUG_LOG_ENABLED=\"true\" --variable SESSIONS_SAMPLING_PERCENTAGE=\"1.0\" --variable COLLECT_CPU_FREQUENCY_FG_MS=\"100\" --variable COLLECT_MEMORY_FREQUENCY_FG_MS=\"100\" --save`\n\nInstall `Ionic-Native AGC APM` to the project.\n\n`$ npm install @ionic-native/core @cordova-plugin-agconnect/ionic-native-agc-apm`\n\nFor more details, please refer to [Getting Started with Ionic](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-get-started-ionic)\n\n## Development Guide\n- [Usage](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-apm-cordova-usage-0000001106653402)\n- [Reference](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-References/cordova-apm-overview-0000001149210649)\n\n### Android App Development\n1. Open MainActivity.java class in your **Cordova-Android project**.\n2. Fields marked with red should be written in your **MainActivity.java** class.\n<img src=\".img/MainActivity_java.png\">\n\n## Development Environment\nYou are advised to use the plug-ins in an environment that meets the following requirements.\n\n| Software        | Allowed Version Range | Description  |\n| --------------- | --------------------- | ------------ |\n| cordova         | 9.0.0 or later        | Platform     |\n| cordova-android | >=8.1.0 or later      | Platform     |\n| cordova-ios     | 5.0.0 or later        | Platform     |\n| npm             | 6.4.1 or later        | Tool         |\n\n## 5. FAQs\n-\n\n##  License\n   APM Plug-in is licensed under the: [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).  \n\n","readmeFilename":"README.md"}