setAnalyticsEnabled

Enables or disables analytics in the native MobilePush SDK.

MCCordovaPlugin.setAnalyticsEnabled(enabled, [successCallback], [errorCallback])

Static method of MCCordovaPlugin.

ParameterTypeDescription
enabledbooleanWhether to enable analytics
successCallbackfunction
errorCallbackfunction