From b65946b1a8e11fc8a950eb39d00fbea1107256f3 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Wed, 4 Apr 2018 17:42:30 +0200 Subject: [PATCH] feat(plugin): add Microdoft App Center Analytics plugin --- .../plugins/app-center-analytics/index.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/@ionic-native/plugins/app-center-analytics/index.ts b/src/@ionic-native/plugins/app-center-analytics/index.ts index 3d20c5e61..ae48795d5 100644 --- a/src/@ionic-native/plugins/app-center-analytics/index.ts +++ b/src/@ionic-native/plugins/app-center-analytics/index.ts @@ -45,7 +45,9 @@ export interface StringMap { @Injectable() export class AppCenterAnalytics extends IonicNativePlugin { /** - * Tracks an custom event + * Tracks an custom event. + * You can send up to 200 distinct event names. Also, there is a maximum limit of 256 characters per event name + * and 64 characters per event property name and event property value. * @param {string} eventName Event name * @param {StringMap} properties Event properties * @returns {Promise} @@ -56,7 +58,7 @@ export class AppCenterAnalytics extends IonicNativePlugin { } /** - * Returns true if anayltics are enabled and false if not + * Check if App Center Analytics is enabled * @returns {Promise} */ @Cordova() @@ -65,12 +67,12 @@ export class AppCenterAnalytics extends IonicNativePlugin { } /** - * Enables or disables analytics - * @param {boolean} value Set value + * Enable or disable App Center Analytics at runtime + * @param {boolean} shouldEnable Set value * @returns {Promise} */ @Cordova() - setEnabled(value: boolean): Promise { + setEnabled(shouldEnable: boolean): Promise { return; } }