aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
09/27/12 08:03 AM (13 years ago)

RevMob & LeadBolt in iOS

After attempting to incorporate LeadBolt (unsuccessfully), I'm giving RevMob a try. The video tutorial makes it look so simple! http://sdk.revmob.com/ios Like LeadBolt, unfortunately, for me this is not the case. There's a great tutorial PDF written for the folks using Eclipse & RevMob. Any iOS users have easy tips/guide to incorporate either one? I really like their full-screen ad options & just want to get one working. After numerous errors, I removed the code entered for RevMob. I'd like to give it another go, just need to visually see how it is laid out in a BuzzTouch appDelegate .h & .m file. Any insight would be fantastic.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/27/12 08:54 AM (13 years ago)
In revmob scroll to the bottom of the iOS instructions and there is a link to a buzztouch tutorial. It is really simple to follow only 3 lines of code
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
09/27/12 09:12 AM (13 years ago)
aha!In the community section! Thank you so much! Just in case anyone wants to visit: https://github.com/revmob-sdk/revmob-buzztouch-sampleapp-ios Happy Thursday!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
09/27/12 09:48 AM (13 years ago)
If your still struggling follow the video but obviously no the part involving starting the app
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
09/27/12 11:31 AM (13 years ago)
hmm... The video & files don't seem to match up. The files include (in BT Config): RevMobAds.a RevMobAdsDelegate.h RefMobAdvertiser.h not sure if these should be copied over. I wanted to add it to an existing 1.5 ios project. I don't see where this code is added in the sample file: Example: Rev Mob Site (step 1): >> @interface AppDelegate : UIResponder <UIApplicationDelegate, RevMobAdsDelegate> Compared to the GitHub doc: @interface revmobiossampleapp_appDelegate : NSObject <UIApplicationDelegate, BT_downloadFileDelegate, UITabBarControllerDelegate, AVAudioPlayerDelegate, UIAlertViewDelegate>{ which one do you follow?
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
09/27/12 12:19 PM (13 years ago)
Have you downloaded the latest SDK? The newer SDK's simply have you add a RevMob framework to your project. For the delegate - use the GitHub example. That is exactly what it should look like in your app
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
09/27/12 12:37 PM (13 years ago)
Thanks Absentia, Yes, I have downloaded the new SDK; I'm still confused as to what files need to be copied from the GitHub example. It seems so simple, but definitely has me stumped.
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
09/27/12 12:57 PM (13 years ago)
It looks like the GitHub file outlines ways to use it with: RevMobAds.h RevMobAdsDelegate.h REvMobAdvertiser.h I just want a full screen ad when the app loads. I believe he's outlined it here, but I'm not sure if adding just the App ID and copying the files would make it work: >>#pragma mark Fullscreen /*! @function showFullscreenAdWithAppID: @param appID: You can collect your App ID at http://revmob.com by looking up your apps. @discussion Same as showFullscreenAdWithAppID:withDelegate: with delegate nil. */ + (void) showFullscreenAdWithAppID:(NSString *)appID; /*! @function showFullscreenAdWithAppID:withDelegate: @param appID: You can collect your App ID at http://revmob.com by looking up your apps. @param delegate: You can receive notifications when the Ad is or is not loaded, when the user click in the close button or in the Ad. @discussion Example of Usage: ** MyRevMobAdsDelegate.h #import <Foundation/Foundation.h> #import "RevMobAdsDelegate.h" @interface MyRevMobAdsDelegate : NSObject<RevMobAdsDelegate> @end
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
09/27/12 12:57 PM (13 years ago)
to get it going there's really just three steps 1. add #import <RevMobAds/RevMobAds.h> to your appdelegate.h 2. Add the RevMobAdsDelegate line as we already figured out 3. in your appdelegate.m add these lines right to the beginning of the didFinishLaunchingWithOptions method - [RevMobAds startSessionWithAppID:@"YOUR_APP_ID"]; [RevMobAds showFullscreenAd];
 
aquila198
buzztouch Evangelist
Profile
Posts: 473
Reg: Jul 22, 2011
location unknow...
10,330
like
09/29/12 09:28 PM (13 years ago)
Thanks for trying to help out.. Sorry for the delay (we only have one computer in the house & I don't always get a chance to hop on). I attempted to try all of the above - but it just didn't pan out. Adding salt to the wound, RevMob sent an email today "We've noticed that you registered with RevMob but haven't installed our SDK yet. It should be really simple though: just two lines of code!" The big deal is that on the git hub example, it does not include the 'RevMobAds.framework' file. - I understand #1 - I'm not clear on this instruction, "Add the RevMobAdsDelegate line as we already figured out " - If you are using Parse, should you put this line of code above the parse line? [RevMobAds startSessionWithAppID:@"YOUR_APP_ID"]; [RevMobAds showFullscreenAd]; Thanks again kind sir. I hope to get this up and running this millennium.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.