[jira] [Assigned] (CB-6223) Xcode 5.1 (5B130a) build errors
[ https://issues.apache.org/jira/browse/CB-6223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-6223: Assignee: Shazron Abdullah Xcode 5.1 (5B130a) build errors --- Key: CB-6223 URL: https://issues.apache.org/jira/browse/CB-6223 Project: Apache Cordova Issue Type: Bug Components: iOS Reporter: Blair Vanderhoof Assignee: Shazron Abdullah Attachments: 3.5.0_CordovaLib_BuildSettings.png, conditional_architectures.png cordova 3.4.0-0.1.3 Xcode Version 5.1 (5B130a) IOS 7.1 After updating command line tools, Xcode and my phone's IOS to 7.1, I can no longer build a project even when creating from scratch. I get about 12 errors, some related to plugins: {code} ... ld: warning: ignoring file /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a, missing required architecture arm64 in file /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a (2 slices) Undefined symbols for architecture arm64: _OBJC_CLASS_$_CDVPlugin, referenced from: ... {code} Lot's of Apple Mach-O Linker errors. Also see: http://stackoverflow.com/questions/22334680/xcode-5-1-libcordova-a-architecture-problems -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (CB-6234) Xcode 5.1 upgrade then compile error on IOS 7.1 (64bit)
[ https://issues.apache.org/jira/browse/CB-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-6234. -- Resolution: Duplicate Xcode 5.1 upgrade then compile error on IOS 7.1 (64bit) --- Key: CB-6234 URL: https://issues.apache.org/jira/browse/CB-6234 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.1.0 Environment: Xcode 5.1 Reporter: ETGohomes Labels: build Attachments: Screen Shot 2014-03-12 at 1.28.42 AM.png cordova 3.1.0 Xcode Version 5.1 IOS 7.1 After upgrade to Xcode 5.1, my Cordova project (v3.1.0) failed to compile on 64 bit simulator or iPhone 5S (v7.1). But the following project build has no problem:iPad mini (v7.06), iPad retina (simulator), iPad (simulator). Here is a sample of build errors: Undefined symbols for architecture arm64: _OBJC_CLASS_$_CDVPlugin, referenced from: _OBJC_CLASS_$_CDVNotification in CDVNotification.o _OBJC_METACLASS_$_CDVPlugin, referenced from: _OBJC_METACLASS_$_CDVNotification in CDVNotification.o _OBJC_METACLASS_$_CDVCommandDelegateImpl, referenced from: I read CB-6223 and not sure if it is similar issue too. Need some guidance here. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6214) [WP8] No Image-File transfer possible from captured Image cache
[ https://issues.apache.org/jira/browse/CB-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars updated CB-6214: - Description: mimeType=image/jpeg Break with ERROR Code = 1 Logfile: Var Image - [object HTMLImageElement] imageURI - x-wmapp0:/.///CapturedImagesCache/WP_20140310_007.jpg options = [x-wmapp0:\/.\/\/\/CapturedImagesCache\/WP_20140310_007.jpg,http:\/\/xxx.xxx.xx\/x\/sendtest.php,file,114-3-8-54-7488ID.jpg,image\/jpeg,{},true,false,null,1,POST,FileTransfer1069846908] The thread 0xd50 has exited with code 259 (0x103). An exception of type 'System.NotSupportedException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary An exception of type 'System.Security.SecurityException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary An error has occurred: Code = 1 upload error source http://XXX.XXX.XXX//sendtest.php upload error target x-wmapp0:/.///CapturedImagesCache/WP_20140310_007.jpg was: mimeType=image/jpeg Break with ERROR Code = 1 [WP8] No Image-File transfer possible from captured Image cache - Key: CB-6214 URL: https://issues.apache.org/jira/browse/CB-6214 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.4.0 Reporter: Lars Assignee: Jesse MacFadyen Priority: Critical mimeType=image/jpeg Break with ERROR Code = 1 Logfile: Var Image - [object HTMLImageElement] imageURI - x-wmapp0:/.///CapturedImagesCache/WP_20140310_007.jpg options = [x-wmapp0:\/.\/\/\/CapturedImagesCache\/WP_20140310_007.jpg,http:\/\/xxx.xxx.xx\/x\/sendtest.php,file,114-3-8-54-7488ID.jpg,image\/jpeg,{},true,false,null,1,POST,FileTransfer1069846908] The thread 0xd50 has exited with code 259 (0x103). An exception of type 'System.NotSupportedException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary An exception of type 'System.Security.SecurityException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary An error has occurred: Code = 1 upload error source http://XXX.XXX.XXX//sendtest.php upload error target x-wmapp0:/.///CapturedImagesCache/WP_20140310_007.jpg -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6235) Make windows.console and exceptions out working on wp8
Malte Legenhausen created CB-6235: - Summary: Make windows.console and exceptions out working on wp8 Key: CB-6235 URL: https://issues.apache.org/jira/browse/CB-6235 Project: Apache Cordova Issue Type: Improvement Components: WP8 Affects Versions: 3.4.0 Environment: Windows 8 Visual Studio Express for Windows Phone 2012 Cordova 3.4.0 Reporter: Malte Legenhausen Assignee: Jesse MacFadyen When running my cordova application in the windows phone simulator via visual studio you get no console.log and exception output cause console.log gets replaced by an noop function and no window.onerror handler is defined. Better would it be to replace it by window.console = { log: function (str) { window.external.Notify(str); } }; window.onerror = function (e) { console.log(window.onerror :: + JSON.stringify(e)); }; You get not line numbers out of this but this helps very much. I got this improvements from http://sgrebnov.blogspot.de/2012/12/debugging-cordova-apps-on-wp8.html -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6195) Mark file with the do not back up attribute not working.
[ https://issues.apache.org/jira/browse/CB-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931670#comment-13931670 ] Tom Krones commented on CB-6195: The fault might be with the file transfer download function. The file it returns doesn't have the correct full path. Mark file with the do not back up attribute not working. -- Key: CB-6195 URL: https://issues.apache.org/jira/browse/CB-6195 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin File Affects Versions: 3.4.0 Reporter: Tom Krones Assignee: Shazron Abdullah Priority: Critical I've been using the Cordova File Plugin for a while and in the past I've set files I stored to the documents folder with the do not back up attribute using the following code: theFile.setMetadata(function(){}, function(){}, { com.apple.MobileBackup: 1}); I just submitted an app which was denied from apple because that attribute wasn't being set correctly and iCloud was trying to back up those files. I don't know objective c very well but I set a few breakpoints to check that I was at least calling the plugin correctly. From what I can tell it's calling the setMetadata function in the CDVFile.m file but the setMetadataForURL function never gets called. Any help with this would be great. Right now apple is blocking my application from being approved. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6219) org.apache.cordova.keyboard@0.1.2 on iOS 7.1 caused keyboard ugly without background
[ https://issues.apache.org/jira/browse/CB-6219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931800#comment-13931800 ] ASF GitHub Bot commented on CB-6219: GitHub user ashearer opened a pull request: https://github.com/apache/cordova-plugins/pull/6 Fix keyboard background with HideFormAccessoryBar Fix CB-6219 by preventing the main keyboard from becoming transparent on iOS 7. (This looked particularly bad on iOS 7.1, where a white background would render the Shift key icons invisible.) Thanks to http://stackoverflow.com/questions/18837551/remove-keyboard-form-toolbar-on-ios7-leaves-a-blur-behind/19042392#comment28210345_19042392 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ashearer/cordova-plugins master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugins/pull/6.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6 commit de288b7a545e7ae81d334b1fc57cb5707154a02c Author: Andrew Shearer and...@ashearer.com Date: 2014-03-12T14:15:03Z Fix keyboard background with HideFormAccessoryBar Fix CB-6219 by preventing the main keyboard from becoming transparent on iOS 7. (This looked particularly bad on iOS 7.1, where a white background would render the Shift key icons invisible.) Thanks to http://stackoverflow.com/questions/18837551/remove-keyboard-form-toolbar-on-ios7-leaves-a-blur-behind/19042392#comment28210345_19042392 org.apache.cordova.keyboard@0.1.2 on iOS 7.1 caused keyboard ugly without background Key: CB-6219 URL: https://issues.apache.org/jira/browse/CB-6219 Project: Apache Cordova Issue Type: Bug Components: Plugins Environment: iOS 7.1 Reporter: 2k13yr Priority: Critical Labels: ios, ios7.1, javascript, keyboard-plugin Attachments: Screen Shot 2014-03-12 at 0.46.24.png, Screen Shot 2014-03-12 at 0.49.11.png Only single line JS Code: Keyboard.hideFormAccessoryBar(true); caused keyboard ugly without background on iOS 7.1. Normally keyboard on iOS 7.0, but the accessory bar is not completely hidden. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-1388) Add reset() to plugin API and fix callback collisions on all platforms
[ https://issues.apache.org/jira/browse/CB-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931850#comment-13931850 ] ASF GitHub Bot commented on CB-1388: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-battery-status/pull/2 Add reset() to plugin API and fix callback collisions on all platforms -- Key: CB-1388 URL: https://issues.apache.org/jira/browse/CB-1388 Project: Apache Cordova Issue Type: Bug Components: Bada, BlackBerry, CordovaJS, Qt, Tizen, webOS Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0 Reporter: Braden Shepherdson Assignee: Braden Shepherdson Fix For: 2.8.0 There are three parts to this bug. First, platform-specific: we should add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves. This won't be relevant to some platforms Second, platform-independent: the callback IDs generated on the Javascript side should be randomized in some way to prevent collisions after navigation. Otherwise a request might get the ID Service1, and before it has a chance to complete we navigate and a new request is made, also receiving Service1. Then the first response comes back and the new Service1 callback is handed the old results. Third, we should add a test for this to Mobile Spec, if possible. This is a tricky thing to reproduce reliably, unfortunately. I'll tackle the second and third parts, and Android for the first part. It would be great if people who work on other platforms would add the reset() logic, or close the platform bugs if the platform is all-Javascript and fully reloaded on navigation. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-3576) Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931852#comment-13931852 ] ASF GitHub Bot commented on CB-3576: Github user asfgit closed the pull request at: https://github.com/apache/cordova-ios/pull/59 Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser -- Key: CB-3576 URL: https://issues.apache.org/jira/browse/CB-3576 Project: Apache Cordova Issue Type: Improvement Components: Android, iOS, Plugin InAppBrowser Affects Versions: 2.7.0, 2.8.0 Environment: Android and iOS Reporter: Montyleena Priority: Minor Labels: android, https, inappbrowser,, ios, ssl Attachments: InAppBrowser.java Local https links are blocked by default in InAppBrowser (links using a local SSL certificate which can't be verified by a 3rd party). Ideally, user should be given an option to proceed or cancel the request like the default desktop/mobile browsers do. Right now, we have to overwrite the following API in Android to access such URLs but onReceivedSslError() function gets called only for the main PhoneGap window browser and not for InAppBrowser. Create a new class: public class CustomWebViewClient extends CordovaWebViewClient { public static final String LOG_TAG = Plugin; public CustomWebViewClient(DroidGap ctx) { super(ctx); Log.d(LOG_TAG, Constructor!); } @Override public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { handler.proceed(); } } In the main class, we use our custom class as a web view client CordovaWebViewClient webViewClient = new CustomWebViewClient(this); webViewClient.setWebView(this.appView); this.appView.setWebViewClient(webViewClient); And similar type of code needs to be written for iOS. InAppBrowser should pick up the SSL settings from the main web view and once we overwrite the onReceivedSslError() function, then it should allow such URLs in the InAppBrowser too. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-3384) Resource Loading API for Android
[ https://issues.apache.org/jira/browse/CB-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931851#comment-13931851 ] ASF GitHub Bot commented on CB-3384: Github user asfgit closed the pull request at: https://github.com/apache/cordova-android/pull/57 Resource Loading API for Android Key: CB-3384 URL: https://issues.apache.org/jira/browse/CB-3384 Project: Apache Cordova Issue Type: Improvement Components: Android Reporter: Andrew Grieve Assignee: Andrew Grieve Fix For: 3.2.0 Motivations: 1. Many plugins do not handle URLs correctly when they are in the form content: or file:///android_asset. 2. For the cordova-app-harness, there needs to be a way to re-route resource load requests so that the harness can load app resources while still respecting the content tag. Short Description All plugins can watch the loading of any uri's Eg: opening of files, the browser making requests to load files etc etc. In addition to watching they may assist in loading the uri's. For example, a use case here is - suppose a mimetype for a hypothetical extension .abc doesn't exist, a plugin could check the extension of a loaded uri and set the mimetype. This would now be set for all files loaded in the system. Pseudo code of the mechanism: 1. make a request 'R' to a uri. 2. loop through all plugins to see if any plugins change the request 3. if the request changes, set 'R' to this modified request and repeat step 3 4. load request 'R' and return result -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6016) capture.captureAudio is not supported on BlackBerry10
[ https://issues.apache.org/jira/browse/CB-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931886#comment-13931886 ] ASF GitHub Bot commented on CB-6016: GitHub user bryanhiggins opened a pull request: https://github.com/apache/cordova-plugin-media-capture/pull/16 CB-6016 [BlackBerry10] Add audio capture capability @rcruz r? You can merge this pull request into a Git repository by running: $ git pull https://github.com/blackberry-webworks/cordova-plugin-media-capture bb10Audio Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-media-capture/pull/16.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #16 commit e87583ec98a3343a1b8de82a354267ef58c717f6 Author: Bryan Higgins bhigg...@blackberry.com Date: 2014-03-12T15:45:23Z CB-6016 [BlackBerry10] Add audio capture capability capture.captureAudio is not supported on BlackBerry10 - Key: CB-6016 URL: https://issues.apache.org/jira/browse/CB-6016 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.3.0 Reporter: Doug Moscrop In a similar fashion to CB-117, captureAudio is stubbed out in the media-capture plugin and simply always calls error with NOT_SUPPORTED_ERROR_CODE. I suspect this may be due to the API offerings from BlackBerry - however, captureAudio is plainly listed as being supported on BlackBerry 10 in all documentation and even goes as far as to claim it will attempt to launch the voice note app and return the above error status if it is not installed. Recording works if I repackage my Android APK (built via Cordova) to a BAR and run it via the Android runtime on BB. Sincere apologies if I've missed something. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6236) Adding Android and Blackberry10 platform fails with a undefined is not a function
JennyGee created CB-6236: Summary: Adding Android and Blackberry10 platform fails with a undefined is not a function Key: CB-6236 URL: https://issues.apache.org/jira/browse/CB-6236 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: JennyGee HEAD @ 2a9ef82 creating a cordova project and adding either blackberry10 or android platform results in the following error: jgeeMac:myApp jgee$ cordova platform add blackberry10 Creating blackberry10 project... npm WARN package.json jWorkflow@0.8.0 No repository field. npm WARN package.json localize@0.4.2 No repository field. Preparing blackberry10 project TypeError: undefined is not a function at /Users/jgee/REPOS/cordova-cli/src/prepare.js:104:30 at _fulfilled (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:798:54) at self.promiseDispatch.done (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:827:30) at Promise.promise.promiseDispatch (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:760:13) at /Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:821:14 at flush (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (CB-6016) capture.captureAudio is not supported on BlackBerry10
[ https://issues.apache.org/jira/browse/CB-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins reassigned CB-6016: - Assignee: Bryan Higgins capture.captureAudio is not supported on BlackBerry10 - Key: CB-6016 URL: https://issues.apache.org/jira/browse/CB-6016 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.3.0 Reporter: Doug Moscrop Assignee: Bryan Higgins In a similar fashion to CB-117, captureAudio is stubbed out in the media-capture plugin and simply always calls error with NOT_SUPPORTED_ERROR_CODE. I suspect this may be due to the API offerings from BlackBerry - however, captureAudio is plainly listed as being supported on BlackBerry 10 in all documentation and even goes as far as to claim it will attempt to launch the voice note app and return the above error status if it is not installed. Recording works if I repackage my Android APK (built via Cordova) to a BAR and run it via the Android runtime on BB. Sincere apologies if I've missed something. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6016) capture.captureAudio is not supported on BlackBerry10
[ https://issues.apache.org/jira/browse/CB-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931938#comment-13931938 ] Bryan Higgins commented on CB-6016: --- An audio capture card was added to the platform as of 10.1. I've update the plugin to invoke this for captureAudio. It looks like the docs from BBOS were incorrectly brought over to BB10. capture.captureAudio is not supported on BlackBerry10 - Key: CB-6016 URL: https://issues.apache.org/jira/browse/CB-6016 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.3.0 Reporter: Doug Moscrop Assignee: Bryan Higgins In a similar fashion to CB-117, captureAudio is stubbed out in the media-capture plugin and simply always calls error with NOT_SUPPORTED_ERROR_CODE. I suspect this may be due to the API offerings from BlackBerry - however, captureAudio is plainly listed as being supported on BlackBerry 10 in all documentation and even goes as far as to claim it will attempt to launch the voice note app and return the above error status if it is not installed. Recording works if I repackage my Android APK (built via Cordova) to a BAR and run it via the Android runtime on BB. Sincere apologies if I've missed something. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931965#comment-13931965 ] ASF subversion and git services commented on CB-6212: - Commit 0d7bf3980516b577deae0ff7f365b5c53116cbc1 in cordova-plugin-contacts's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=0d7bf39 ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13931999#comment-13931999 ] ASF subversion and git services commented on CB-6212: - Commit 175f02ed6f19b4912eb345448d38d54c6c61d6e9 in cordova-plugin-geolocation's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=175f02e ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Closed] (CB-6236) Adding Android and Blackberry10 platform fails with a undefined is not a function
[ https://issues.apache.org/jira/browse/CB-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins closed CB-6236. - Resolution: Cannot Reproduce Need to run npm install after fetching Adding Android and Blackberry10 platform fails with a undefined is not a function --- Key: CB-6236 URL: https://issues.apache.org/jira/browse/CB-6236 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: JennyGee HEAD @ 2a9ef82 creating a cordova project and adding either blackberry10 or android platform results in the following error: jgeeMac:myApp jgee$ cordova platform add blackberry10 Creating blackberry10 project... npm WARN package.json jWorkflow@0.8.0 No repository field. npm WARN package.json localize@0.4.2 No repository field. Preparing blackberry10 project TypeError: undefined is not a function at /Users/jgee/REPOS/cordova-cli/src/prepare.js:104:30 at _fulfilled (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:798:54) at self.promiseDispatch.done (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:827:30) at Promise.promise.promiseDispatch (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:760:13) at /Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:821:14 at flush (/Users/jgee/REPOS/cordova-cli/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932025#comment-13932025 ] ASF subversion and git services commented on CB-6212: - Commit 007630da4866d867321008c6b8e1ebf57f05f259 in cordova-plugin-media-capture's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=007630d ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Jong updated CB-6212: --- Fix plugin warnings compiled under arm64 64-bit. fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Jong updated CB-6212: --- Description: Fix plugin warnings compiled under arm64 64-bit. fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-5816) FirefoxOS - add build script
[ https://issues.apache.org/jira/browse/CB-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932032#comment-13932032 ] ASF GitHub Bot commented on CB-5816: Github user zalun commented on the pull request: https://github.com/apache/cordova-firefoxos/pull/7#issuecomment-37436753 We will add an ability to create a zip of the app FirefoxOS - add build script Key: CB-5816 URL: https://issues.apache.org/jira/browse/CB-5816 Project: Apache Cordova Issue Type: Bug Components: FirefoxOS Reporter: Axel Nennker run: cordova build firefoxos output: Generating config.xml from defaults for platform firefoxos Preparing firefoxos project Compiling app on platform firefoxos via command /project/platforms/firefoxos/cordova/build events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:980:11) at Process.ChildProcess._handle.onexit (child_process.js:771:34) project$ expected output: nothing - platforms/firefoxos/cordova/build does not exist so the cordova build firefoxos command fails. Please add a build script (although it does nothing) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932051#comment-13932051 ] ASF subversion and git services commented on CB-6212: - Commit fceea502a3f7f3308247a4bb2841b60a5d902c12 in cordova-plugin-inappbrowser's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=fceea50 ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6237) Explicitly added plugin gets deleted as dependent of other plugin
Jonathan Li created CB-6237: --- Summary: Explicitly added plugin gets deleted as dependent of other plugin Key: CB-6237 URL: https://issues.apache.org/jira/browse/CB-6237 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: Jonathan Li On 3/12/14 12:58 PM, Shazron shaz...@gmail.com wrote: Just tested it with File and File-Transfer - looks like a bug. Please file it, thanks! On Wed, Mar 12, 2014 at 7:46 AM, Li, Jonathan jonathan...@sap.com wrote: When testing with cordova 3.4.0-0.1.3, if a plugin A is a dependent of plugin B, then running the following command will automatically delete plugin B from the project cordova plugin add PluginB cordova plugin add pluginA cordova plugin rm pluginB As pluginA is explicitly added into the project, unless it is explicated removed from project by using cordova plugin rm pluginA command, then it should not be deleted from the project when deleting pluginB. The test is done on iOS platform. Please let me know if this is a known issue, or whether I need to submit a bug for it Thanks Jonathan -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932059#comment-13932059 ] ASF subversion and git services commented on CB-6212: - Commit 29fa80ba5dfa27f5be4e254442d72037cf3ff71e in cordova-plugin-media's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=29fa80b ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932069#comment-13932069 ] ASF subversion and git services commented on CB-6212: - Commit 53f72d85c93341d7828300a170f99bb6905c7edd in cordova-plugin-file's branch refs/heads/dev from [~wjamesjong] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=53f72d8 ] CB-6212 iOS: fix warnings compiled under arm64 64-bit fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Issue Comment Deleted] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Jong updated CB-6212: --- Comment: was deleted (was: Fix plugin warnings compiled under arm64 64-bit.) fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix For: 3.5.0 Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6212) fix plugin warnings compiled under arm64 64-bit
[ https://issues.apache.org/jira/browse/CB-6212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Jong updated CB-6212: --- Fix Version/s: 3.5.0 fix plugin warnings compiled under arm64 64-bit --- Key: CB-6212 URL: https://issues.apache.org/jira/browse/CB-6212 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, Plugin Contacts, Plugin File, Plugin Geolocation, Plugin InAppBrowser, Plugin Media, Plugin Media Capture Reporter: James Jong Assignee: James Jong Priority: Minor Fix For: 3.5.0 Fix plugin warnings compiled under arm64 64-bit. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6016) capture.captureAudio is not supported on BlackBerry10
[ https://issues.apache.org/jira/browse/CB-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932124#comment-13932124 ] ASF GitHub Bot commented on CB-6016: Github user rcruz commented on the pull request: https://github.com/apache/cordova-plugin-media-capture/pull/16#issuecomment-37445177 r+ capture.captureAudio is not supported on BlackBerry10 - Key: CB-6016 URL: https://issues.apache.org/jira/browse/CB-6016 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.3.0 Reporter: Doug Moscrop Assignee: Bryan Higgins In a similar fashion to CB-117, captureAudio is stubbed out in the media-capture plugin and simply always calls error with NOT_SUPPORTED_ERROR_CODE. I suspect this may be due to the API offerings from BlackBerry - however, captureAudio is plainly listed as being supported on BlackBerry 10 in all documentation and even goes as far as to claim it will attempt to launch the voice note app and return the above error status if it is not installed. Recording works if I repackage my Android APK (built via Cordova) to a BAR and run it via the Android runtime on BB. Sincere apologies if I've missed something. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6211) [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values
[ https://issues.apache.org/jira/browse/CB-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932182#comment-13932182 ] ASF subversion and git services commented on CB-6211: - Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from [~martin.c.glez.glez] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ] CB-6211 'cordova info' command fixed for Windows platform Reference to JIRA issue CB-6211, the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'. github: close #137 [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values -- Key: CB-6211 URL: https://issues.apache.org/jira/browse/CB-6211 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Environment: Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit) Reporter: Martin Gonzalez Assignee: Martin Gonzalez Labels: cordova, cordova-cli, info Fix For: 3.5.0 cordova info retrieves information from the local environment: -Node version -Cordova CLI version -Config.xml -Installed platform and plugins Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value. It works well using CLI 3.4.0-0.1.3. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6211) [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values
[ https://issues.apache.org/jira/browse/CB-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932181#comment-13932181 ] ASF subversion and git services commented on CB-6211: - Commit 150323053b8a4a90532f7ec67616b2ae0cff93d3 in cordova-cli's branch refs/heads/master from [~martin.c.glez.glez] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1503230 ] CB-6211 'cordova info' command fixed for Windows platform Reference to JIRA issue CB-6211, the cordova info command it doesn't work. Cause by: Carriage return or new line. Fixed removing that carriage return from the var 'type'. github: close #137 [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values -- Key: CB-6211 URL: https://issues.apache.org/jira/browse/CB-6211 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Environment: Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit) Reporter: Martin Gonzalez Assignee: Martin Gonzalez Labels: cordova, cordova-cli, info Fix For: 3.5.0 cordova info retrieves information from the local environment: -Node version -Cordova CLI version -Config.xml -Installed platform and plugins Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value. It works well using CLI 3.4.0-0.1.3. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (CB-6211) [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values
[ https://issues.apache.org/jira/browse/CB-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Gonzalez resolved CB-6211. - Resolution: Fixed Changes merged [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values -- Key: CB-6211 URL: https://issues.apache.org/jira/browse/CB-6211 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Environment: Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit) Reporter: Martin Gonzalez Assignee: Martin Gonzalez Labels: cordova, cordova-cli, info Fix For: 3.5.0 cordova info retrieves information from the local environment: -Node version -Cordova CLI version -Config.xml -Installed platform and plugins Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value. It works well using CLI 3.4.0-0.1.3. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6211) [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values
[ https://issues.apache.org/jira/browse/CB-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932194#comment-13932194 ] ASF GitHub Bot commented on CB-6211: Github user martincgg closed the pull request at: https://github.com/apache/cordova-cli/pull/137 [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values -- Key: CB-6211 URL: https://issues.apache.org/jira/browse/CB-6211 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Environment: Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit) Reporter: Martin Gonzalez Assignee: Martin Gonzalez Labels: cordova, cordova-cli, info Fix For: 3.5.0 cordova info retrieves information from the local environment: -Node version -Cordova CLI version -Config.xml -Installed platform and plugins Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value. It works well using CLI 3.4.0-0.1.3. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Closed] (CB-6211) [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values
[ https://issues.apache.org/jira/browse/CB-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Gonzalez closed CB-6211. --- [Cordova-CLI 3.4.0-0.1.4-dev] 'cordova info' doesn't return values -- Key: CB-6211 URL: https://issues.apache.org/jira/browse/CB-6211 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Environment: Windows 7 (64 bit), Windows 8 (64 bit), Ubuntu 12.04 (32 bit) Reporter: Martin Gonzalez Assignee: Martin Gonzalez Labels: cordova, cordova-cli, info Fix For: 3.5.0 cordova info retrieves information from the local environment: -Node version -Cordova CLI version -Config.xml -Installed platform and plugins Using cordova-cli 3.4.0-0.1.4-dev it doesn't work at all, it doesn't retrieve any value. It works well using CLI 3.4.0-0.1.3. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6185) Spelling: explicitly
[ https://issues.apache.org/jira/browse/CB-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932366#comment-13932366 ] ASF subversion and git services commented on CB-6185: - Commit c5d5db79d1c51a9fd2d5080556b3b4c2ef1a76e4 in cordova-app-hello-world's branch refs/heads/master from [~jsoref] [ https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;h=c5d5db7 ] CB-6185 Spelling: explicitly github: close #7 Spelling: explicitly Key: CB-6185 URL: https://issues.apache.org/jira/browse/CB-6185 Project: Apache Cordova Issue Type: Bug Components: App Hello World Reporter: Josh Soref Assignee: Josh Soref Priority: Trivial -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6185) Spelling: explicitly
[ https://issues.apache.org/jira/browse/CB-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932367#comment-13932367 ] Marcel Kinard commented on CB-6185: --- Pull request merged. Spelling: explicitly Key: CB-6185 URL: https://issues.apache.org/jira/browse/CB-6185 Project: Apache Cordova Issue Type: Bug Components: App Hello World Reporter: Josh Soref Assignee: Josh Soref Priority: Trivial -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6208) Docs do not mention Git requirement for plugin adding
[ https://issues.apache.org/jira/browse/CB-6208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932396#comment-13932396 ] Marcel Kinard commented on CB-6208: --- I'd suggest it definitely be in the docs, and optionally be a CLI check. Ideally, both. Docs do not mention Git requirement for plugin adding - Key: CB-6208 URL: https://issues.apache.org/jira/browse/CB-6208 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Raymond Camden Priority: Minor Twice now I've run into people who have an issue adding a plugin because they don't have Git installed. While the error is pretty clear, it is in the middle of a bunch of other output and the docs should note that this is a dependancy. To be fair, it isn't necessarily something you need to run a CLI, but as soon as you add a plugin (which is pretty much *always* required now), you run into it. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6208) Docs do not mention Git requirement for plugin adding
[ https://issues.apache.org/jira/browse/CB-6208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932417#comment-13932417 ] ASF subversion and git services commented on CB-6208: - Commit 1e3311a60ca90101c73eaf338b1476e6cf93010b in cordova-docs's branch refs/heads/master from [~cmarcelk] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=1e3311a ] CB-6208 List git as a pre-req. Docs do not mention Git requirement for plugin adding - Key: CB-6208 URL: https://issues.apache.org/jira/browse/CB-6208 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Raymond Camden Priority: Minor Twice now I've run into people who have an issue adding a plugin because they don't have Git installed. While the error is pretty clear, it is in the middle of a bunch of other output and the docs should note that this is a dependancy. To be fair, it isn't necessarily something you need to run a CLI, but as soon as you add a plugin (which is pretty much *always* required now), you run into it. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-6208) Docs do not mention Git requirement for plugin adding
[ https://issues.apache.org/jira/browse/CB-6208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932422#comment-13932422 ] Marcel Kinard commented on CB-6208: --- Actually, I find it weird that the CLI uses git like this at project creation time. Would it make more sense for it to treat app-hello-world files similar to platforms that are versioned and stored in npm and cached locally? Strange as it may seem, there are app developers behind a corporate firewall without Internet access, and I think they may be broken. A change could also line up better with the shrinkwrap. Docs do not mention Git requirement for plugin adding - Key: CB-6208 URL: https://issues.apache.org/jira/browse/CB-6208 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Raymond Camden Priority: Minor Twice now I've run into people who have an issue adding a plugin because they don't have Git installed. While the error is pretty clear, it is in the middle of a bunch of other output and the docs should note that this is a dependancy. To be fair, it isn't necessarily something you need to run a CLI, but as soon as you add a plugin (which is pretty much *always* required now), you run into it. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-5477) cordova CLI can't create WP8 project with encode issue!
[ https://issues.apache.org/jira/browse/CB-5477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932458#comment-13932458 ] Jesse MacFadyen commented on CB-5477: - What is your codepage? from the comand line: chcp cordova CLI can't create WP8 project with encode issue! --- Key: CB-5477 URL: https://issues.apache.org/jira/browse/CB-5477 Project: Apache Cordova Issue Type: Bug Components: CLI, WP8 Environment: win8(simple chinese)+vs2012+wp8sdk Reporter: puchen Assignee: Jesse MacFadyen Priority: Critical Fix For: 3.5.0 descrip: C:\Windows\system32cordova -v 3.2.0-0.1.0 cordova create hello com.example.hello HelloWorld cd hello cordova platform add wp8 got errors: D:\VSProject\helloCordovacordova platform add wp8 Checking wp8 requirements... Creating wp8 project... [Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: �] Finally I found following files wmappmanifest.xml, HelloCordova.csproj, HelloCordova.sln, MainPage.xaml.cs, etc were corrupt, the start characters of file content were sth like 锘?* the cli can't parse these files I think it's an encoding issue here is sample issue https://issues.apache.org/jira/browse/CB-4618 my opinion: i check the corodova cli source code, i found it's this file .cordova\lib\wp\cordova\3.2.0\wp8\bin\create.js caused this error! in create.js file: function write(filename, contents) { var f=fso.OpenTextFile(filename, ForWriting, TristateTrue); f.Write(contents); f.Close(); } WScript OpenTextFile Method : http://msdn.microsoft.com/en-us/library/314cz14s(v=vs.84).aspx OpenTextFile Method have 4 args but fso.OpenTextFile miss a args create, OpenTextFile should open file with unicode encode,because cordova wp8 cli template project files are encode with utf-8. if we not specified encode OpenTextFile should use system default encode ascii. cordova template files were encoded with utf8, opentext and wirte with ascii, then save thems will cause encode issue! -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Assigned] (CB-4677) Cordova prepare wp8 does not copy files
[ https://issues.apache.org/jira/browse/CB-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen reassigned CB-4677: --- Assignee: Benn Mapes (was: Jesse MacFadyen) Cordova prepare wp8 does not copy files --- Key: CB-4677 URL: https://issues.apache.org/jira/browse/CB-4677 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Environment: Parallels Desktop 8 for Mac running Windows 8 Professional Reporter: Jonathan Naguin Assignee: Benn Mapes I have a small cordova-cli project for WP8. The problem I have is that cordova prepare does not copy my files from {{www}}. The project under {{platforms\wp8}} is always the default one. My output when I added the WP8 platform using CLI is: {code} Y:\Democordova --verbose platform add wp8 cordova library for wp8 already exists. No need to download. Continuing. Checking if platform wp8 passes minimum requirements... Checking wp8 requirements... Running C:\Users\username\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs (output to follow) Running bin/create for platform wp8 with command: C:\Users\username\.cordova\lib\wp\cordova\3.0.0\wp8\bin\create Y:\Demo\platfo rms\wp8 com.demo Demo (output to follow) platformRoot = C:\Users\username\.cordova\lib\wp\cordova\3.0.0\wp8 repoRoot = C:\Users\username\.cordova\lib\wp\cordova\3.0.0 Creating Cordova-WP8 Project: App Name : Demo Namespace : com.demo Path : Y:\Demo\platforms\wp8 CREATE SUCCESS : Y:\Demo\platforms\wp8 {code} I do not have any output when I run: {code} Y:\Democordova --verbose prepare wp8 {code} NOTE: - Before I had to run {{chcp 65001}} because I was getting an error this error https://issues.apache.org/jira/browse/CB-4618 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6238) [CLI][tests] log statements left in test script
[ https://issues.apache.org/jira/browse/CB-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-6238: --- Summary: [CLI][tests] log statements left in test script (was: [CLI][tests]) [CLI][tests] log statements left in test script --- Key: CB-6238 URL: https://issues.apache.org/jira/browse/CB-6238 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: Lorin Beer Assignee: Lorin Beer Priority: Minor Fix For: 3.4.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6238) [CLI][tests] log statements left in test script
[ https://issues.apache.org/jira/browse/CB-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-6238: --- Description: $ grep -r this is script 1 in . ./e2e/fixtures/hooks_bat/test/1.bat:ECHO this is script 1 in %~dp0 ./e2e/fixtures/hooks_sh/test/1.sh:echo this is script 1 in `pwd`; [CLI][tests] log statements left in test script --- Key: CB-6238 URL: https://issues.apache.org/jira/browse/CB-6238 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: Lorin Beer Assignee: Lorin Beer Priority: Minor Fix For: 3.4.0 $ grep -r this is script 1 in . ./e2e/fixtures/hooks_bat/test/1.bat:ECHO this is script 1 in %~dp0 ./e2e/fixtures/hooks_sh/test/1.sh:echo this is script 1 in `pwd`; -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CB-6238) [CLI][tests]
Lorin Beer created CB-6238: -- Summary: [CLI][tests] Key: CB-6238 URL: https://issues.apache.org/jira/browse/CB-6238 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: Lorin Beer Assignee: Lorin Beer Priority: Minor Fix For: 3.4.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CB-6238) [CLI][tests] log statements left in test script
[ https://issues.apache.org/jira/browse/CB-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-6238: --- Description: $ grep -r this is script 1 in . ./e2e/fixtures/hooks_bat/test/1.bat:ECHO this is script 1 in %~dp0 ./e2e/fixtures/hooks_sh/test/1.sh:echo this is script 1 in `pwd`; fix: removed statements from stdout the tests look for the correct firing of scripts was: $ grep -r this is script 1 in . ./e2e/fixtures/hooks_bat/test/1.bat:ECHO this is script 1 in %~dp0 ./e2e/fixtures/hooks_sh/test/1.sh:echo this is script 1 in `pwd`; fix: removed statements from stdout [CLI][tests] log statements left in test script --- Key: CB-6238 URL: https://issues.apache.org/jira/browse/CB-6238 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.4.0 Reporter: Lorin Beer Assignee: Lorin Beer Priority: Minor Fix For: 3.4.0 $ grep -r this is script 1 in . ./e2e/fixtures/hooks_bat/test/1.bat:ECHO this is script 1 in %~dp0 ./e2e/fixtures/hooks_sh/test/1.sh:echo this is script 1 in `pwd`; fix: removed statements from stdout the tests look for the correct firing of scripts -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-5130) Refactor the registry
[ https://issues.apache.org/jira/browse/CB-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932723#comment-13932723 ] ASF subversion and git services commented on CB-5130: - Commit 074012f83c437737fbd94e7d5b30aea2bed25cd1 in cordova-registry-web's branch refs/heads/refactor from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-registry-web.git;h=074012f ] CB-5130: search is working, added styles to other pages Refactor the registry - Key: CB-5130 URL: https://issues.apache.org/jira/browse/CB-5130 Project: Apache Cordova Issue Type: Improvement Components: Registry, Registry Web Reporter: Steve Gill Assignee: Steve Gill The registry web interface needs a refactor (really a start from scratch) I wanted to create a master issue to keep track of everything related to the refactor. Subtasks should be created for all of the things Feature Requests - Show readme on plugin page - Show download counts on plugin pages - New tab for popular repositories - Show new meta tag info on plugin pages (repo, issue, author, etc) [#CB-5128] -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-3576) Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932846#comment-13932846 ] ASF GitHub Bot commented on CB-3576: Github user montylee commented on the pull request: https://github.com/apache/cordova-android/pull/63#issuecomment-37497296 closing this as this needs to be fixed by the Cordova team (including user confirmation dialog) Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser -- Key: CB-3576 URL: https://issues.apache.org/jira/browse/CB-3576 Project: Apache Cordova Issue Type: Improvement Components: Android, iOS, Plugin InAppBrowser Affects Versions: 2.7.0, 2.8.0 Environment: Android and iOS Reporter: Montyleena Priority: Minor Labels: android, https, inappbrowser,, ios, ssl Attachments: InAppBrowser.java Local https links are blocked by default in InAppBrowser (links using a local SSL certificate which can't be verified by a 3rd party). Ideally, user should be given an option to proceed or cancel the request like the default desktop/mobile browsers do. Right now, we have to overwrite the following API in Android to access such URLs but onReceivedSslError() function gets called only for the main PhoneGap window browser and not for InAppBrowser. Create a new class: public class CustomWebViewClient extends CordovaWebViewClient { public static final String LOG_TAG = Plugin; public CustomWebViewClient(DroidGap ctx) { super(ctx); Log.d(LOG_TAG, Constructor!); } @Override public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { handler.proceed(); } } In the main class, we use our custom class as a web view client CordovaWebViewClient webViewClient = new CustomWebViewClient(this); webViewClient.setWebView(this.appView); this.appView.setWebViewClient(webViewClient); And similar type of code needs to be written for iOS. InAppBrowser should pick up the SSL settings from the main web view and once we overwrite the onReceivedSslError() function, then it should allow such URLs in the InAppBrowser too. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CB-3576) Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser
[ https://issues.apache.org/jira/browse/CB-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13932847#comment-13932847 ] ASF GitHub Bot commented on CB-3576: Github user montylee closed the pull request at: https://github.com/apache/cordova-android/pull/63 Add support for interstitial user confirmation of self-signed SSL certs to CordovaWebView and InAppBrowser -- Key: CB-3576 URL: https://issues.apache.org/jira/browse/CB-3576 Project: Apache Cordova Issue Type: Improvement Components: Android, iOS, Plugin InAppBrowser Affects Versions: 2.7.0, 2.8.0 Environment: Android and iOS Reporter: Montyleena Priority: Minor Labels: android, https, inappbrowser,, ios, ssl Attachments: InAppBrowser.java Local https links are blocked by default in InAppBrowser (links using a local SSL certificate which can't be verified by a 3rd party). Ideally, user should be given an option to proceed or cancel the request like the default desktop/mobile browsers do. Right now, we have to overwrite the following API in Android to access such URLs but onReceivedSslError() function gets called only for the main PhoneGap window browser and not for InAppBrowser. Create a new class: public class CustomWebViewClient extends CordovaWebViewClient { public static final String LOG_TAG = Plugin; public CustomWebViewClient(DroidGap ctx) { super(ctx); Log.d(LOG_TAG, Constructor!); } @Override public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { handler.proceed(); } } In the main class, we use our custom class as a web view client CordovaWebViewClient webViewClient = new CustomWebViewClient(this); webViewClient.setWebView(this.appView); this.appView.setWebViewClient(webViewClient); And similar type of code needs to be written for iOS. InAppBrowser should pick up the SSL settings from the main web view and once we overwrite the onReceivedSslError() function, then it should allow such URLs in the InAppBrowser too. -- This message was sent by Atlassian JIRA (v6.2#6252)