Network monitoring works out of the box. You can enable or disable it using the following APIs and passing a boolean to it.
NetworkLogger.enabled = falseLCQNetworkLogger.enabled = NO;//Disable
Luciq {
APM {
networkInterceptingEnabled false
}
}
//Enable
Luciq {
APM {
networkInterceptingEnabled true
}
}// Enable
APM.setNetworkEnabledIOS(true)
// Disable
APM.setNetworkEnabledIOS(false)Luciq {
APM {
networkInterceptingEnabled false
}
}