[ 
https://issues.apache.org/jira/browse/CB-10553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137450#comment-15137450
 ] 

Carlos Santana commented on CB-10553:
-------------------------------------

questionable if calling buildModule.prepBuildFiles() should be something that 
happens inside addPlugin() function in cordova-android Api.js
if it's added in cordova-android, then the cordova-lib needs to check if it's 
dealing with a new version of cordova-android that deals with it and skip 
buildModule.prepBuildFiles() it in cordova-lib


> Framework tag in plugin.xml not handled during plugin-install on Android
> ------------------------------------------------------------------------
>
>                 Key: CB-10553
>                 URL: https://issues.apache.org/jira/browse/CB-10553
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>         Environment: Android
>            Reporter: Karen Tran
>              Labels: android, framework, plugin, regression, triaged
>             Fix For: Master
>
>
> On the Android platform, the framework tag is not being handled during 
> plugin-install. It only runs during build time.
> Recreate:
> cordova create myApp
> cd myApp
> cordova platform add android
> cordova plugin add cordova-plugin-okhttp
> okhttp plugin has a framework tag in it's plugin.xml. If you go check 
> build.gradle after adding the plugin, you'll see the framework tag didn't add 
> a dependency to build.gradle that it was supposed to. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to