Is there a difference between PhoneGap and Cordova commands?

前端 未结 10 1939
耶瑟儿~
耶瑟儿~ 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:30

    I found this difference which forced me to use a mixed bag of phonegap and cordova cli commands when building my app:

    'phonegap plugin add' couldn't handle command line parameters correctly, whereas 'cordova platform add' works flawlessly

    The command I use is:

    'cordova plugin add https://github.com/crittercism/PhoneGap.git --variable IOS_APP_ID="[my_license_key]"
    

    Note I am using phonegap 3.5

提交回复
热议问题