Debugging: You can control the amount of log messages that show up from the Mobile Center SDK. Use the
setLogLevelAPI to enable additional logging while debugging. By default, it is set to
MSLogLevelAssertfor App Store environment,
Get Install Identifier: The Mobile Center SDK creates a UUID for each device once the app is installed. This identifier remains the same for a device when the app is updated and a new one is generated only when the app is re-installed. The following API is useful for debugging purposes.
NSUUID *installId = [MSMobileCenter installId];
var installId = MSMobileCenter.installId()
Enable/Disable the Mobile Center SDK: If you want the Mobile Center SDK to be disabled completely, use the
setEnabledAPI. When disabled, the SDK will not forward any information to Mobile Center.