Hi all,
I recently got Android to receive shared documents from other Apps (see: https://forums.coronalabs.com/topic/74107-android-file-sharing-between-apps-content-stream/ ) which was a bit of a task.
Now I’m looking to do the same for iOS.
However it’s looking more and more unlikely with Corona.
From what I can tell, I need to create an Activity View (see https://developer.apple.com/design/human-interface-guidelines/ios/views/activity-views/ ) which will allow other Apps to send (read: Save) a file to my App.
However from everything I’ve read in the forums, albeit most posts are very old, this is not possible with Corona natively.
Has anyone managed to put something similar together, or have any advice as to where to begin?
If I can get both Android and iOS working, I’ll certainly look to providing a free plugin so in future we can do this within a few lines of code (hopefully).
At the very least I’d like something that will allow files to be sent from iCloud drive to my app manually (select file, click “Share” and then choose my app to share to. Obviously if I can get this to work from all apps for specific mime types, then this would be much better.
Many thanks,
Paul