# cordova-plugin-camaa-xcframework

> CAMAA Cordova library plugin with xcframework support.

Latest version **25.7.2** (published 2025-07-17) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-camaa-xcframework
pnpm add cordova-plugin-camaa-xcframework
yarn add cordova-plugin-camaa-xcframework
bun add cordova-plugin-camaa-xcframework
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 25.7.2 |
| Published | 2025-07-17 |
| First published | 2022-04-20 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 34.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | CA Technologies |
| Maintainers | ca-apm |
| Keywords | CAMAA Cordova plugin, CA Mobile App Analytics, Broadcom, ecosystem:cordova, cordova-ios, cordova-android |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-camaa-xcframework
- Repository: https://github.com/CA-Application-Performance-Management/CAMobileAppAnalytics.git#axa-cordova-plugin-xcframework
- Homepage: https://github.com/CA-Application-Performance-Management/CAMobileAppAnalytics/tree/axa-cordova-plugin-xcframework#readme
- Issues: https://github.com/CA-Application-Performance-Management/CAMobileAppAnalytics/issues
- npm.io page: https://npm.io/package/cordova-plugin-camaa-xcframework

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 25.7.2 (latest) — 2025-07-17
- 24.7.3-beta.1.1 (beta) — 2024-07-11
- 25.7.1 — 2025-06-13
- 25.4.1 — 2025-04-07
- 25.2.1 — 2025-01-17
- 25.1.1 — 2024-11-28
- 24.11.3 — 2024-11-06
- 24.11.2 — 2024-10-28
- 24.11.1 — 2024-10-25
- 24.9.1 — 2024-09-03
- 24.7.4 — 2024-07-15
- 24.7.2 — 2024-07-09
- 24.7.1 — 2024-06-21
- 24.5.1 — 2024-05-09
- 24.1.2 — 2024-04-01
- … 13 more at https://npm.io/package/cordova-plugin-camaa-xcframework/versions

## README

# CAMAA Cordova Plugin

CAMAA cordova plugin is for App Experience Analytics that provides deep insights into the performance, user experience, crash, and log analytics of apps.


## Get Started
[DX App Experience Analytics](https://www.broadcom.com/info/aiops/app-analytics)

Check out our [documentation](https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/app-experience-analytics-saas/SaaS/reference/data-collected-by-ca-app-experience-analytics-sdk.html) for more information about the features that the App Experience Analytics SDK collects from your app.

## Supported platforms
* iOS
* Android
* Add the following permissions to your application `Info.plist`, if not already present.
    ```
    <key>NSLocationWhenInUseUsageDescription</key>
        <string>This allows us to track and gather analytic data for improving the app experience.</string>
    <key>NSLocationAlwaysUsageDescription</key>
        <string>This allows us to track and gather analytic data for improving the app experience.</string>
    <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
        <string>This allows us to track and gather analytic data for improving the app experience.</string>
    ```
## Requirements
1. iOS 9.0 or higher
2. Xcode 12.0 or higher

## Integration (iOS)
Follow these steps to integrate the `camaa cordova plugin` in your project
1. Run the following command from your Cordova project directory
```
cordova plugin add cordova-plugin-camaa-xcframework
```
2. Download `xxx_camdo.plist` and rename it to `cordova_camdo.plist`. You should replace this with existing file in your project after you installed the `camaa cordova plugin`.


---
---
### Useful Tips (iOS)
  ##### SDK API

- AXALoader.js contains all of the javascript API calls which trigger the corresponding method in CAMDOReporter.h(however it goes through CAMAAInitializer.m)
- AXALoader.js has a tiny interface which tells you the expected types for the parameters
- For a full description of the function and what it does see CAMDOReporter.h and search for the function name
-  access API via **window.camaa**  Ex :
  ```js
window.camaa.isSDKEnabled((didSucceed)=>{
    var result = didSucceed ? "is enabled!" : "is disabled!";
    console.log("The SDK " + result); // is enabled or disabled
},(didFail)=>{
    // Note for functions there is type checking which should send descriptive error messages on failure
    // but for other cases there will not always be a description of the error
    console.log("The function failed with description : " + didFail);
});
// If confused It is always best to consult CAMAAInitializer.m
  // to see the actual implementation
  ```

---
---
### Todos

 - Write more Tests
 - Add android support
 - Make error reporting more descriptive

---
_Source: https://npm.io/package/cordova-plugin-camaa-xcframework · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
