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 = false
IBGNetworkLogger.enabled = NO;
//Disable
Instabug {
APM {
networkInterceptingEnabled false
}
}
//Enable
Instabug {
APM {
networkInterceptingEnabled true
}
}
// Enable
APM.setNetworkEnabledIOS(true)
// Disable
APM.setNetworkEnabledIOS(false)
Instabug {
APM {
networkInterceptingEnabled false
}
}