It is now possible to host your In-App purchases with Apple in the form of a .pkg file, this is really great news since and it means that Apple can now handle the verification process regarding users and what they already purchases.
But my application has an in-app purchase for extra content, in the form of a non-consumable item and the problem is that I've got lots of information in there... Photos (both normal and retina versions), many short video clips and more...
How big can my package file be?
iOS App binary files can be as large as 2 GB, but the executable file (app_name. app/app_name) cannot exceed 60MB. However, consider download times when determining your app's size. Minimize the file's size as much as possible, keeping in mind that there is a 100 MB limit for over-the-air downloads.
APK. The app size limit for . ABBs is 150MB. APK file size limit is 100MB.
Go to Settings > General > [Device] Storage. You might see a list of recommendations for optimizing your device's storage, followed by a list of installed apps and the amount of storage each one uses. Tap an app's name for more information about its storage.
Product > Archive (you need the iOS device scheme selected here, which means you need a valid signing identity set up) Window > Organizer. Select the "Archives" tab. Select your archive, and in the header detail view, click "Estimate Size"
Apple will allow you to upload package files up to 2GB in size. This is also the same size limit for your application.
To upload your Apple hosted In-App purchase you must use the Application Loader.
For more details you can check out the following guide by Apple: Using Application Loader
Page 30 of that document:
When sending a content package for your non-consumable In-App Purchase for Apple hosting, keep the following in mind:
- The size of the content package cannot exceed 2GB.
- The content package must not contain any executable code or symlinks that point outside the content directory.
- You can deliver a new package once your In-App Purchase is live. For your new content to go live, you must submit it for review and approval in iTunes Connect.
- To remove files, if your In-App Purchase is not live, uncheck “Host Content with Apple” and resend your package. You cannot remove files once you deliver your package and your In-App Purchase is live.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With