Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for downloading content hosted by Apple #343

Merged
merged 8 commits into from
Jan 31, 2018

Conversation

bizz84
Copy link
Owner

@bizz84 bizz84 commented Jan 26, 2018

Implementation for #128.

  • expose [SKDownloads] array on purchase success completion block
  • add updatedDownloadsHandler block to subscribe to updated downloads callbacks
  • add start/pause/resume/cancel calls to manage downloads status
  • update iOS demo app with usage example
  • fix existing unit tests
  • add new unit tests
  • update README
  • update CHANGELOG

This enables downloads in all purchase paths (completeTransactions, purchaseProduct, restorePurchases)
@bizz84
Copy link
Owner Author

bizz84 commented Jan 29, 2018

I've been following this guide to create a In-App Purchase content package to test:

https://stackoverflow.com/questions/34724796/ios-archive-item-is-not-associated-with-any-known-itunes-connect-platform

My steps so far:

  • Turn on content hosting for my IAP in iTunes connect
  • Create an In-App Purchase content template in Xcode
  • Ensure the IAPProductIdentifier matches my IAP
  • Add an image to the target
  • Archive the project
  • Export as an installer package
  • Load it in Application Loader

When I try to deliver the selected content, I get this error:

screen shot 2018-01-29 at 21 40 47

So I can't test this.

Has anyone managed to upload hosted content to iTunes Connect?

@Vanyaslav
Copy link

Hi, I did manage to upload the hosted contents with iTunes connect. When correctly done. It should look like this one.
screen shot 2018-01-30 at 11 16 36

@Vanyaslav
Copy link

Actually I use this library with my own hacks to do the same job you are working on, but it is done simple and nasty way. So if you need an assistance to finish this, let me know. I'll be glad to have this thing sorted out as well proper way.

@aaru
Copy link

aaru commented Jan 30, 2018

use iTMSTransporter command to upload your content.

https://stackoverflow.com/questions/30912572/itmstransporter-how-to-upload-content-in-in-app-purchase

@bizz84 bizz84 merged commit 444db5f into develop Jan 31, 2018
@bizz84 bizz84 deleted the download-hosted-content branch January 31, 2018 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants