ace

Build Cordova apps with true native UI

  • 所有者: microsoft/ace
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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 Cordova’s Plugin Model. Thus, we’ve discontinued active development. We appreciate your interest in the project and hope you found it exemplary of Microsoft’s 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 Microsoft’s 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.

主要指标

概览
名称与所有者microsoft/ace
主编程语言Objective-C++
编程语言JavaScript (语言数: 5)
平台
许可证Other
所有者活动
创建于2016-01-26 08:41:38
推送于2024-03-06 10:31:58
最后一次提交2023-06-13 17:53:24
发布数3
最新版本名称v0.1.2 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数850
关注者数80
派生数152
提交数203
已启用问题?
问题数70
打开的问题数25
拉请求数16
打开的拉请求数0
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?