Aug 16, 2021 Replies: 12 Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments / XUI.DefaultFolder will be accessible from the Files app (and iTunes as well). Last edited: Apr 27, 2023 Click to expand...
Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments / XUI.DefaultFolder will be accessible from the Files app (and iTunes as well).
ilan Expert Licensed User Longtime User Aug 16, 2021 #2 Erel said: Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... thank you very much erel this is a great feature. do we need to create a folder? or is a folder automatically created with the app name? if someone add a file to that shared folder can we then read it from file.DirDocuments in our app?
Erel said: Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... thank you very much erel this is a great feature. do we need to create a folder? or is a folder automatically created with the app name? if someone add a file to that shared folder can we then read it from file.DirDocuments in our app?
Erel B4X founder Staff member Licensed User Longtime User Aug 16, 2021 #3 No need to create the folder. I haven't tested whether the folder appears in Files app when it is empty. ilan said: if someone add a file to that shared folder can we then read it from file.DirDocuments in our app? Click to expand... Yes.
No need to create the folder. I haven't tested whether the folder appears in Files app when it is empty. ilan said: if someone add a file to that shared folder can we then read it from file.DirDocuments in our app? Click to expand... Yes.
AnandGupta Expert Licensed User Longtime User Aug 17, 2021 #4 Erel said: All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... Can I use it in Android too ?
Erel said: All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... Can I use it in Android too ?
jahswant Well-Known Member Licensed User Longtime User Aug 17, 2021 #5 AnandGupta said: Can I use it in Android too ? Click to expand... No it's iOS specific!
mcqueccu Expert Licensed User Longtime User Aug 17, 2021 #6 AnandGupta said: Can I use it in Android too ? Click to expand... No please, This is an iOS thread and hence every discussion here is related to iOS
AnandGupta said: Can I use it in Android too ? Click to expand... No please, This is an iOS thread and hence every discussion here is related to iOS
mcqueccu Expert Licensed User Longtime User Aug 17, 2021 #7 Erel said: No need to create the folder. I haven't tested whether the folder appears in Files app when it is empty. Click to expand... The Folder appeared in the Files App with the application label as the Name. I created new folder with the Name B4X in directory documents like below B4X: File.MakeDir(File.DirDocuments,"B4X") And I can see it in application label/B4X Thank you Erel for this
Erel said: No need to create the folder. I haven't tested whether the folder appears in Files app when it is empty. Click to expand... The Folder appeared in the Files App with the application label as the Name. I created new folder with the Name B4X in directory documents like below B4X: File.MakeDir(File.DirDocuments,"B4X") And I can see it in application label/B4X Thank you Erel for this
AnandGupta Expert Licensed User Longtime User Aug 17, 2021 #8 mcqueccu said: No please, This is an iOS thread and hence every discussion here is related to iOS Click to expand... Oh. Anything similar for Android ?
mcqueccu said: No please, This is an iOS thread and hence every discussion here is related to iOS Click to expand... Oh. Anything similar for Android ?
Sandman Expert Licensed User Longtime User Aug 17, 2021 #9 AnandGupta said: Anything similar for Android ? Click to expand... Come on now, you're senior enough here in the forum to know that you're posting that question in the wrong forum. Go here.
AnandGupta said: Anything similar for Android ? Click to expand... Come on now, you're senior enough here in the forum to know that you're posting that question in the wrong forum. Go here.
AnandGupta Expert Licensed User Longtime User Aug 17, 2021 #10 Sandman said: Come on now, you're senior enough here in the forum to know that you're posting that question in the wrong forum. Go here. Click to expand... I am sorry. Got carried away with the interesting feature.
Sandman said: Come on now, you're senior enough here in the forum to know that you're posting that question in the wrong forum. Go here. Click to expand... I am sorry. Got carried away with the interesting feature.
OlavRossland Member Licensed User Longtime User Oct 30, 2022 #11 Erel said: Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... This make my app crash - also if I start a complete new and clean app.
Erel said: Code: #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments will be accessible from the Files app (and iTunes as well). Click to expand... This make my app crash - also if I start a complete new and clean app.
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2022 #12 I've tested it on iOS 16. I see a debugging issue that occurs from time to time where the app crashes on startup but does work if you manually start it. It doesn't happen in release mode. Try it.
I've tested it on iOS 16. I see a debugging issue that occurs from time to time where the app crashes on startup but does work if you manually start it. It doesn't happen in release mode. Try it.
OlavRossland Member Licensed User Longtime User Oct 30, 2022 #13 Erel said: I've tested it on iOS 16. I see a debugging issue that occurs from time to time where the app crashes on startup but does work if you manually start it. It doesn't happen in release mode. Try it. Click to expand... I tried as you said - and it worked.
Erel said: I've tested it on iOS 16. I see a debugging issue that occurs from time to time where the app crashes on startup but does work if you manually start it. It doesn't happen in release mode. Try it. Click to expand... I tried as you said - and it worked.