简体   繁体   English

如何将 Cordova 应用程序转换为 Phonegap

[英]How to convert Cordova application to Phonegap

I am developing a plugin in Cordova for iOS users, which can be used by clients inside there applications.我正在 Cordova 中为 iOS 用户开发一个插件,可供应用程序内部的客户端使用。 Now, can I use/provide the same plugin to PhoneGap users?现在,我可以使用/提供相同的插件给 PhoneGap 用户吗? Is it possible or do I need to make changes to support PhoneGap?是否可能或我需要进行更改以支持 PhoneGap?

Thank you谢谢

Phonegap is a distribution of Cordova (similar to Chrome vs Chromium). Phonegap是 Cordova 的一个发行版(类似于 Chrome vs Chromium)。

From the team behind Apache Cordova, the Adobe PhoneGap framework is an open source distribution of Cordova来自 Apache Cordova 背后的团队,Adobe PhoneGap 框架是 Cordova 的开源发行版

Hence they use the same plugins so no changes are necessary.因此,它们使用相同的插件,因此无需更改。

Note that Phonegap Build is not the same as Phonegap - it's a cloud-build service offered by Adobe and there are some differences when it comes to using plugins vs building locally with the Cordova/Phonegap CLI (eg Phonegap Build doesn't support plugins that use hook scripts ).请注意, Phonegap Build与 Phonegap 不同 - 它是 Adob​​e 提供的云构建服务,在使用插件与使用 Cordova/Phonegap CLI 本地构建时存在一些差异(例如 Phonegap Build 不支持插件使用 钩子脚本)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM