How to add cordova plug that haven't registration on plugins.cordova.io?

前端 未结 4 1653
感情败类
感情败类 2021-01-14 06:42

like these plugin

https://github.com/ArchieGoodwin/SilentShot

https://github.com/alongubkin/phonertc

they don\'t have a tarball url

c         


        
4条回答
  •  萌比男神i
    2021-01-14 07:29

    You're almost there. You can't target a repo directly but you can target one if its releases:

    e.g. For me this worked:

    meteor add cordova:https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/archive/2.0.1.tar.gz@2.0.1
    

    outputs:

    added cordova plugin https://github.com/EddyVer
    

提交回复
热议问题