The question has been already posted here but the solution does not work for me.
I checked with "public.database", "public.data" and "public.contents" but the .db files are grayed not selectable
B4X:
Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.content"))
DocumentPicker.Show(pg, Sender)
Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.data"))
DocumentPicker.Show(B4XPages.GetNativeParent(Me), xsbtn_restore.mBase)
Wait For Picker_Complete (Success As Boolean, URLs As List)
#PlistExtra: LSSupportsOpeningDocumentsInPlaceUIFileSharingEnabled All files in File.DirDocuments / XUI.DefaultFolder will be accessible from the Files app (and iTunes as well).
Dim DocumentPicker As DocumentPickerViewController
DocumentPicker.InitializeImport("picker", Array("public.data"))
DocumentPicker.Show(B4XPages.GetNativeParent(Me), xsbtn_restore.mBase)
Wait For Picker_Complete (Success As Boolean, URLs As List)
Yes, that is the problem ... tested now on another Iphone12 and works fine as you say.
I'm using this Iphone6 for developing and it's a good device, I don't want to limit my app excluding IOS12.
The latest IOS version available for this device is 12.5.6
So, what to do ?
Maybe I can change the file extension creating a custom identifier ?
Thanks