This plugin allows you to import and export to icloud and 3rd party apps.
Setup:Go to your apple developer account, go to certificates and profiles, go to iCloud containers, create a contain with the + plus, then go to app ids, click the id you are using and edit, make sure include cloud kit support is enabled, click edit, check the iCloud container you just made, continue and assign. Then go to your development providing profile, click edit, click regenerate, download, and install the new profile.
documentTypes(array of strings) array of uniform type identifiers example ("public.text", "public.image")
listener(function) event.status can be "document picked", "documents picked", or "picker cancelled". event.url is returned "document picked"(iOS 8-10), event.urls returns array of paths to files (iOS 11+)
exportPath (path) export file url(system.pathForFile)
listener(function) event.status can be "picker cancelled", "documents picked", or "document picked". event.url is returned "document picked"(iOS 8-10), event.urls returns array of paths to files (iOS 11+)
docPicker.copy(fileToCopy, pathToCopy)-- use to copy to app sandbox
fileToCopy (string) the string of url import to copy to app sand box
pathToCopy (path) copy to url(system.pathForFile)