Page 1 of 1

ManifoldJS

Posted: Fri May 29, 2015 8:04 pm
by the.weavster
I've just stumbled across this open source project from Microsoft, it reads the manifest of an open web app and uses that to package the associated HTML/JS together with the Cordova runtime in order to turn it into an app for Android, iOS and Windows Phone.

Re: ManifoldJS

Posted: Sat May 30, 2015 7:21 am
by the.weavster
A little more interesting information:
An even more powerful web experience with native APIs

As web developers, we are always asking for APIs that help us blur the lines between the feature set of native apps and that of the web. Hosted Web Apps are a trusted environment on most platforms, where the code is tied directly back to a developer. Because of this, some platforms allow you to have access to native APIs that you can’t reach in the browser.

On Android, iOS, and Windows, we use Cordova to polyfill for the hosted apps. The added advantage of this is that you can add the cordova js files to your website and use those APIs in your hosted app. However, in Windows 10 you actually have access to the entire API surface of Windows Universal Apps , that’s everything from Bluetooth to low-level human interface. To allow these APIs for your app, simply add this to your manifest:

"mjs_urlAccess": [

{ "url": "http://manupjs.azurewebsites.net/" },

{ "url": "http://www.manifoldjs.com/" }

],

With the access rules in place, we’ll turn on the APIs for you to call directly, or call through the cordova APIs.
There's a blog post by one of the Microsoft developers involved here: http://www.thishereweb.com/manifoldjs-b ... -web-apps/