setAnalyticsEnabled
Enables or disables analytics in the native MobilePush SDK.
MCCordovaPlugin.setAnalyticsEnabled(enabled, [successCallback], [errorCallback])
Static method of MCCordovaPlugin.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Whether to enable analytics |
successCallback | function | |
errorCallback | function |