[jira] [Created] (CB-7719) Add Gradle Support in Cordova Library Project for Android
Bharath Hariharan created CB-7719: - Summary: Add Gradle Support in Cordova Library Project for Android Key: CB-7719 URL: https://issues.apache.org/jira/browse/CB-7719 Project: Apache Cordova Issue Type: New Feature Components: Android, CordovaLib Affects Versions: 3.5.0 Environment: Eclipse for Android IDE, Android Studio IDE Reporter: Bharath Hariharan Currently, the Apache Cordova library project for Android does NOT have a 'build.gradle' file, which is required in order to support Gradle dependency management. This is required in order to distribute through Maven Central for easier consumption of the library updates through Maven Central. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7719) Add Gradle Support in Cordova Library Project for Android
[ https://issues.apache.org/jira/browse/CB-7719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160886#comment-14160886 ] Bharath Hariharan commented on CB-7719: --- [~agrieve] Awesome! Which version of Cordova will this be in? Is it tagged yet, or just on master? > Add Gradle Support in Cordova Library Project for Android > - > > Key: CB-7719 > URL: https://issues.apache.org/jira/browse/CB-7719 > Project: Apache Cordova > Issue Type: New Feature > Components: Android, CordovaLib >Affects Versions: 3.5.0 > Environment: Eclipse for Android IDE, Android Studio IDE >Reporter: Bharath Hariharan > Labels: android, cordova, gradle > > Currently, the Apache Cordova library project for Android does NOT have a > 'build.gradle' file, which is required in order to support Gradle dependency > management. This is required in order to distribute through Maven Central for > easier consumption of the library updates through Maven Central. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13043) Cordova generated app broken if the plugin is a dynamic framework that depends on Cordova
Bharath Hariharan created CB-13043: -- Summary: Cordova generated app broken if the plugin is a dynamic framework that depends on Cordova Key: CB-13043 URL: https://issues.apache.org/jira/browse/CB-13043 Project: Apache Cordova Issue Type: Bug Components: cordova-create, cordova-ios Affects Versions: 4.4.0 Environment: iOS 10 Reporter: Bharath Hariharan Assignee: Shazron Abdullah I have a plugin that's directly dependent on Cordova since it contains a subclass of CDVViewController and it references other native Cordova classes. I'm trying to package this framework as a dynamic framework and bundle it in my plugin. The problem with this is that it has to be linked to Cordova.framework but the generated app from Cordova CLI links to libCordova.a which causes symbol conflicts. The basic problem is that a dynamic framework has a defined boundary and is self-sufficient, which prevents it from getting symbols from the external libCordova.a. It also can't weak-link to a static lib. The fix here would be to do 1 of the following: 1) In the generated app, make Cordova's dynamic framework target a dependency instead of the static target like it is currently. Also, link to Cordova.framework instead of libCordova.a. 2) Allow a parameter to be set in the plugin, called "dynamic" or something to that effect that allows a plugin to specify that it needs Cordova as a dynamic framework dependency. Setting this parameter would basically make Cordova do (1). Since Apple has moved away from static libs and is recommending dynamic frameworks, I would recommend approach (1). -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13043) Cordova generated app broken if the plugin is a dynamic framework that depends on Cordova
[ https://issues.apache.org/jira/browse/CB-13043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16099203#comment-16099203 ] Bharath Hariharan commented on CB-13043: Will this be done in Cordova 5.0.0? > Cordova generated app broken if the plugin is a dynamic framework that > depends on Cordova > - > > Key: CB-13043 > URL: https://issues.apache.org/jira/browse/CB-13043 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-create, cordova-ios >Affects Versions: 4.4.0 > Environment: iOS 10 >Reporter: Bharath Hariharan >Assignee: Shazron Abdullah > > I have a plugin that's directly dependent on Cordova since it contains a > subclass of CDVViewController and it references other native Cordova classes. > I'm trying to package this framework as a dynamic framework and bundle it in > my plugin. The problem with this is that it has to be linked to > Cordova.framework but the generated app from Cordova CLI links to > libCordova.a which causes symbol conflicts. The basic problem is that a > dynamic framework has a defined boundary and is self-sufficient, which > prevents it from getting symbols from the external libCordova.a. It also > can't weak-link to a static lib. The fix here would be to do 1 of the > following: > 1) In the generated app, make Cordova's dynamic framework target a dependency > instead of the static target like it is currently. Also, link to > Cordova.framework instead of libCordova.a. > 2) Allow a parameter to be set in the plugin, called "dynamic" or something > to that effect that allows a plugin to specify that it needs Cordova as a > dynamic framework dependency. Setting this parameter would basically make > Cordova do (1). > Since Apple has moved away from static libs and is recommending dynamic > frameworks, I would recommend approach (1). -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8348) Add Cordova Android to Maven Central / jCenter
[ https://issues.apache.org/jira/browse/CB-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716572#comment-15716572 ] Bharath Hariharan commented on CB-8348: --- [~bowserj] [~stevegill] Any updates on this? Do you have an ETA on when Cordova platform will be available on jCenter? Thanks! > Add Cordova Android to Maven Central / jCenter > -- > > Key: CB-8348 > URL: https://issues.apache.org/jira/browse/CB-8348 > Project: Apache Cordova > Issue Type: New Feature > Components: Android >Reporter: Alan Rahlf >Assignee: Steve Gill > Labels: CordovaAndroidSix > > My app uses uses Cordova as a component, primarily the plugin support and > infrastructure for communicating with the web view from the client. For iOS, > I can add Cordova as a dependency using > [CocoaPods|https://github.com/CocoaPods/Specs/tree/master/Specs/Cordova] by > adding it to my Podfile. > I know the initial Gradle integration work is still seemingly in it's > early/beta stages, but it would eventually be nice to add that dependency on > Android in a similar fashion by adding it as a compile dependency to my > build.gradle file. Are there any plans to upload release artifacts to Maven > Central or jCenter after a release? Or can/would they be uploaded/maintained > on those repositories by the community? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
Bharath Hariharan created CB-12290: -- Summary: Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode Key: CB-12290 URL: https://issues.apache.org/jira/browse/CB-12290 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS, Plugins Affects Versions: 4.3.0 Reporter: Bharath Hariharan Priority: Critical My Cordova plugin includes a few custom framework binaries. I am trying to add them to the plugin as described here - https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. For example: I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my plugin. The framework is added correctly to the dependencies in the project and is linked correctly as well. As a result, compilation works fine. However, when I run the app, it complains with the following error message: dyld: Library not loaded: @rpath/SalesforceAnalytics.framework/SalesforceAnalytics Referenced from: /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 Reason: image not found Basically, the issue is that the custom frameworks I added in plugin.xml are not added to the 'Embedded Binaries' section, and I can't seem to find a way to do that via plugin.xml. A custom framework inclusion should automatically be added to the 'Embedded Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15813449#comment-15813449 ] Bharath Hariharan commented on CB-12290: Any updates? > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Priority: Critical > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > /> > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12290) Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode
[ https://issues.apache.org/jira/browse/CB-12290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862499#comment-15862499 ] Bharath Hariharan commented on CB-12290: Any updates? > Custom iOS Framework Not Added to 'Embedded Binaries' Section in Xcode > -- > > Key: CB-12290 > URL: https://issues.apache.org/jira/browse/CB-12290 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins >Affects Versions: 4.3.0 >Reporter: Bharath Hariharan >Priority: Critical > > My Cordova plugin includes a few custom framework binaries. I am trying to > add them to the plugin as described here - > https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework. > For example: > /> > I then use the Cordova CLI (6.4.0) to generate a Cordova app and add my > plugin. The framework is added correctly to the dependencies in the project > and is linked correctly as well. As a result, compilation works fine. > However, when I run the app, it complains with the following error message: > dyld: Library not loaded: > @rpath/SalesforceAnalytics.framework/SalesforceAnalytics > Referenced from: > /Users/bhariharan/Library/Developer/CoreSimulator/Devices/7FE0CFC8-CFFD-432B-A4BF-66E552B7D1A8/data/Containers/Bundle/Application/E2D414CF-541B-4440-9FD1-EA65414DAAA8/Test8.app/Test8 > Reason: image not found > Basically, the issue is that the custom frameworks I added in plugin.xml are > not added to the 'Embedded Binaries' section, and I can't seem to find a way > to do that via plugin.xml. > A custom framework inclusion should automatically be added to the 'Embedded > Binaries' section of the generated app in Xcode. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8348) Add Cordova Android to Maven Central / jCenter
[ https://issues.apache.org/jira/browse/CB-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864766#comment-15864766 ] Bharath Hariharan commented on CB-8348: --- [~bowserj] I sent a pull request for this feature here - https://github.com/apache/cordova-android/pull/361. > Add Cordova Android to Maven Central / jCenter > -- > > Key: CB-8348 > URL: https://issues.apache.org/jira/browse/CB-8348 > Project: Apache Cordova > Issue Type: New Feature > Components: Android >Reporter: Alan Rahlf >Assignee: Steve Gill > Labels: CordovaAndroidSix > > My app uses uses Cordova as a component, primarily the plugin support and > infrastructure for communicating with the web view from the client. For iOS, > I can add Cordova as a dependency using > [CocoaPods|https://github.com/CocoaPods/Specs/tree/master/Specs/Cordova] by > adding it to my Podfile. > I know the initial Gradle integration work is still seemingly in it's > early/beta stages, but it would eventually be nice to add that dependency on > Android in a similar fashion by adding it as a compile dependency to my > build.gradle file. Are there any plans to upload release artifacts to Maven > Central or jCenter after a release? Or can/would they be uploaded/maintained > on those repositories by the community? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8348) Add Cordova Android to Maven Central / jCenter
[ https://issues.apache.org/jira/browse/CB-8348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15864830#comment-15864830 ] Bharath Hariharan commented on CB-8348: --- With this change, the command `gradle bintrayUpload` will upload the library artifacts to `jCenter`. > Add Cordova Android to Maven Central / jCenter > -- > > Key: CB-8348 > URL: https://issues.apache.org/jira/browse/CB-8348 > Project: Apache Cordova > Issue Type: New Feature > Components: Android >Reporter: Alan Rahlf >Assignee: Steve Gill > Labels: CordovaAndroidSix > > My app uses uses Cordova as a component, primarily the plugin support and > infrastructure for communicating with the web view from the client. For iOS, > I can add Cordova as a dependency using > [CocoaPods|https://github.com/CocoaPods/Specs/tree/master/Specs/Cordova] by > adding it to my Podfile. > I know the initial Gradle integration work is still seemingly in it's > early/beta stages, but it would eventually be nice to add that dependency on > Android in a similar fashion by adding it as a compile dependency to my > build.gradle file. Are there any plans to upload release artifacts to Maven > Central or jCenter after a release? Or can/would they be uploaded/maintained > on those repositories by the community? -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org