Windows store privacy statement

I got the error from Microsoft while I was submit the app. The error is, “The app has declared access to network capabilities and no privacy statement was provided in the Windows Settings Charm.”

The sad part is that this is so easy to fix. First you will need to create a new directory Privacy and Page Control under it Privacy, it lives my pages/ directory. The page control Privacy creates the privacy.html, privacy.js and privacy.css files under Privacy folder.

My Privacy.Html Code is here<!DOCTYPE html>
    <meta charset="utf-8" />

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <link href="privacy.css" rel="stylesheet" />
    <script src="privacy.js"></script>
    <div data-win-control="WinJS.UI.SettingsFlyout"
        data-win-options="{settingsCommandId:'privacyPolicy', width:'narrow'}">

        <div class="win-ui-dark win-header">
            <button type="button" onclick="" class="win-backbutton"></button>
            <div class="win-label">Privacy Policy</div>
        <div class="win-content">
                This application does not collect any information about users. This
application also does not collect any username or password that users enter to authenticate.
            <p>This privacy policy is subject to change without notice and was last updated on 22-July-2013. If you have any questions feel free to contact us directly at <a href=""></a>.</p>

Now you just need a quick way to add this to your app. Add the following code in your default.js file:

 app.onsettings = function (args) {

        args.detail.applicationcommands = {
            "privacyPolicy": {
                title: "Privacy Policy", href: "/Pages/Privacy/privacy.html"

Now, run the app. Go to setting pane, click on Privacy, you will show the privacy statement.