I’ve been manually unminifying the code (XPMolbileSDK.library.js) in previous releases and removing console logs where I can appropriately do so. I’m updating now to the 2019 R2 and I thought to ask if it was possible to suppress console logs without that level of effort?
Hello @Hunter Adams . Thank you for reaching out with this case. I have created a ticket for the next release to make logging turn on/off by a parameter on the mobile SDK. For now you can use a simple hack to overwrite the console.log function bu opening the XPMobileSDK.js file and add this line on the top of the file:
console.log = function () { };
Please be advised that you will not be able to log anything on the console anymore.
I hope this will help you.
Awesome, thank you for putting in that ticket! Really appreciate it, that will be a nice configuration to have available when delivering a product utilizing the library.