Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5705

Add after-install hook for plugman

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugman
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              crazedcoder Вячеслав Шабельник
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: