QField icon indicating copy to clipboard operation
QField copied to clipboard

Internal storage not available on iOS

Open tgdbepe4 opened this issue 3 years ago • 11 comments

The APP is starting but clicking on local or cloud files bottom shows no reaction

tgdbepe4 avatar Oct 27 '21 16:10 tgdbepe4

We couldn't reproduce this issue here. Is anyone able to confirm that? Do you have a reason to assume it's related to this specific ios version?

m-kuhn avatar Dec 09 '21 06:12 m-kuhn

The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

github-actions[bot] avatar Dec 24 '21 02:12 github-actions[bot]

I have now IOS 15.2 but still the same observation. A click on "Open local file" shows no reaction.

tgdbepe4 avatar Dec 27 '21 15:12 tgdbepe4

Interesting. Did you try with a different device too? If yes, which iOS version and is it the same behavior?

m-kuhn avatar Dec 27 '21 15:12 m-kuhn

No only on my iPhone 12 with IOS 15.2 but it was still the case with 15.1. The bottom "QFieldClod projects is working. I have made a registration but I don't know if I am now registered or not. If then I haven't found a way to reset my password.

tgdbepe4 avatar Dec 27 '21 16:12 tgdbepe4

Interesting, we'll have a look at that.

You can reset your passowrd here https://app.qfield.cloud/accounts/password/reset/ If it doesn't work, please send me a notice with your email address and I'll be happy to enable an account for you.

m-kuhn avatar Dec 30 '21 12:12 m-kuhn

It works correctly for QFieldCloud.

For local files, I believe we are facing the same issues than on Android.

All third-party apps are “sandboxed,” so they are restricted from accessing files stored by other apps or from making changes to the device. (…) Each app has a unique home directory for its files, which is randomly assigned when the app is installed.

From https://support.apple.com/en-ae/guide/security/sec15bfe098e/web

Further readings: https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories https://stackoverflow.com/questions/70750276/how-to-enable-files-and-folders-permission-on-ios

So opening one file is fine, but I guess the issue is with project and data files along it.

3nids avatar Mar 17 '22 15:03 3nids

There is an open issue on Qt to provide this functionality https://bugreports.qt.io/browse/QTBUG-67522

3nids avatar Mar 17 '22 16:03 3nids

Would it be possible to show the "randomly assigned home directory" in the about screen?

m-kuhn avatar Mar 17 '22 17:03 m-kuhn

@m-kuhn How would this help?

3nids avatar Mar 18 '22 13:03 3nids

A user could copy his files there if I understood this correctly?

m-kuhn avatar Mar 18 '22 16:03 m-kuhn

Implemented.

nirvn avatar Nov 03 '22 14:11 nirvn