Facing problem while getting Network & Security Logs for profile owner app.
The project I am working on is a Profile Owner Application. I want to get the Network logs. I have successfully enabled the NetworkLogging and checked the Network logging enable status by isNetworkLoggingEnabled() and setNetworkLoggingEnabled() methods.
Now I want to get the network logs using the retrieveNetworkLogs() method. which requires the parameter "batchToken : Long."
I have tried several ways to get the batchToken but have failed to get it. Now, I want your kind opinion on how to get the batchToken value and solve this problem by calling the retrieveNetworkLogs() method.
Thank you for your time.