[jira] [Commented] (CB-6129) [windows8] cordova cli crashed when building windows8 app
[ https://issues.apache.org/jira/browse/CB-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13924952#comment-13924952 ] Winston Fan commented on CB-6129: - I encountered this bug on Codova Version 3.3.1-0.3.1 as well. Before this crashes, when adding the win8 platform, it also crashed saying: Checking windows8 requirements... Creating windows8 project... Error: This file does not seem to be a cordova config.xml file: F:\Workplace\Cordova3.3.1\platforms\windows8\config.xml at Object.config_parser (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\src\config_parser.js:33:15) at Object.windows8_parser (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\src\metadata\windows8_parser.js:46:19) at C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\src\prepare.js:50:23 at Array.map (native) at Object.prepare (C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\src\prepare.js:48:35) at C:\Users\myuser\AppData\Roaming\npm\node_modules\cordova\src\platform.js:284:57 at ChildProcess.exithandler (child_process.js:635:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Socket.anonymous (child_process.js:948:11) [windows8] cordova cli crashed when building windows8 app - Key: CB-6129 URL: https://issues.apache.org/jira/browse/CB-6129 Project: Apache Cordova Issue Type: Bug Components: CLI, Windows 8 Affects Versions: 3.4.0 Environment: Windows 8.1 VS 2013 Reporter: Joshua Anderson Assignee: Jesse MacFadyen When building a cordova project in windows 8.1 with platform windows8, I can build from visual studio 2013 but when I try and run cordova run windows8 on the Developer Command Prompt for VS2013, I get the following error: {code} Deploying to local machine ... Attempt to uninstall previous application version... Directory : C:\Users\ander_000\programming\cordova-tests-meep\platforms\ windows8 powershell . .\\cordova\lib\WindowsStoreAppUtils.ps1; Uninstall-App io.cordova. hellocordova . : File C:\Users\ander_000\programming\cordova-tests-meep\platforms\windows8\c ordova\lib\WindowsStoreAppUtils.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:3 + . .\\cordova\lib\WindowsStoreAppUtils.ps1; Uninstall-App io.cordova.hellocordova + ~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess Uninstall-App : The term 'Uninstall-App' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:44 + . .\\cordova\lib\WindowsStoreAppUtils.ps1; Uninstall-App io.cordova.hellocordova +~ + CategoryInfo : ObjectNotFound: (Uninstall-App:String) [], Comma ndNotFoundException + FullyQualifiedErrorId : CommandNotFoundException Error: cmd: Command failed with exit code 2 at ChildProcess.whenDone (C:\Users\ander_000\AppData\Roaming\npm\node_module s\cordova\src\superspawn.js:112:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5) {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6201) Invalid full path and URI returned from fileEntry.moveTo and fileEntry.copyTo
brian johnston created CB-6201: -- Summary: Invalid full path and URI returned from fileEntry.moveTo and fileEntry.copyTo Key: CB-6201 URL: https://issues.apache.org/jira/browse/CB-6201 Project: Apache Cordova Issue Type: Bug Components: Plugin File Affects Versions: 1.1.0 Environment: I'm building Android and iOS with build.phonegap.com version 3.10. This issue is occuring on both Android and iOS. Reporter: brian johnston The path is invalid to the file passed back on success of fileEntry.moveTo and fileEntry.copy. The fileEntry.fullPath returns a partial path of just the folder and file name. The fileEntry.toURI returns an invalid URI which does not point to the file moved or copied. This issue has been reproduced on both iOS and Android with the file plugin version 1.10. The file version 1.0.0 does not have this issue. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android
[ https://issues.apache.org/jira/browse/CB-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13925007#comment-13925007 ] Marco Vereda Manchego commented on CB-5647: --- testing with 3.4.0 + Android 4.4.2 + windows 8 + node 0.10.26 I get the cordova_plugins.js file like this --- / Cordova 3.4.0 cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = []; module.exports.metadata = // TOP OF METADATA {} // BOTTOM OF METADATA }); when I try to call navigator.globalization.getPreferredLanguage it thows an undefined variable to me :-( Seems to me this file is not filled up. C:\MakeMe3D\MakeMe3Dcordova plugin add org.apache.cordova.globalization Fetching plugin org.apache.cordova.globalization via plugin registry Starting installation of org.apache.cordova.globalization for android Preparing android project org.apache.cordova.globalization installed on android. Starting installation of org.apache.cordova.globalization for wp8 Preparing wp8 project org.apache.cordova.globalization installed on wp8. cordova_plugins.js folder not populated with clobbers for Android -- Key: CB-5647 URL: https://issues.apache.org/jira/browse/CB-5647 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 3.3.0 Reporter: Greg Assignee: Mark Koudritsky If you try to run any plugin command using PhoneGap CLI, such as: phonegap local plugin add org.apache.cordova.splashscreen The cordova_plugins.js does not get updated and the JS file doesn't get added to the www/ section. Native hooks are added, but not the JS side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6202) FileTransfer onprogress event incorrect loaded value during second upload
Martin Hujer created CB-6202: Summary: FileTransfer onprogress event incorrect loaded value during second upload Key: CB-6202 URL: https://issues.apache.org/jira/browse/CB-6202 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 3.3.0 Reporter: Martin Hujer Assignee: Jesse MacFadyen I created a workaround for the problem: https://github.com/apache/cordova-plugin-file-transfer/pull/23, but there is additional work necessary: - check if my fix does not break anything - check if it works for file downloading (I'm not using it myself). -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android
[ https://issues.apache.org/jira/browse/CB-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13925007#comment-13925007 ] Marco Vereda Manchego edited comment on CB-5647 at 3/8/14 9:43 PM: --- testing with 3.4.0-rc.2 + Android 4.4.2 + windows 8 + node 0.10.26 I get the cordova_plugins.js file like this --- / Cordova 3.4.0 cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = []; module.exports.metadata = // TOP OF METADATA {} // BOTTOM OF METADATA }); when I try to call navigator.globalization.getPreferredLanguage it thows an undefined variable to me :-( Seems to me this file is not filled up. C:\MakeMe3D\MakeMe3Dcordova plugin add org.apache.cordova.globalization Fetching plugin org.apache.cordova.globalization via plugin registry Starting installation of org.apache.cordova.globalization for android Preparing android project org.apache.cordova.globalization installed on android. Starting installation of org.apache.cordova.globalization for wp8 Preparing wp8 project org.apache.cordova.globalization installed on wp8. was (Author: marco vereda): testing with 3.4.0 + Android 4.4.2 + windows 8 + node 0.10.26 I get the cordova_plugins.js file like this --- / Cordova 3.4.0 cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = []; module.exports.metadata = // TOP OF METADATA {} // BOTTOM OF METADATA }); when I try to call navigator.globalization.getPreferredLanguage it thows an undefined variable to me :-( Seems to me this file is not filled up. C:\MakeMe3D\MakeMe3Dcordova plugin add org.apache.cordova.globalization Fetching plugin org.apache.cordova.globalization via plugin registry Starting installation of org.apache.cordova.globalization for android Preparing android project org.apache.cordova.globalization installed on android. Starting installation of org.apache.cordova.globalization for wp8 Preparing wp8 project org.apache.cordova.globalization installed on wp8. cordova_plugins.js folder not populated with clobbers for Android -- Key: CB-5647 URL: https://issues.apache.org/jira/browse/CB-5647 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 3.3.0 Reporter: Greg Assignee: Mark Koudritsky If you try to run any plugin command using PhoneGap CLI, such as: phonegap local plugin add org.apache.cordova.splashscreen The cordova_plugins.js does not get updated and the JS file doesn't get added to the www/ section. Native hooks are added, but not the JS side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android
[ https://issues.apache.org/jira/browse/CB-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13925007#comment-13925007 ] Marco Vereda Manchego edited comment on CB-5647 at 3/8/14 9:52 PM: --- testing with 3.4.0-rc.2 + Android 4.4.2 + windows 8 + node 0.10.26 I get the cordova_plugins.js file like this --- / cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = []; module.exports.metadata = // TOP OF METADATA {} // BOTTOM OF METADATA }); when I try to call navigator.globalization.getPreferredLanguage it thows an undefined variable to me :-( Seems to me this file is not filled up. C:\MakeMe3D\MakeMe3Dcordova plugin add org.apache.cordova.globalization Fetching plugin org.apache.cordova.globalization via plugin registry Starting installation of org.apache.cordova.globalization for android Preparing android project org.apache.cordova.globalization installed on android. Starting installation of org.apache.cordova.globalization for wp8 Preparing wp8 project org.apache.cordova.globalization installed on wp8. was (Author: marco vereda): testing with 3.4.0-rc.2 + Android 4.4.2 + windows 8 + node 0.10.26 I get the cordova_plugins.js file like this --- / Cordova 3.4.0 cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = []; module.exports.metadata = // TOP OF METADATA {} // BOTTOM OF METADATA }); when I try to call navigator.globalization.getPreferredLanguage it thows an undefined variable to me :-( Seems to me this file is not filled up. C:\MakeMe3D\MakeMe3Dcordova plugin add org.apache.cordova.globalization Fetching plugin org.apache.cordova.globalization via plugin registry Starting installation of org.apache.cordova.globalization for android Preparing android project org.apache.cordova.globalization installed on android. Starting installation of org.apache.cordova.globalization for wp8 Preparing wp8 project org.apache.cordova.globalization installed on wp8. cordova_plugins.js folder not populated with clobbers for Android -- Key: CB-5647 URL: https://issues.apache.org/jira/browse/CB-5647 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 3.3.0 Reporter: Greg Assignee: Mark Koudritsky If you try to run any plugin command using PhoneGap CLI, such as: phonegap local plugin add org.apache.cordova.splashscreen The cordova_plugins.js does not get updated and the JS file doesn't get added to the www/ section. Native hooks are added, but not the JS side. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6190) navigator.camera.getPicture ignores quality parameter when width/height are not specified
[ https://issues.apache.org/jira/browse/CB-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Youval Bronicki updated CB-6190: Description: When calling navigator.camera.getPicture with default options except for quality, the requested quality is ignored. There is a simple work-around, replacing lines 314-315 in CDVCamera.m, : {quote} // use image unedited as requested , don't resize data = UIImageJPEGRepresentation(returnedImage, 1.0); {quote} with: {quote} // use image unedited as requested , don't resize (with compression) data = UIImageJPEGRepresentation(returnedImage, cameraPicker.quality / 100.0f); {quote} However, the code hints there may be some (undocumented?) intention to minimize processing in some situations, so this may not be a full fix. was: When calling navigator.camera.getPicture with default options except for quality, the requested quality is ignored. There is a simple work-around, replacing lines 314-315 in CDVCamera.h, : {quote} // use image unedited as requested , don't resize data = UIImageJPEGRepresentation(returnedImage, 1.0); {quote} with: {quote} // use image unedited as requested , don't resize (with compression) data = UIImageJPEGRepresentation(returnedImage, cameraPicker.quality / 100.0f); {quote} However, the code hints there may be some (undocumented?) intention to minimize processing in some situations, so this may not be a full fix. navigator.camera.getPicture ignores quality parameter when width/height are not specified - Key: CB-6190 URL: https://issues.apache.org/jira/browse/CB-6190 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Camera Reporter: Youval Bronicki When calling navigator.camera.getPicture with default options except for quality, the requested quality is ignored. There is a simple work-around, replacing lines 314-315 in CDVCamera.m, : {quote} // use image unedited as requested , don't resize data = UIImageJPEGRepresentation(returnedImage, 1.0); {quote} with: {quote} // use image unedited as requested , don't resize (with compression) data = UIImageJPEGRepresentation(returnedImage, cameraPicker.quality / 100.0f); {quote} However, the code hints there may be some (undocumented?) intention to minimize processing in some situations, so this may not be a full fix. -- This message was sent by Atlassian JIRA (v6.2#6252)