logSdkState

Instructs the native SDK to log the SDK state to the native logging system (Logcat for Android and Xcode or Console for iOS). If you contact Salesforce Support for help, you must provide a copy of the SDK state logs.

This method is available in MobilePush SDK version 6.3.1 and later.

MCCordovaPlugin.logSdkState([successCallback], [errorCallback])

Static method of MCCordovaPlugin.

ParameterTypeDescription
successCallbackfunction
errorCallbackfunction