Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Gift App" from inside the app

I noticed that on the latest angry birds update they added a feature to gift your app from inside the app.

Up till now I knew you can gift paid apps from the iTunes itself. Does anybody know what link should I use to access this mechanism from inside the app itself?

Thanks!

like image 214
eozzy Avatar asked Mar 04 '11 17:03

eozzy


People also ask

Can I gift an app on the App Store?

Open the App Store app, iTunes Store app, or Books app. Tap the item that you want to give. Tap the Gift button: In the App Store, tap the Share button , then tap Gift App .

Can u give app as a gift?

Gifting From the Google Play Store.You can't give an Android app directly to another person through the Google Play Store, but you can buy Google Play gift cards in denominations of $10, $25 and $50 at various national retailers or online.

What does it mean to gift an app?

In order to gift an app, just click the triangle next to any app's price and choose Gift This App (naturally, you can't gift free apps). That'll get you a form you can fill out with your name and e-mail, the recipient's name and e-mail, and, if you'd like, a personal message.

What happens when you gift an app on Apple?

Your recipient can redeem an Apple Gift Card or App Store & iTunes gift card to their Apple Account balance. Then they can use that balance to buy subscriptions like Apple Music, Apple Arcade, or Apple TV+. Or they can buy apps, movies, books, and more from Apple. Email a gift card.


1 Answers

Actually, you'll want your URL to start with itms-appss: if you want it to open in the App Store app, where someone would actually gift an app. This feels more natural than Safari popping up.

// example app id for batman arkham city lockdown #define APP_ID 459850726  NSString *GiftAppURL = [NSString stringWithFormat:@"itms-appss://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/giftSongsWizard?gift=1&salableAdamId=%d&productType=C&pricingParameter=STDQ&mt=8&ign-mscache=1",                                 APP_ID];  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:GiftAppURL]]; 

APP_ID should obviously be defined to the Apple ID of your app.

Also worth noting, the URL is case sensitive.

like image 77
A.Rod Avatar answered Oct 11 '22 14:10

A.Rod