I have downloaded the Admob test example from https://github.com/firebase/quickstart- ... ob/testapp.
The example displays the ads perfectly fine.
However, while trying to implement the ads with Irrlicht, it doesn't seem to want to work.
The moment I switch from using the example's AppDelegate class to Irrlicht's CIrrDelegateiOS class, I get the error
Code: Select all
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
I think the problem is that I am using the wrong view (window context) when implementing a banner.
For example,
Code: Select all
banner->Initialize(getIrrlichtView(), kBannerAdUnit, banner_ad_size);
If anyone could help me figure out what view to use, or if that's even the issue, I would be forever thankful. This has been bothering me for the past few days.
I've put together an example project if anyone wants the source.