iOS - two App targets, shared in-app purchases - ios

If I have a both an iPhone and iPad version of an app, can they share in-app purchases? If a user makes a purchase on their iPhone, then downloads the app on an iPad, I need the app to respect the purchase.
I have a lot of artwork files so the app is fairly large, and I'm wondering if separate apps are the way to go in this case, instead of a universal app.
So it is possible to share in-app purchases with two different targets? I have read a few things that mention iCloud in this scenario, but have no idea how that would work.

No. In-app purchase products are associated with apps bundle IDs. You'd need to go with an universal app.

Related

how to make in app purchase for app with multiple target iOS?

I have an app with two different targets: free and paid. I have already coded everything and it works but I'm unsure how to release the app. I'm wondering whether I should just release those two apps or is there any way for me to use in-app purchase for an app with multiple targets?
Like, a user purchases an app upgrade in the free app and then they automatically get the paid version of the app after making that purchase, is that possible? I looked around for in-app purchase guides, but none of them seem to be working with multiple app targets.
You can either release a free app and a paid-up-front app or merge both targets into one app and allow the user to unlock the premium features via an in-app purchase (freemium, as already mentioned by #Visal).
I would suggest the latter: Short-term it is more work for you because you have to merge both targets. But long-term, it has a lot of advantages:
you have to maintain only one app
the reviews aren't spread over two apps
it is the more convenient solution for your users since they do not have to download the same app again when they want to get the premium features.

In-App purchase for two different apps

I am in the process of developing an app which needs to have a monthly subscription in-app purchase. The first version will be on the Apple platform. I have developed it using Xamarin because it need to support Android later as well. So far so good. Now I would like to start the development of the same kind of app for Apple TV, but I would like to use Xcode and Switch for that (because I prefer that). Is there a way to share the in-app purchase between the two different apps? I was first thinking of using wildcard for my bundle id, and use the same, but that does not seem to work for in-app purchase? Or am I missing something?
Thanks

Using same product identifier across iOS and tvOS app

We have an auto-renewable subscription that we want to share across our iOS(iphone/ipad) and tvOS apps. I suppose I have two questions:
Can we use the same product identifier across both iOS and tvOS?
If the answer to 1 is yes, how does a user who purchased a subscription on one platform receive it on another platform? We have no unique identifier for the user across the two platforms other than that they are using the same iTunes account. Does the user have to manually restore the purchase?
https://developer.apple.com/support/universal-purchase/ states that you can share in app purchases between ios and tvos
To distribute your iOS app and tvOS app together with a universal purchase, both apps need to use the same app record in iTunes Connect. You can create a new app for both iOS and tvOS using the same app record or add a platform to your existing app record. The iOS app and tvOS app share the same bundle ID but must have their own version in the app record and must be uploaded separately.
You will need to have the user restore their in-app purchases on the other device.
To make an In-App Purchase available on both platforms, you’ll need to implement the same In-App Purchase in both versions of your app. After you’ve enabled your app for universal purchase in My Apps on iTunes Connect, customers can restore your In-App Purchases on both platforms.
e.g. The user purchase a subscription on their iPhone and they can consume the content immediately. They then open the app on their Apple TV, but the content is not available until they restore their purchases. Once restored their content is available.

How do I avoid paying for my own In-App Purchase?

I've just had an In-App purchase approved and hit the App Store. To check the app, I've deleted my test copy and downloaded fresh from the App Store - but now I can't get the In-App purchase without paying for it. Is there a way around this? Sandbox user isn't working in the real App Store, and I don't want to make the In-App purchase free, even for a short while, during the first few days of update. Promo codes are available for the app, but not the IAP.
You can use the below link to create sand box users and test app without paying for it:
https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/TestingInAppPurchases.html
I suppose it is not possible to test (without paying) IAP once app is in app store. For this purpose sandbox environment is provided by apple so that IAP are tested in development.

Using Apps as content for in-app purchases

I'm looking for a way to download iPhone apps (or just the .app content of the Payload folder) as an in-app purchase.
I work with a company who has built their entire asset library in Flash and we're now trying to get it mobile. I know this isn't ideal but with Flash CS5.5 we can export the Flash to a .ipa. While we could ship each course as its own app, we're trying to achieve a more streamlined experience (think the Marvel Comics app). Ultimately I'd like to write the Container App in Xamarin.
Is there anyway to make these "apps" or their payload non-consumable content through an in-app download and can someone point me in the right direction for launching them? I'm not trying to get around Apple's security provisions or in-app purchasing rules so any input would be greatly appreciated.
Apple does not allow IAPs to be code. You can't use IAPs to distribute apps. You can have an advertisement in your app that features the other apps, but there's no mechanism to purchase one app from another.

Resources