iOS: Why exactly is the "iCloud documents" capability needed? #445
-
The README says,
and it gives a helpful screenshot to show how to enable it in Xcode. But the statement doesn't seem to be true. Without enabling the capability, I had no trouble accessing "iCloud Drive" as a location in the document picker, and picking files from there. This was on an iPhone at iOS 13.7; see screenshots below. ❓ Is there some other functionality that react-native-document-picker provides, that needs this capability? Or maybe the relevant iOS APIs have changed since that statement was added? A relevant Apple doc says (in a section called "Enable iCloud document storage"):
My app doesn't have its own documents. It just needs to let the user choose and upload one of their documents from somewhere else. So I think I don't need to enable the capability (and then go and make sure I'm executing 10 very detailed "App Responsibilities for Using iCloud Documents"). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
hello, the instruction was added in 2016 in this commit: 04f28dd#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 it is indeed possible that this is not needed; I will remove that part of the doc. Thank you! |
Beta Was this translation helpful? Give feedback.
hello, the instruction was added in 2016 in this commit: 04f28dd#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
it is indeed possible that this is not needed; I will remove that part of the doc. Thank you!