Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 122

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
07/07/12 03:00 PM (13 years ago)

Pop up

Hi, does anyone know how to add a "upgrade to pro version or complete version" on a BT app? A pop up like the "rate me" pop up? Cheers
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/07/12 04:19 PM (13 years ago)
This is what I'd try. Use the Appirator code. Why recreate the wheel? There's a tutorial on BT on how to install it. If you can't find it, let me know and I'll see if I have a link somewhere. In the Appirator.h file, set the following variables: #define APPIRATER_LOCALIZED_MESSAGE Set with a message saying "Do you like this? Why not upgrade to the full version?" (or something like that). #define APPIRATER_LOCALIZED_MESSAGE_TITLE Set a message title to NSLocalizedString(@"Upgrade Your App", nil) #define APPIRATER_LOCALIZED_RATE_BUTTON Set the button to NSLocalizedString(@"Upgrade the App", nil) Then in the Appirator.m file, change: NSString *templateReviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=APP_ID"; to: NSString *templateReviewURL = @"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID3&mt=8"; Haven't tested, but should work. If you want to keep Appirator in tact, you could also add another button to the popup.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/07/12 04:20 PM (13 years ago)
Oops. Extra number in the code above. Should be: NSString *templateReviewURL = @"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID&mt=8";
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
07/07/12 04:24 PM (13 years ago)
I´ve used the appirator. I´ll give it a try. can I keep both? I mean, the rate my app and the upgrade?
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/07/12 04:28 PM (13 years ago)
Easiest way to keep both is to add one more button to the popup. Then have that button call a new action.
 

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.