But I get this error in the didFailToReceiveAdWithError delegate function:
Error Domain=com.google.admob Code=2 "SDK tried to perform a networking task before being initialized." UserInfo={NSLocalizedDescription=SDK tried to perform a networking task before being initialized., gad_response_info= ** Response Info **
Response ID: (null)
** Loaded Adapter Response **
(null)
** Extras Dictionary **
{
}
** Mediation line items **
}
The Google SDK is now in the Core module, which is imported into many of our main modules. We also have feature modules that imports Core module. So those feature modules can have access to the GAM SDK code.
The issue didn't raised when the GAM is not in the Core Module. It started showing this error when we moved it in our Core Module.
Im using the SDK (11.0.0) via Cocoapods.