更新项目 ionic-team/capacitor

Capacitor is currently in beta and is not production ready. We'd love your help testing!

⚡️ Cross-platform apps with JavaScript and the Web ⚡️

Capacitor is a cross-platform API and code execution layer that makes it easy to call Native SDKs from web code and to write custom Native plugins that your app might need. Additionally, Capacitor provides first-class Progressive Web App support so you can write one app and deploy it to the app stores, and the mobile web.

Capacitor is being designed by the Ionic Framework team as an eventual alternative to Cordova, though backwards compatibility with Cordova plugins is a priority and is actively being worked on. Capacitor can be used without Ionic Framework, but soon it'll become a core part of the Ionic developer experience.

Capacitor also comes with a Plugin API for building native plugins. On iOS, first-class Swift support is available, and much of the iOS Capacitor runtime is written in Swift. Plugins may also be written in Objective-C. On Android, support for writing plugins with Java and Kotlin is supported.

Roadmap

Disclaimer: Our roadmap is subject to change at any time and has no specific date guarantees

2018

  • Cordova Plugin Integration
    • Preliminary support for using plugins from the existing Cordova community
  • Native Shell Add-ons
    • Support for interacting with Native UI shell elements, such as native menus, tabs, and navigation, with 1-1 fallbacks to the web for first-class Progressive Web App and Electron support.
  • Electron support
    • Support for building Electron apps and interacting with Node.js libraries
  • Enterprise Premium Plugins
    • Paid add-on plugins with support for common Enterprise use cases, such as storage, authentication, security, and more
    • Developer Support options with SLAs and priority patches
    • We are working with a few large teams/businesses as early development partners. Interested? Email max@ionicframework.com

Contributing

Contributing to Capacitor may involve writing TypeScript, Swift/Objective-C, Java, or Markdown depending on the component you are working on. We are looking for help in any of these areas!

Please read the Contributing guide for more information.