I am trying to implement a feature where users can define their own documents using the "Files" app of iOS. I read that in order for your app to get access to the Files app you need to define these two keys in your info.plist
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
I defined those two keys but when I run my app and write to a document directory,
FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: true)
I dont see any Folder created with my written file inside the Files app. Interestingly, If I run the same app on my iPhone, I see the folder of my app inside the Files app immediately. I am not sure what could make the sharing only happen on iPhone and not iPad. My iPhone is running iOs 13.3 and my iPad is running 13.3.1 so not much of a difference here. Does anyone have any clue as what could be wrong?