From 0a0f078dcc5bd96e033d3ce59fe7f69bc866c061 Mon Sep 17 00:00:00 2001 From: John Borges Date: Tue, 14 Sep 2021 10:53:29 -0400 Subject: [PATCH] docs(analytics): docgen and update changelog --- appcenter-analytics/CHANGELOG.md | 4 ++++ appcenter-analytics/README.md | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/appcenter-analytics/CHANGELOG.md b/appcenter-analytics/CHANGELOG.md index c3aa9ff..b6eb2c6 100644 --- a/appcenter-analytics/CHANGELOG.md +++ b/appcenter-analytics/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.3.0 + +* add support for Android + ## 0.2.1 * Update `Appcenter/Analytics` to 4.2.0 diff --git a/appcenter-analytics/README.md b/appcenter-analytics/README.md index 5db0e6d..b77831f 100644 --- a/appcenter-analytics/README.md +++ b/appcenter-analytics/README.md @@ -40,7 +40,7 @@ Once you add App Center Analytics to your app and the SDK is started, it will au -* [`enable(...)`](#enable) +* [`setEnabled(...)`](#setenabled) * [`isEnabled()`](#isenabled) * [`pause()`](#pause) * [`resume()`](#resume) @@ -52,19 +52,19 @@ Once you add App Center Analytics to your app and the SDK is started, it will au -### enable(...) +### setEnabled(...) ```typescript -enable(options: { enableFlag: boolean; }) => Promise +setEnabled(options: { enable: boolean; }) => Promise ``` You can enable and disable App Center Analytics at runtime. If you disable it, the SDK won't collect any more analytics information for the app. -| Param | Type | -| ------------- | ------------------------------------- | -| **`options`** | { enableFlag: boolean; } | +| Param | Type | +| ------------- | --------------------------------- | +| **`options`** | { enable: boolean; } | -**Since:** 0.1.0 +**Since:** 0.3.0 --------------------