google-analytics-plugin icon indicating copy to clipboard operation
google-analytics-plugin copied to clipboard

App rejected for not complying with the iOS Data Storage Guidelines

Open gbarredev opened this issue 9 years ago • 3 comments

Hello,

App Store team reject my app because :

On launch and content download, your app stores 6.6 MB on the user's iCloud, which does not comply with the iOS Data Storage Guidelines.

My App : cordova-ios 4.1.1, cordova-plugin-google-analytics 1.5.3

After looking in the container of my app, I didn't see anything abnormal excepting some 'googleanalytics-*' files in 'Library' folder. One of them, 'googleanalytics-v3.sql-wal' grows up very quickly when using my app. However, my app use only the 'trackView' method at each new screen. Nothing special.

As these files are in the 'Library' folder, they must have the 'do not back up' attribute, otherwise they are stored to iCloud. But their size is too large for complying with App Store rules.

Could you add the 'do not back up' attribute to 'googleanalytics-*' files in 'Library' folder ? Or maybe the size of these files is abnormal ?

Thank you

https://developer.apple.com/icloud/documentation/data-storage/index.html https://developer.apple.com/library/ios/qa/qa1719/_index.html

gbarredev avatar Aug 11 '16 14:08 gbarredev

For anyone who use Google Analytics SDK for iOS and have their apps rejected because of iCoud Backup, you can now use this plugin : https://github.com/guillaumebarre/ICPDoNotBackup.

gbarredev avatar Aug 18 '16 06:08 gbarredev

@guillaumebarre Thanks for the info, you can submit a PR with this.

great contribution :+1:

victorsosa avatar Aug 18 '16 10:08 victorsosa

@victorsosa So should I expect my app to be rejected if I use this plugin ?

ish3lan avatar May 11 '17 11:05 ish3lan