@aws-amplify/analytics
Version:
Analytics category of aws-amplify
13 lines (10 loc) • 391 B
text/typescript
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { enableAnalytics } from '../utils';
/**
* Enables the Analytics category to permit the transmission of events.
*
* @note
* Analytics is enabled by default. You do not need to call this API unless you have disabled Analytics.
*/
export const enable = enableAnalytics;