Recently, I spend some time on cleaning up and open-sourcing my latest Adobe Native Extension. With Background Transfer – ANE you can easily download big files to your Adobe AIR app on iOS. My native code uses Apple’s NSURLSession class which is invented to perform this download nicely:
- download is managed by iOS;
- the transfer continues even when the user sends the app to the background (e.g. switches to another app);
- no time limit is set for download task;
- if the app crashes during the download, the retransmission will start automatically when the app is launched;
Feel free to grab my ANE from GitHub:
And don’t forget to try demo application, which you’ll find in repo.