Is there a difference between PhoneGap and Cordova commands?

前端 未结 10 1955
耶瑟儿~
耶瑟儿~ 2020-11-28 01:04

I just installed Phonegap for the first time and just browsed through the docs. What confuses me is the fact that some docs are using the command \"phonegap\" and some \"cor

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-28 01:31

    Late answer but I think this might be useful.

    There are differences between the two cli, phonegapis a command that encapsulates cordova. In the create case the only difference is an overriden default app

    In some other cases the difference is much more significant. For instance phonegap build comes with a remote build functionality while cordova build only supports local builds.

    A big limitation I found to PhoneGap is that, AFAIK, you can only build a release APK using the PhoneGap Build service. On Cordova you can build with cordova build android --release.

提交回复
热议问题