Files app -> can't open files from iCloud drive

Hi,


My app (developed in Unity) now supports Files App. Everything works perfectly if I go to "On My iPad"->"My App". The associated files launch the app as expected.


But if i select an associated file on iCloud Drive or on any other app Documents folder, it launches my app and I can get the file path on openURL:options: or on didFinishLaunchWIthOptions. But if i try to read this file it just can't, it can't access the path. When the path is on my app Documents folder, then it is ok.


The Files App automatically sets my app as 'Open In', not 'Copy To' (as email or any other app does).


I have searched a lot but couldn't find anything as FIles App is pretty new.


Thanks in advance for suggestions!


BR

Fernando

Files app -> can't open files from iCloud drive
 
 
Q