Hi, I've noticed that after cancelling an IAP content download, and attempting to re-download, while the transaction download seems to kick-off OK, and progress is reported as being > 0, the download state is still set to cancelled. I would have assumed that when (re)downloading, the state would / should change to being active ("Download is actively downloading" according to the state enum docs).
Is this a legit bug or a "feature" ? It entails a nasty workaround on the app-side for sure as you have to assume now that an active download is where you have a progress of > 0 instead of looking at the download state property. Yuk.
Is this a legit bug or a "feature" ? It entails a nasty workaround on the app-side for sure as you have to assume now that an active download is where you have a progress of > 0 instead of looking at the download state property. Yuk.
In case anyone's interested in this at all aside from me...
pause and resume seems to work OK on iOS 14.2, but trying to restart a cancelled download does not - I guess that's by design, although you can actually do that on iOS 13.7.
Apologies for my error in a previous post - I was trying to resume() a paused download, not start() it. And...
This seems to be working OK on 13.7 too, so either I got this wrong, or something has changed in the last week on the backend. Anyhoo... this all seems to be working predictably / as expected and pausing / resuming downloads makes more sense in the context of my app - i.e. you always want to download the content eventually.
Marking this as resolved.
pause and resume seems to work OK on iOS 14.2, but trying to restart a cancelled download does not - I guess that's by design, although you can actually do that on iOS 13.7.
Apologies for my error in a previous post - I was trying to resume() a paused download, not start() it. And...
This seems to be working OK on 13.7 too, so either I got this wrong, or something has changed in the last week on the backend. Anyhoo... this all seems to be working predictably / as expected and pausing / resuming downloads makes more sense in the context of my app - i.e. you always want to download the content eventually.
Marking this as resolved.