A Cordova plugin that adds Swift language support to iOS projects, enabling Swift-based plugins.
cordova-plugin-add-swift-support is a Cordova plugin that adds Swift language support to iOS projects built with Apache Cordova. It solves the problem of integrating Swift-based plugins into Cordova applications by providing the necessary bridging infrastructure between JavaScript and native Swift code.
Cordova/PhoneGap developers building iOS applications who need to use Swift-based plugins or want to write their own Swift plugins for Cordova.
Developers choose this plugin because it provides a straightforward, configurable way to add Swift support to Cordova projects without manual configuration, enabling access to the growing ecosystem of Swift-based Cordova plugins.
:hammer: Swiftify your Cordova app !
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports configurable Swift versions (4, 5, legacy 2.3) via preferences in config.xml, allowing compatibility with different iOS SDKs as per the README.
Automatically finds and merges prefixed Bridging-Header files from Swift plugins, reducing manual setup and errors in integrating Swift code.
Can be added directly with 'cordova plugin add' or as a dependency in other plugins, providing a straightforward setup process documented in the README.
Bridges Cordova's JavaScript environment with native Swift, enabling access to Swift-based plugins and modern iOS APIs for hybrid apps.
Only works for Apache Cordova on iOS, making it irrelevant for other hybrid frameworks like Capacitor or pure native development, limiting its ecosystem.
Requires editing config.xml to set Swift version preferences, which adds an extra step and potential for configuration errors, as noted in the README.
Its usefulness is tied to Cordova's ongoing support; if Cordova declines or changes significantly, this plugin might become obsolete or require updates.