Manually insert a plugin on Cordova/PhoneGap Project -
i'm working on project 3 main platforms: ios, android , windows phone uses os , devices features (such camera, barcode scanner. google plus , facebook auth apis). structure of project follow:
-/frontend (main frontend directory) -+/www (html-js-css) --+/css --+/img --+/js --+/src -->*.html (app screens) -->config.xml (cordova/phonegap xml) until have added plugins through config.xml , build.phonegap cares insert on project, during builds. plugins used until ios , android compatible (facebookconnect , barcode scanner). plugin all-os compatible inappbrowser , working good.
i have tested ios , android devices , works perfect expected.
however, having lot of trouble make work on windows phone. know 2 plugins not compatible wp8, i've found 2 compatibles, are: barcodescannerwp8 com.phonegap.plugins.facebookconnect.wp8
the problem is, don't know put files (manually insert them), since not familiarized method, based on cordova project structure. have read insert plugins directory (don't know where) , native files (also don't know where). read platform directory don't understand directory. also, cordova doesn't have online build, phonegap. never build locally because building on linux, have no windows phone sdk/.net neither xcode/ios sdk installed on system. so, need push through phonegap build
i appreciate detailed explanation phonegap/cordova directories , files structures, regarding manually inserted plugins build using online phonegap build.
you cannot manually add third-party plugins project through phonegap build.
plugins have packaged , submitted phonegap review , inclusion build system.
in past have made copy of plugin needed, updated phonegap build spec , submitted it. got accepted , available, process took on month...
for now, if need use third-party plugin not supported through build service, have build locally.
Comments
Post a Comment