My Windows Store App certification failed and the note given to me by the tester is that:
The app has declared access to network capabilities and no privacy statement was provided in the Windows Settings Charm.
Does anyone have any ideas on how to solve this problem?
I would appreciate if any solutions were Javascript based.
The samples that MS provide suck but I have made a simple solution at http://eion.robbmob.com/blog/2013/04/02/win8-js-privacy-policy-settings/
Edit: Attaching code here :)
var settingsPane = Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();
function commandsRequested(eventArgs) {
var applicationCommands = eventArgs.request.applicationCommands;
var privacyCommand = new Windows.UI.ApplicationSettings.SettingsCommand('privacy', 'Privacy Policy', function() {
window.open('www.link.to.your/privacy_policy.html');
});
applicationCommands.append(privacyCommand);
}
settingsPane.addEventListener("commandsrequested", commandsRequested);