iosrevmob

RevMob and IOS integration


I'm trying to integrate Revmob's Ad Network to my project. I already made all the steps to integrate this as platform. But now I'm having some issues with the login.

Here is my code:

[RevMobAds startSessionWithAppID:@"APP_ID" andDelegate:self];
[RevMobAds session].testingMode = RevMobAdsTestingModeWithAds;
[[RevMobAds session] showFullscreen];

But the console only shows

[RevMob] Starting RevMobAds 
[RevMob] Warning: RevMob session was not started 
[RevMob] Warning: RevMob session was not started

Does anyone knows what might be happening here?


Solution

  • It may be possible that the RevMob session is not yet started when you are calling for an ad. Try moving the last line in your initial view controller's viewDidLoad method.