@capgo/capacitor-appinsights 8.0.47 → 8.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -20,8 +20,8 @@ Integrate the Apptopia AppInsights SDK in your Capacitor app with a small TypeSc
|
|
|
20
20
|
- **Initialize**: `init()` starts the AppInsights SDK with your partner ID.
|
|
21
21
|
- **User ID**: `setUserId()` sets or updates the user ID after initialization.
|
|
22
22
|
- **State**: `getState()` returns the current SDK state.
|
|
23
|
-
- **Official SDK**: wraps the `com.appinsights:appinsights` Android library.
|
|
24
|
-
- **Platforms**: Android.
|
|
23
|
+
- **Official SDK**: wraps the `com.appinsights:appinsights` Android library. `getPluginVersion()` also works on iOS, and on web it returns `web` instead of a version number.
|
|
24
|
+
- **Platforms**: Android. The AppInsights SDK methods (`init()`, `setUserId()` and `getState()`) are Android only and reject on iOS and web.
|
|
25
25
|
|
|
26
26
|
## Why Capacitor AppInsights?
|
|
27
27
|
|
|
@@ -7,7 +7,7 @@ import Capacitor
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(CapacitorAppInsightsPlugin)
|
|
9
9
|
public class CapacitorAppInsightsPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
10
|
-
private let pluginVersion: String = "8.0.
|
|
10
|
+
private let pluginVersion: String = "8.0.48"
|
|
11
11
|
public let identifier = "CapacitorAppInsightsPlugin"
|
|
12
12
|
public let jsName = "CapacitorAppInsights"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED