Set the BackupWebStorage preference to "local" in the Cordova config.xml file?

Hi all,
XCode is giving me the following error when I compile to Cordova. Anybody know how to edit the confix.xml file?

To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file

Nevermind. Found it in the XCode project.

I think you can also set the following in your mobile-config.js

App.setPreference("BackupWebStorage", "local");
2 Likes

That’s what I was looking for, actually! Thanks!

Since it’s specific to iOS, you may want to add the “ios” parameter:

App.setPreference("BackupWebStorage", "local", "ios");

1 Like