Moving received airdropped files from iCloud Downloads folder to a desired folder programmatically after iOS 17

in order to update the firmware of embedded device through my app, I need to airdrop the xml firmware file from my mac to my app which can be built in iPad and iPhone. 


After receiving the file, under the hood of my app I could move the file from Documents folder to my own created Firmware folder. Then inside of my app, I could use the file which was then inside of Firmware folder.




But this flow is not working anymore after updating to iOS 17, as the airdropped file goes to iCloud Downloads folder and my parser function could not parse the contents/files inside of iCloud Downloads anymore.


Do I need to add some permissions to my info.plist to have access (read and move the file) to the content of that folder? Or is it even possible to manipulate the iCloud Downloads contents with the new changes in iOS 17?


Do anyone else had the same issue of not knowing now, how to move the airdropped file from iCloud Downloads folder to another folder programmatically?

iPad, iPadOS 17

Posted on Nov 9, 2023 1:37 AM

Reply

Similar questions

1 reply

Nov 9, 2023 8:17 AM in response to maziar98

I’d download the device firmware directly from your server within the app, and get AirDrop and Files app and the rest of this current manual sequence out of the path.


Absent a file open dialog in the app, I wouldn’t expect an iOS app to be able to access Downloads.

UIDocumentBrowserViewController | Apple Developer Documentation


macOS certainly can’t: NSDownloadsFolderUsageDescription | Apple Developer Documentation



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Moving received airdropped files from iCloud Downloads folder to a desired folder programmatically after iOS 17

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.