My app was turned down in the iTunes store because UIFileSharingEnabled is set to true.
I see you can turn it off here:
But what is the 'External Storage' setting for? Is it necessary to save draft reports in the Quick Report app?
Here is the full error message from iTunes connect:
Your app has the UIFileSharingEnabled key set to true in the Info.plist, but the Documents folder includes files and folders not intended for file sharing. If your app does not require the file sharing feature, please set the UIFileSharingEnabled key in the Info.plist to false.
Solved! Go to Solution.
Quick Report uses local storage to save the feature service info and the database to populate the saved drafts. Hence we have this capability to enable External storage within App Settings. This is must if you are deploying apps which uses local storage like Quick report on Android devices or for Play store submissions. However, iOS works little different from Android in this aspect and is not needed because we are not sharing any files with other apps.
Hence you can go ahead and turn off this capability when building for iOS but for Android make sure to turn it back on. We will see what we can do to fix this in our future release.
-Nakul
Quick Report uses local storage to save the feature service info and the database to populate the saved drafts. Hence we have this capability to enable External storage within App Settings. This is must if you are deploying apps which uses local storage like Quick report on Android devices or for Play store submissions. However, iOS works little different from Android in this aspect and is not needed because we are not sharing any files with other apps.
Hence you can go ahead and turn off this capability when building for iOS but for Android make sure to turn it back on. We will see what we can do to fix this in our future release.
-Nakul
Thank you for the explanation!
We have fixed this issue in the latest release of AppStudio v 2.0
A new parameter has been added in appinfo.json to differentiate between access to local storage vs file sharing (between apps or using itunes). Though in Android world it does not make a difference in the iOS world these two things are very different. In this release (v 2.0) this has to be specified in the appinfo.json "capabilities" section manually by editing the file, in the next release we will add a user interface to this property.
What does this mean?
Note: If you are using the latest version of Quick Report template, this has already been added for you so no need to worry but make sure you using the latest version or follow above steps to add this to your existing Quick Report template based app.