[jira] [Commented] (CB-4910) Request to reorganise configuration files
[ https://issues.apache.org/jira/browse/CB-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13863028#comment-13863028 ] Jan Becicka commented on CB-4910: - Please do such changes carefully and if possible backward compatible. For me (developer working on cordova support in the NetBeans IDE) is quite hard to follow such changes. I thought, that cordova file structure is defined here https://github.com/apache/cordova-cli. Since there is no API (or I don't know about any) this file structure is hard coded in NetBeans. If you start moving files around it will break NetBeans. I know, that this is my problem, I just want to ask you to do such changes carefully. Request to reorganise configuration files - Key: CB-4910 URL: https://issues.apache.org/jira/browse/CB-4910 Project: Apache Cordova Issue Type: Wish Components: CLI Reporter: Matt Gaunt What would be useful for future versions of Cordova projects built with the cordova-cli is: 1.) Rename .cordova folder to simply cordova this means hosting projects on github will more that likely include the cordova directory 2.) Move the config.xml file from the www diretory into the cordova directory allowing build steps / tasks / tools to replace the contents of www without breaking the build -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4991) Build Failure with notification plugins added
[ https://issues.apache.org/jira/browse/CB-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13785950#comment-13785950 ] Jan Becicka commented on CB-4991: - We had the very same issue. Build Failure with notification plugins added - Key: CB-4991 URL: https://issues.apache.org/jira/browse/CB-4991 Project: Apache Cordova Issue Type: Bug Components: Plugin Dialogs, Plugin Vibration Affects Versions: 3.1.0 Environment: iOS, OSX, Cordova 3.1.0, iOS 7 Reporter: Mike Hartington Priority: Critical Labels: cordova, ios,, phonegap, plugin Fix For: 3.1.0 Build fails when trying to compile an app with dialogs and vibration plugins installed. Errors that come up are as follow Undefined symbols for architecture armv7s: _AudioServicesRemoveSystemSoundCompletion, referenced from: _soundCompletionCallback in CDVNotification.o _AudioServicesAddSystemSoundCompletion, referenced from: _playBeep in CDVNotification.o _AudioServicesDisposeSystemSoundID, referenced from: _soundCompletionCallback in CDVNotification.o _AudioServicesCreateSystemSoundID, referenced from: _playBeep in CDVNotification.o _AudioServicesPlaySystemSound, referenced from: -[CDVVibration vibrate:] in CDVVibration.o _playBeep in CDVNotification.o ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) error: unable to open executable '/path/to/my/app.app/app -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4889) Rename all plugins org.apache.cordova.core.* to org.apache.cordova.*
[ https://issues.apache.org/jira/browse/CB-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13784890#comment-13784890 ] Jan Becicka commented on CB-4889: - You claim, that this affects version 3.1. This is not true. It affects also version 3.0 and it is bug imo: cordova -v 3.0.3 cordova plugins add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git cordova plugins [ 'org.apache.cordova.device' ] The same command with the same version gives another result when invoked in another time. This is bug imo. Is there any way for me to get the same results? If yes, please tell me. If not it is bug IMO. Rename all plugins org.apache.cordova.core.* to org.apache.cordova.* Key: CB-4889 URL: https://issues.apache.org/jira/browse/CB-4889 Project: Apache Cordova Issue Type: Bug Components: Plugin Battery Status, Plugin Camera, Plugin Console, Plugin Contacts, Plugin Device, Plugin Device Motion, Plugin Device Orientation, Plugin Dialogs, Plugin File, Plugin File Transfer, Plugin Geolocation, Plugin Globalization, Plugin InAppBrowser, Plugin Media, Plugin Media Capture, Plugin Network Information, Plugin SplashScreen, Plugin Vibration Affects Versions: 3.0.0 Reporter: Anis Kadri Assignee: Anis Kadri Fix For: 3.1.0 Get rid of the 'core' part in the plugin names. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-4601) Strange way of adding core plugins
[ https://issues.apache.org/jira/browse/CB-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Becicka updated CB-4601: Description: Cordoba plugins are now added this way cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git This is very strange way of adding core functionality to projects. I think, that natural way is to allow this: cordova plugin add org.apache.cordova.core.geolocation was: Cordoba plugins are now added this way cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git This is very strange way of adding core functionality to projects. I think, that natural way is allow this: cordova plugin add org.apache.cordova.core.geolocation Strange way of adding core plugins -- Key: CB-4601 URL: https://issues.apache.org/jira/browse/CB-4601 Project: Apache Cordova Issue Type: Improvement Components: CLI, Plugman Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Filip Maj Priority: Critical Cordoba plugins are now added this way cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git This is very strange way of adding core functionality to projects. I think, that natural way is to allow this: cordova plugin add org.apache.cordova.core.geolocation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4601) Strange way of adding core plugins
Jan Becicka created CB-4601: --- Summary: Strange way of adding core plugins Key: CB-4601 URL: https://issues.apache.org/jira/browse/CB-4601 Project: Apache Cordova Issue Type: Improvement Components: CLI, Plugman Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Filip Maj Priority: Critical Cordoba plugins are now added this way cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git This is very strange way of adding core functionality to projects. I think, that natural way is allow this: cordova plugin add org.apache.cordova.core.geolocation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4388) Config.xml of the new project does not specify icons and splash screens
[ https://issues.apache.org/jira/browse/CB-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Becicka updated CB-4388: Description: Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml And btw phonegap create pgtest com.example.hello App does reference some (why not all?) What is the difference between phonegap project and cordova project? Why are they different? was: Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml Config.xml of the new project does not specify icons and splash screens --- Key: CB-4388 URL: https://issues.apache.org/jira/browse/CB-4388 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Michael Brooks Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml And btw phonegap create pgtest com.example.hello App does reference some (why not all?) What is the difference between phonegap project and cordova project? Why are they different? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4387) cordova build - bad handling of resources (icons, splash screens)
[ https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Becicka updated CB-4387: Description: Steps to reproduce: cordova create pgtest com.example.hello App cd pgtest cordova platform add android cordova build android Resulting app has almost 8MB. The problem is, that www/res folder, which contains icons and splashscreens is completely copied into assets/www. So the resulting app contains splash screens for all possible mobile platforms, which is completely useless. Res folder should not be copied at all, because right place for resources is res/drawable. BTW I tried the same commands with phonegap. Resulting app is significantly smaller (1.7MB) but it also contains unnecessary resources in www/res. Still not understand what is the difference between phonegap local build and cordova build was: Steps to reproduce: cordova create pgtest com.example.hello App cd pgtest cordova platform add android cordova build android Resulting app has almost 8MB. The problem is, that www/res folder, which contains icons and splashscreens is completely copied into assets/www. So the resulting app contains splash screens for all possible mobile platforms, which is completely useless. Res folder should not be copied at all, because right place for resources is res/drawable. cordova build - bad handling of resources (icons, splash screens) --- Key: CB-4387 URL: https://issues.apache.org/jira/browse/CB-4387 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Filip Maj Priority: Blocker Steps to reproduce: cordova create pgtest com.example.hello App cd pgtest cordova platform add android cordova build android Resulting app has almost 8MB. The problem is, that www/res folder, which contains icons and splashscreens is completely copied into assets/www. So the resulting app contains splash screens for all possible mobile platforms, which is completely useless. Res folder should not be copied at all, because right place for resources is res/drawable. BTW I tried the same commands with phonegap. Resulting app is significantly smaller (1.7MB) but it also contains unnecessary resources in www/res. Still not understand what is the difference between phonegap local build and cordova build -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-4388) Config.xml of the new project does not specify icons and splash screens
[ https://issues.apache.org/jira/browse/CB-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Becicka updated CB-4388: Description: Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml And btw phonegap create pgtest com.example.hello App does reference some icons (why not all?) was: Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml And btw phonegap create pgtest com.example.hello App does reference some icons (why not all?) What is the difference between phonegap project and cordova project? Why are they different? Config.xml of the new project does not specify icons and splash screens --- Key: CB-4388 URL: https://issues.apache.org/jira/browse/CB-4388 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Michael Brooks Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml And btw phonegap create pgtest com.example.hello App does reference some icons (why not all?) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4378) Add icon and splash support
[ https://issues.apache.org/jira/browse/CB-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13719363#comment-13719363 ] Jan Becicka commented on CB-4378: - Thanks. Now is the difference between phonegap and cordova more and more confusing. cordova build does not move resources to appropriate location. Phonegap CLI also doesn't. So we have the same bug report in 2 bugtrackers and 2 command line tools, which do the same thing are in 2 repositories. Add icon and splash support --- Key: CB-4378 URL: https://issues.apache.org/jira/browse/CB-4378 Project: Apache Cordova Issue Type: New Feature Components: CLI Affects Versions: 3.0.0 Environment: Mac OS X Reporter: Jonathan Naguin Assignee: Filip Maj Priority: Minor It would interesting be able to specify the icons and splash resources in the config.xml. If so in the process of build could be automatically copied to the final destination in every platform. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-4387) cordova build - bad handling of resources (icons, splash screens)
[ https://issues.apache.org/jira/browse/CB-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13719298#comment-13719298 ] Jan Becicka edited comment on CB-4387 at 7/25/13 8:31 AM: -- Thanks Filip. Now I see why cordova app is much bigger. Their icons and splash screens are simply bigger. Anyway assets/www/res folder issue still remains. My confusion about phonegap vs cordova is bigger and bigger. Try to create sample app using phonegap and build it using phonegap local build android You end up with assets/www/phonegap.js and assets/www/cordova.js in resulting apk. And these 2 files seems to be identical. I really don't understand it. was (Author: jbecicka2): Thanks Filip. Now I see why cordova app is much bigger. Their icons and splash screens are simply bigger. Anyway assets/www/res folder issue still remains. cordova build - bad handling of resources (icons, splash screens) --- Key: CB-4387 URL: https://issues.apache.org/jira/browse/CB-4387 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Filip Maj Priority: Blocker Steps to reproduce: cordova create pgtest com.example.hello App cd pgtest cordova platform add android cordova build android Resulting app has almost 8MB. The problem is, that www/res folder, which contains icons and splashscreens is completely copied into assets/www. So the resulting app contains splash screens for all possible mobile platforms, which is completely useless. Res folder should not be copied at all, because right place for resources is res/drawable. BTW I tried the same commands with phonegap. Resulting app is significantly smaller (1.7MB) but it also contains unnecessary resources in www/res. Still not understand what is the difference between phonegap local build and cordova build -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4387) cordova build - bad handling of resources (icons, splash screens)
Jan Becicka created CB-4387: --- Summary: cordova build - bad handling of resources (icons, splash screens) Key: CB-4387 URL: https://issues.apache.org/jira/browse/CB-4387 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Filip Maj Priority: Blocker Steps to reproduce: cordova create pgtest com.example.hello App cd pgtest cordova platform add android cordova build android Resulting app has almost 8MB. The problem is, that www/res folder, which contains icons and splashscreens is completely copied into assets/www. So the resulting app contains splash screens for all possible mobile platforms, which is completely useless. Res folder should not be copied at all, because right place for resources is res/drawable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-4388) Config.xml of the new project does not specify icons and splash screens
Jan Becicka created CB-4388: --- Summary: Config.xml of the new project does not specify icons and splash screens Key: CB-4388 URL: https://issues.apache.org/jira/browse/CB-4388 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CLI Affects Versions: 3.0.0 Reporter: Jan Becicka Assignee: Michael Brooks Steps to reproduce: cordova create pgtest com.example.hello App Command above creates new cordova project with tons of icons and splash screens in res folder. But they are not referenced from config.xml, so they are not used. https://build.phonegap.com/docs/config-xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira