Вячеслав Шабельник created CB-5705:
--------------------------------------

             Summary: Android Library Project
                 Key: CB-5705
                 URL: https://issues.apache.org/jira/browse/CB-5705
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Вячеслав Шабельник


Importing of Android Library Project into Android build from plugin dont 
implemented. So i cant add some sdks into native plugin that use dependencies 
as android library project.

Right now i working on jumio plugin for cordova 
http://www.jumio.com/netverify/netverify-mobile/
And jumio sdk require adding their android library project to android build. 
According to cordova plugin specs its not implemented.
More info about referencing android library projects to your project you can 
get here http://developer.android.com/tools/projects/projects-cmdline.html
To add a reference to a library project, navigate to the <sdk>/tools/ directory 
and use this command:
android update project \
--target <target_ID> \
--path path/to/your/project
--library path/to/library_projectA

I already implement cordova hook that do this job for me on after platform add, 
and all is brilliant but you have weak link in your build system. In exec.js 
file your exec implementation fail and stop build due to buffer overflow. Error 
is "Error: stdout maxBuffer exceeded". All that should be done is adding 
maxBuffer: 800*1024 option to exec call, also 800 can be replaced on any other 
big number. How can i contribute with this and other fixes to cordova? I saw 
your repository on github and even forked it. So if i send you pull requests 
with fixes do you include them in next releases?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to