简体   繁体   中英

How to serve up specific IAP when user downloads app

If we market specific in-app-purchase content to people who don't have our app, what is the best way to facilitate the consumer gaining access to that IAP, if they respond to that particular marketing campaign?

For example, it would be nice if there was an iTunes app store link we could provide for the app which had the IAP product identifier included. When the app is downloaded and launched, the AppDelegate could get the product identifier in the launchOptions for the following method:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

I am looking any ideas here so I am not trying to limit the question to the above solution. The example scenario above was meant to help explain what I was after. Any help would be much appreciated!

Thanks, Del

There is no convenient way of doing this. Apple specifically does not want developers to target individuals by their device. If a user downloads the app, perhaps you should allow them to enter a code or sign in and then choose the correct IAP accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM