Can privacy.html be stored locally within the app?

May 12, 2014 at 11:04 PM
I'm trying to write a simple HTML file for my privacy info -- the same way I've handled it for my other Win8 JS apps, as seen here: TEXT

In config.json though, I'm unable to link to a local URL for the privacy file. Regardless of what I do, it throws an error when I look for the privacy file within the settings charm on the app:

0x80070057 - JavaScript runtime error: The parameter is incorrect.

/privacy.html is not a valid absolute URI.
"settings": {
    "enabled": true,
    "privacyUrl":"privacy.html" ,              <---- This is located right next to default.html

Does this have to link to an external URL?
May 21, 2014 at 1:55 PM
Hi,

Right now, yes this does need to be an external URL. The reason for this is that the links in the app bar, nav bar or settings charm all redirect the main webview within the context of the external website and it is not programmed to look at eth app package or elsewhere.

As a short term option, you could create a free azure website to host your privacy file: http://azure.microsoft.com/en-us/solutions/web/

As a more long term solution, please add an issue to the issues list and we'll triage it for a future release.

Thanks