Build Cordova apps with true native UI
Перейти к файлу
microsoft-github-policy-service[bot] 9dd2ec7ad4
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-13 17:53:24 +00:00
docs Adjust footer spacing 2016-08-24 10:46:26 -07:00
examples Restore commented-out parts of an example 2016-02-25 13:10:01 -08:00
markupcompiler markupcompiler 2016-01-28 04:32:53 -08:00
src Expose ace.android.startActivity to JS 2016-07-19 12:47:34 -07:00
tests/dump_compiled_markup Tweak output of compiled markup dump 2016-02-11 10:16:43 -08:00
www Expose ace.android.startActivity to JS 2016-07-19 12:47:34 -07:00
CONTRIBUTING.md Update URLs 2016-02-12 12:13:10 -08:00
LICENSE readme + license 2016-01-27 13:51:17 -08:00
README.md Adding a note that calls out this repo is no longer maintained 2016-11-16 15:05:01 -08:00
SECURITY.md Microsoft mandatory file 2023-06-02 21:23:18 +00:00
package.json 0.1.2 2016-07-19 12:48:26 -07:00
plugin.xml 0.1.2 2016-07-19 12:48:26 -07:00

README.md

As of December 2016, this project is no longer maintained by Microsoft. We built ACE to provide developers with an “escape hatch” to access native code from within JavaScript. After nearly a year in production, we learned that most developers are satisfied with the access granted by Cordovas Plugin Model. Thus, weve discontinued active development. We appreciate your interest in the project and hope you found it exemplary of Microsofts commitment to experimentation and open source software. if you're interested in continuing this project, please feel free to fork it. As of December 2016, we will no longer monitor or respond to open issues. You can keep up with other projects from Microsofts Cordova team by visiting http://taco.visualstudio.com. Thanks for your support!

Ace Logo Visit our homepage & get started in minutes!

WHAT IS ACE?

An Apache Cordova plugin that enables you to easily add native UI and native code to your JavaScript and HTML.

  • Mix native UI with HTML
  • Use a cross-platform native UI framework
  • Call native code without additional plugins

Ace Diagram

QUICK START

RUNNING THE EXAMPLES

From a Command Prompt (Windows) or Terminal (Mac):

npm install -g cordova
  • Go to the examples/AceExamples subfolder, then run:
cordova prepare
cordova run android
cordova run ios

Or, Using Visual Studio:

  • Ensure you have Tools for Apache Cordova installed
  • Open examples/AceExamples/AceExamples.sln
  • Deploy to either an Android emulator or device (KitKat or later, ideally Marshmallow), or an iOS remote device
  • If you need a Marshmallow Android emulator, run the "Visual Studio Emulator for Android" program from the Start menu to download one.

ADDING TO A NEW OR EXISTING CORDOVA PROJECT

Just add the plugin to your Cordova project. Whether you use Visual Studio or command-line tools, Windows or Mac, you can add this plugin the standard way. For example:

cordova plugin add cordova-plugin-ace

or, in Visual Studio, open config.xml then add the plugin under Plugins, Custom. You can point it at https://github.com/microsoft/ace.git or a local copy that you download.

Then follow the examples and docs. You can find examples in the examples folder of this repository.

COMMUNITY

DEVELOPMENT

The easiest way to test plugin code changes is to copy the examples/AceExamples folder outside of the plugin folder, remove the Ace plugin from the project, and then add it back using a path to your local ace folder with your code changes.

Just remember to copy any enhancements you make to the AceExamples project back to the original location!

LICENSE

Ace is licensed under the MIT Open Source license.