Running on Windows Phone
The application created to this point runs fine inside the iOS and Android simulators and emulators. However, you will get an error if you try to run it on Windows Phone. This is because frameworks such as AngularJS, EmberJS, and KnockoutJS (among others) use properties of JavaScript that Microsoft has flagged as unsafe because they can cause common security issues (properties such as innerHTML and outerHTML). Thankfully, there is a fix.
The Microsoft Open Technologies (MS Open Tech) group has released a JavaScript shim called the Dynamic Content shim for Windows Store apps. It is a JavaScript file you run to mitigate the errors when using client-side scripts. The shim still achieves the fundamental goal set by the security ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access