Will in-app reappear - ios

Here is tricky situation - I've got an app, but configured in-app purchases wrong way, so for good - I set in-app status Cleared for Sale to NO rather the delete it. After that I configured in-app proper way, and upload new build to AppStore, that was approved by Apple. So now I want enable in-app again.
My question - will latest build work properly with in-app purchases, that will be enabled?
Thank you for your time.

Yes, latest build will properly work with in-app purchases that will be enabled after build was approved by Apple. Apparently, it can take some time for in-app to reappear in the store

Related

How do in app purchases behave in Pending Developer Release?

I recently finished the first version of an iOS application. I have several in-app purchases within it. When testing these, I always used a physical iPhone. Apple just approved the build for release and the app is now in "Pending Developer Release." As one last sanity check, I generated a promo code for myself on app store connect and downloaded the app onto my phone through the app store. I quickly noticed that the SKProductsRequestDelegate method is never fired and the list of in-app purchases is never downloaded from Apple's IAP server. This is similar behavior to when the app is run within a simulator: the IAP data is never loaded.
I am unfamiliar with how the "Pending Developer Release" stage impacts in-app purchases. Will they work as expected when I release the app to the public? Is there some change I need to make and resubmit?
Any help would be greatly appreciated.
As far as I know, it should work seamlessly except for the charging (You won't be charged if your app is downloaded from outside AppStore). So trying to gather logs may help you in this case.
Turns out this was an issue on Apple's end. I contacted support and something on their end had been messed up when they approved the in-app purchases.

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.

Migrating free App to freemium

I'm about to submit my first (free) app for the AppleStore.
I plan to make an update later with in-app purchases.
I'm not familiar with iTunes connect and I don't know yet anything about how in-app purchases works, so I'd like to know if there is anything I should be aware before submitting in order to make the future update easy/possible.
For example, I believe I should submit it as a free app, but i'm not sure i'd better make it an in-app purchase right now even if it doesn't implement purchases for now)
Many thanks !
You DO Not have to entitle an App for In-App Purchase (iAP) until you actually use it. That means you can wait and do it later when you add In-App purchases. Alternatively, you can entitle the App now (via Provisioning Portal) and not add anything until later. Either works just fine.

iOS In-App purchase works in development but not in production

I've just released my first app with iAP. It always worked fine in development, but in production it crashes when I try to make a purchase.
It seems like the app dosn't download my "product" in production mode. Have anyone else had similar problems, what did you do to fix it?
Recently I had submitted my app and it has a same issue. After spent some time on google I found that sometimes application available on store early and apple's production server takes time in updating products so wait for 24-36 hours. It will be automatically fixed.
Edit
Jagdeep has pointed towards a good point. Check status of your products it should be in "Approved" state. In my case it was in approved status.
When you have created product you have checked the option "Clear for Sale"?
From Documentation :
Clear for Sale indicates whether your In-App Purchase is cleared for sale or not. If this box is unchecked, your In-App Purchase will not be available for purchase from within the app. Note that if you set Cleared for Sale to No, all settings for the In-App Purchase will still be available to edit in iTunes Connect, and you can change Cleared for Sale to Yes at a later date.
It takes a little time even when everything is approved.
My binary was approved.
My In-App Purchase (IAP) was approved.
My In-App Purchase was Cleared For Sale.
Testing the purchase in development with a sandbox iTunes Account worked great.
Purchasing in production with a real or sandbox iTunes Account would fail.
I didn't have to wait long, something like a couple hours and it just started working.
Now, my binary and my In-App Purhcase were approved at the same time and almost immediately after they were both approved, I released the app version to the store.
I'm not positive, but what I probably should have done was wait a couple hours before releasing that new app version and give the In-App Purchase a chance to "register" or "propagate" in the Production App Store.
Just a recommendation for others.
Check your status in itunesConnect site -> Manage your purchase. Make sure your in-app-Purchase has been passed from review.

Testing in app purchase on iOS

I want to add an in-app purchase mechanishm to my application. As I understand from Apple documents, I have to send my binary before I add some in-app purchasing code.
I'm not sure about something. If I send my binary with the 1.0 version, will I able to publish my application with the 1.0 version in future? Because I will add some in-app purchase after my app is reviewed and accepted by Apple and send it (or update it) again.
How this mechanishm works in Apple? How can I handle this?
You have to upload the binary and then Apple will hopefully will approve you application.
When Apple have approved your application you can either choose to release it to app-store or wait and add more code.
You are confused, you need to add the in-app purchase code with your 1.0 binary. Also submit any existing in-app purchases to be reviewed along with your binary.
If you need to add more in-app purchases in the future, you can either submit a new binary with the new in-app purchases. Or, if you don't need code changes to add new IAPs, you can simply create them on itunes connect and submit them for review without updating the binary.
In conclusion, there is NO version of the binary that needs to be submittied WITHOUT the IAP-related code.

Resources