Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Chloe1212

macrumors newbie
Original poster
May 16, 2019
1
1
As you iOS devs know, you can only set one price tier for your app and in-app products in the app store. However, you can (theoretically) publish it as separate apps in different countries with different prices. I would like to do the same with in-app products of the same app - define alternative in-app products, and control their visibility in the app depending on user's country. I don't want to use NSLocale or NSTimeZone because they can be changed in settings. I want to know the country that the app store / user is connected to.

For example, I want to offer an auto-renewing subscription for most users, but I know that auto-renewing subscriptions are not available in the Israeli app store, so I want to show a non-renewing subscription exclusively to Israeli users, and not show them the auto-renewing one. Is there a reliable way of achieving this?

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.