I have the following configuration:
<gap:plugin name="cordova-plugin-canvas2image" source="npm" spec="github:nicolasgrolleau/Canvas2ImagePlugin" />
Trying to pull nicolas' fork:
https://github.com/nicolasgrolleau/Ca...
but receive the following error in PGB:
Failed to fetch plugin cordova-plugin-canvas2image@github:nicolasgrolleau/Canvas2ImagePlugin via registry.
What is the correct syntax within the config.xml file in order to pull plugins from GitHub? I believe this is possible based on the following blog:
"instead of a version attribute the Cordova cli uses spec. spec is used both as a way to specify version (for npm) and also to specify the source repository of the plugin (eg. github:mygithubuser/myproject). Basically it allows anything that npm allows as part of it’s install command."
http://phonegap.com/blog/2015/11/19/c...
I've tried removing the "gap:" namespace, but to no avail – same error reported.
Any thoughts on how to implement this awesome bleeding edge functionality?
--------
.:edit:. Changed this to an idea based on @BrettRudd's Tweet:
"@jasoncdivis pulling plugins from GitHub is not supported. it's on our roadmap. but would be public repos only."
<gap:plugin name="cordova-plugin-canvas2image" source="npm" spec="github:nicolasgrolleau/Canvas2ImagePlugin" />
Trying to pull nicolas' fork:
https://github.com/nicolasgrolleau/Ca...
but receive the following error in PGB:
Failed to fetch plugin cordova-plugin-canvas2image@github:nicolasgrolleau/Canvas2ImagePlugin via registry.
What is the correct syntax within the config.xml file in order to pull plugins from GitHub? I believe this is possible based on the following blog:
"instead of a version attribute the Cordova cli uses spec. spec is used both as a way to specify version (for npm) and also to specify the source repository of the plugin (eg. github:mygithubuser/myproject). Basically it allows anything that npm allows as part of it’s install command."
http://phonegap.com/blog/2015/11/19/c...
I've tried removing the "gap:" namespace, but to no avail – same error reported.
Any thoughts on how to implement this awesome bleeding edge functionality?
--------
.:edit:. Changed this to an idea based on @BrettRudd's Tweet:
"@jasoncdivis pulling plugins from GitHub is not supported. it's on our roadmap. but would be public repos only."



