In-app purchase - different versions - ios

I would like to add an in-app purchase with downloadable content hosted on Apple servers to my app. This purchase with its content will be updated with every new version of the app. The updated purchase will work only with the latest app version. In this case the owner of the older version will be able to purchase and download the new version content. How can I resolve the issue?
I see that an array of SKDownload is available in SKPaymentTransaction. Does it mean that all in-app purchase versions will be available for the app? In this case it would be enough to download only the version compatible with the app.
Another variant is to link a purchase version to an app version. If they don't match the customer will be offered to update the app before purchasing.

Related

App Store Connect. Disable in-app purchases for new version of app

I have already released an application to the App Store. This current version contains an in-app purchase item to unlock premium features.
Now we made a new design for the app and want to release a new version of the app and this new build will not include any purchase options.
So now as you see I have two versions. First one provides in-app purchases and the second one doesn't.
How to disable in-app purchases for the second version of the app?
Just remove in-app-purchase related code from the new version so It will not affect existing in-app-purchase in the AppStore Connect. And do not delete your in-app-purchases from the AppStore Connect so it'll work for the older version.
In-app purchases are independent from app versions. You cannot enable/disable them in App Store Connect for specific versions. You will simply need to "hide" the purchase option directly in the app, if you want it to be available for older app versions.
If that is not the requirement, simply remove the in-app purchase from sale in App Store Connect.

Pro and in-app version of the same app

We have in the AppStore a free app which has a PRO in-app purchase.
The in-app it's the usual appId of form com.our.appid.pro and purchasing it sets a boolean in userdefaults which enables or disables specific features in the app. It's all working fine.
However, I have the requirement to create a version which is PRO as soon as you download it from the AppStore. It would be equivalent to a free version with the in-app purchase already bought.
My question is, what is the most convenient way to do this ? Do I simply change the appid and force that boolean to YES for the purchased state and reupload it again as a different app ? I guess it cannot be done without having another app/appid ( that's why in-app purchases were implemented in the first place ... ).
Thanks
Yes, If you want to submit an app with fully featured app including the In App Purchase Functionality of your older version, then just change the bundle Id of your new app.
Make a new app on iTunes with a different app name and all features without In App Purchase for your those extra functionality of your older version.
Then you will be good to go.
Another option is that if you don't want to go for the PRO version of the app, then remove In App Purchase from your free version and increase the price tier of your free version and submit your app again without In App Purchase.
Hope this helps you.

Implement in-app purchase for existing iOS application

I have an application that was made before in app purchase and we did two versions: free and paid. Now I want to move to one app with upgrade through app purchase.
I will implement the in-app purchase in the free version, so all next users that will upgrade, will use this feature.
What about old users that downloaded the paid version, how to get rid of the paid version without affecting existing users? Should I still update the paid version to have old users get the new features I added to my app?

Will In-App purchase work for previous version of app if in-app gets approved for latest ones?

Will In-App purchase work for previous version of app if in-app gets approved for latest ones? I have an app in the app store published which contains all in-app logic and stuff. But the in-app item was not published. So I created a new version and submitted it for in-app review. If the new version gets approved and is available for download, will the users using the previous version of the app automatically be able to use in-app? Currently the app crashes during the in-app purchase flow as the store doesn't return the relevant info.

In-App purchases available with new app. version

As you know. In-App Purchases need to be configured in iTunes connect. And just before changing app. status to ready to upload, you assign those purchases to the app. version.
Purchases will become available for clients only with a new version of your app.
I have an app with a web based administration system to add products along with their store ids. My app. is communicating with my db throw a web service. therefore products don't need to release a new app version to be available.
Is there a way to achieve that without uploading a new version of the app.
You can modify the available products in iTunes connect without having to upload a new app version. From the iTunes connect IAP management page:
"The first In-App Purchase for an app must be submitted for review at the same time that you submit an app version. You must do this on the Version Details page. Once your binary has been uploaded and your first In-App Purchase has been submitted for review, additional In-App Purchases can be submitted using the table below."

Resources