NativeScript Runtime for the Universal Windows Platform
C C++ JavaScript C# Assembly Python CMake
Switch branches/tags
Nothing to show
Clone or download

README.md

WARNING: This repository is a proof-of-concept implementation of a Windows runtime for NativeScript that we no longer maintain.

NativeScript Runtime for the Universal Windows Platform

The NativeScript Runtime allows Windows Runtime APIs to be called from JavaScript. It is similar to the JavaScript bridge that Microsoft provides, but also allows XAML UI controls to be instantiated. This way NativeScript UWP apps are truly native, instead of being HTML based.

At the moment, the runtime is in a proof of concept stage - it only allows calling of methods with primitive types. Things like inheritance, generics, exception handling, asynchronous tasks and advanced marshalling/projections are further to be developed.

Building and Running

Make sure you meet the following requirements:

Clone the repo (this could take several hours):

git clone --recursive git@github.com:NativeScript/windows-runtime.git

Generate a Visual Studio solution:

mkdir Build
cd Build
cmake ../Source -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -G"Visual Studio 14"

Use the "Visual Studio 14 ARM" generator to create a project compatible with ARM devices.

Open the newly created NativeScript solution and run the TestRunner project to see the "Hello, World!" app in action.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Related Projects

License

Apache 2.0