[jira] [Commented] (CB-9275) cordova-plugin-file-transfer fails to build on WP8
[ https://issues.apache.org/jira/browse/CB-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614664#comment-14614664 ] ASF GitHub Bot commented on CB-9275: Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/91#discussion_r33911944 --- Diff: src/wp/FileTransfer.cs --- @@ -437,10 +438,10 @@ public void upload(string options) { try { -if (FileTransfer.HasJsonDotNet) +if (FileTransfer.JsonDeserializeUsingJsonNet != null) { -return JsonHelper.DeserializeHeader[](jsonHeaders,true) -.ToDictionary(header = header.Name, header = header.Value); +return ((Header[])FileTransfer.JsonDeserializeUsingJsonNet.Invoke(null, new object[] { jsonHeaders, true })) + .ToDictionary(header = header.Name, header = header.Value); --- End diff -- nit: extra space cordova-plugin-file-transfer fails to build on WP8 -- Key: CB-9275 URL: https://issues.apache.org/jira/browse/CB-9275 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 1.2.1 Reporter: Nikhil Khandelwal Assignee: Nikhil Khandelwal REPRO STEPS: 1. cordova create test 2. cordova plugin add cordova-plugin-file-transfer 3. cordova platform add wp8 4. cordova build EXPECTED RESULTS: No compile error ACTUAL RESULTS: Compile error because of referencing a type in unreleased master version of cordova-wp8. Plugins\cordova-plugin-file-transfer\FileTransfer.cs(442,28): error CS1501: No overload for method 'Deserialize' takes 2 ar guments [d:\apps\test\platforms\wp8\HelloCordova.csproj] -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8953) Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file
[ https://issues.apache.org/jira/browse/CB-8953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614859#comment-14614859 ] wei jiang commented on CB-8953: --- I have the same problem as you Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file Key: CB-8953 URL: https://issues.apache.org/jira/browse/CB-8953 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: iOS Reporter: Vinoth Kumar I just installed the CLI 5.0.0 and when I try to run, 'cordova prepare ios', it is modifying the app plist file. That is, the prepare is removing the UISupportedInterfaceOrientations key and the array list from the plist. Before Prepare: keyUISupportedInterfaceOrientations/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationPortraitUpsideDown/string /array keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array After Prepare: keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9286) cordova build android fails with [Error: Android SDK not found...]
[ https://issues.apache.org/jira/browse/CB-9286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614642#comment-14614642 ] ASF subversion and git services commented on CB-9286: - Commit 6b071c0fb2c4c2a5622b6e5d87c09a0bf9e784d6 in cordova-android's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=6b071c0 ] CB-9286 Fixes build failure when ANDROID_HOME is not set. cordova build android fails with [Error: Android SDK not found...] -- Key: CB-9286 URL: https://issues.apache.org/jira/browse/CB-9286 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.1.0 Environment: Windows, ANDROID_HOME is not set PATH doesn't include Android SDK path Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Labels: android 1. In a batch command shell: set ANDROID_HOME= (ANDROID_HOME is not set) 2. Ensure that PATH doesn't include Android SDK path 3. cordova build android ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.] EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME variable based on default installed locations on a machine. This is a regression with the check_reqs changes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9286) cordova build android fails with [Error: Android SDK not found...]
[ https://issues.apache.org/jira/browse/CB-9286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614643#comment-14614643 ] ASF GitHub Bot commented on CB-9286: Github user asfgit closed the pull request at: https://github.com/apache/cordova-android/pull/191 cordova build android fails with [Error: Android SDK not found...] -- Key: CB-9286 URL: https://issues.apache.org/jira/browse/CB-9286 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.1.0 Environment: Windows, ANDROID_HOME is not set PATH doesn't include Android SDK path Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Labels: android 1. In a batch command shell: set ANDROID_HOME= (ANDROID_HOME is not set) 2. Ensure that PATH doesn't include Android SDK path 3. cordova build android ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.] EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME variable based on default installed locations on a machine. This is a regression with the check_reqs changes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9286) cordova build android fails with [Error: Android SDK not found...]
[ https://issues.apache.org/jira/browse/CB-9286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Kotikov closed CB-9286. Resolution: Fixed cordova build android fails with [Error: Android SDK not found...] -- Key: CB-9286 URL: https://issues.apache.org/jira/browse/CB-9286 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.1.0 Environment: Windows, ANDROID_HOME is not set PATH doesn't include Android SDK path Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Labels: android 1. In a batch command shell: set ANDROID_HOME= (ANDROID_HOME is not set) 2. Ensure that PATH doesn't include Android SDK path 3. cordova build android ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.] EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME variable based on default installed locations on a machine. This is a regression with the check_reqs changes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9275) cordova-plugin-file-transfer fails to build on WP8
[ https://issues.apache.org/jira/browse/CB-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14614675#comment-14614675 ] ASF GitHub Bot commented on CB-9275: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/91#issuecomment-118762487 LGTM. cordova-plugin-file-transfer fails to build on WP8 -- Key: CB-9275 URL: https://issues.apache.org/jira/browse/CB-9275 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 1.2.1 Reporter: Nikhil Khandelwal Assignee: Nikhil Khandelwal REPRO STEPS: 1. cordova create test 2. cordova plugin add cordova-plugin-file-transfer 3. cordova platform add wp8 4. cordova build EXPECTED RESULTS: No compile error ACTUAL RESULTS: Compile error because of referencing a type in unreleased master version of cordova-wp8. Plugins\cordova-plugin-file-transfer\FileTransfer.cs(442,28): error CS1501: No overload for method 'Deserialize' takes 2 ar guments [d:\apps\test\platforms\wp8\HelloCordova.csproj] -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9293) Clean gradle build
Adriano Di Giovanni created CB-9293: --- Summary: Clean gradle build Key: CB-9293 URL: https://issues.apache.org/jira/browse/CB-9293 Project: Apache Cordova Issue Type: Wish Reporter: Adriano Di Giovanni Is there any way to clean a gradle build? If not, can you add it? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9294) Multiple target on xCode conflicts with config.xml
arlg created CB-9294: Summary: Multiple target on xCode conflicts with config.xml Key: CB-9294 URL: https://issues.apache.org/jira/browse/CB-9294 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: arlg I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Is this a bug, or something that can be fixed ? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9238) Media plugin cannot record audio on windows
[ https://issues.apache.org/jira/browse/CB-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615229#comment-14615229 ] ASF GitHub Bot commented on CB-9238: Github user daserge commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media/pull/58#discussion_r33950043 --- Diff: src/windows/MediaProxy.js --- @@ -33,8 +42,11 @@ module.exports = { create:function(win, lose, args) { var id = args[0]; var src = args[1]; +var createAudioNode = args[2]; var thisM = Media.get(id); +src = setTemporaryFsByDefault(src); --- End diff -- Addressed in https://github.com/MSOpenTech/cordova-plugin-media/commit/41d6149b7b55a6a8ce067d0a1a30ace3ca636231 Media plugin cannot record audio on windows --- Key: CB-9238 URL: https://issues.apache.org/jira/browse/CB-9238 Project: Apache Cordova Issue Type: Bug Components: Plugin Media, Windows Reporter: Alexander Sorokin Steps to reproduce: - create mobile spec app with media plugin - run mobile spec app on windows store or windows phone - go to media manual tests - click Record Audio 10 sec The result is: RecordAudio():Audio Error: 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9153) Supported platform tags look bad when width is small
[ https://issues.apache.org/jira/browse/CB-9153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murat Sutunc closed CB-9153. Assignee: Murat Sutunc Supported platform tags look bad when width is small Key: CB-9153 URL: https://issues.apache.org/jira/browse/CB-9153 Project: Apache Cordova Issue Type: Bug Components: Registry Web Reporter: Murat Sutunc Assignee: Murat Sutunc Supported platform tags on plugin cards look ugly with small width. This impacts mobile browsers. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9295) Google Analytics for Docs website
Nikhil Khandelwal created CB-9295: - Summary: Google Analytics for Docs website Key: CB-9295 URL: https://issues.apache.org/jira/browse/CB-9295 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Nikhil Khandelwal Currently, our docs website references an incorrect ID for GA. We should use the code below to add the new tracking ID. We should ideally replace the ID of *all* versions of our document - not just the current edge version Tracking ID: UA-64283057-1 {code:javascript} script (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-64283057-1', 'auto'); ga('send', 'pageview'); /script {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9275) cordova-plugin-file-transfer fails to build on WP8
[ https://issues.apache.org/jira/browse/CB-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal resolved CB-9275. --- Resolution: Fixed cordova-plugin-file-transfer fails to build on WP8 -- Key: CB-9275 URL: https://issues.apache.org/jira/browse/CB-9275 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 1.2.1 Reporter: Nikhil Khandelwal Assignee: Nikhil Khandelwal REPRO STEPS: 1. cordova create test 2. cordova plugin add cordova-plugin-file-transfer 3. cordova platform add wp8 4. cordova build EXPECTED RESULTS: No compile error ACTUAL RESULTS: Compile error because of referencing a type in unreleased master version of cordova-wp8. Plugins\cordova-plugin-file-transfer\FileTransfer.cs(442,28): error CS1501: No overload for method 'Deserialize' takes 2 ar guments [d:\apps\test\platforms\wp8\HelloCordova.csproj] -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9193) [Camera] Add option to choose from library even if source is camera
[ https://issues.apache.org/jira/browse/CB-9193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615702#comment-14615702 ] ASF GitHub Bot commented on CB-9193: Github user muratsu commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/104#issuecomment-119003640 I would like to hear everyone's opinion on this before going with the code review. Showing the photo gallery on bottom left seems like a custom view behavior for the stock Camera app. I've tried this with couple apps and none of them, except WhatsApp had similar behavior. I think we should think about enabling custom camera UI scenarios instead of adding more platform quirks. But as noted it's a big undertaking. Note: In WhatsApp nothing happens when you actually tap on the black thumbnail. Slack ![](http://i.imgur.com/EATE0mD.png) WhatsApp ![](http://i.imgur.com/IifJahp.png) Messages ![](http://i.imgur.com/bick3dw.png) [Camera] Add option to choose from library even if source is camera --- Key: CB-9193 URL: https://issues.apache.org/jira/browse/CB-9193 Project: Apache Cordova Issue Type: Improvement Components: Plugin Camera Reporter: Dan Polivy There are many scenarios where an app might allow a user to take a picture via the camera, OR choose a photo from their library. With the current camera plugin implementation, the developer must first present some type of chooser UI to allow the user to initiate either the camera, or the library. A potentially more efficient approach is to launch the camera by default, and within the camera UI provide an option to switch over to the library -- similar to the way the default Camera app works in iOS. I am working on a PR to add this functionality via a new CameraOptions setting. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9152) XHR calls in npm registry search can be optimized
[ https://issues.apache.org/jira/browse/CB-9152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murat Sutunc closed CB-9152. XHR calls in npm registry search can be optimized - Key: CB-9152 URL: https://issues.apache.org/jira/browse/CB-9152 Project: Apache Cordova Issue Type: Bug Components: Registry Web Reporter: Murat Sutunc Currently we're doing two xhr calls when getting list of plugins. The first call is needed to get number of plugins available. Second one gets the rest of the plugins. An idea is to increase the number of first XHR call to 200 (or any number tbh). And in case we still have more plugins, do the second call -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9097) cordova build windows should fail with a more descriptive error if in admin mode
[ https://issues.apache.org/jira/browse/CB-9097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murat Sutunc closed CB-9097. Assignee: Murat Sutunc cordova build windows should fail with a more descriptive error if in admin mode Key: CB-9097 URL: https://issues.apache.org/jira/browse/CB-9097 Project: Apache Cordova Issue Type: Bug Components: Windows Reporter: Murat Sutunc Assignee: Murat Sutunc `cordova run` will fail for windows if invoked from admin prompt. Currently we will wait until ActivateApplication stage and fail afterwards. We should fail fast and improve user experience. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9154) Registry search queries should be lowercased
[ https://issues.apache.org/jira/browse/CB-9154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murat Sutunc closed CB-9154. Assignee: Murat Sutunc Registry search queries should be lowercased Key: CB-9154 URL: https://issues.apache.org/jira/browse/CB-9154 Project: Apache Cordova Issue Type: Bug Components: Registry Web Reporter: Murat Sutunc Assignee: Murat Sutunc Currently we allow both uppercase and lowercase characters when searching for plugins. We should by default lowercase all the package names like npm. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9275) cordova-plugin-file-transfer fails to build on WP8
[ https://issues.apache.org/jira/browse/CB-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615308#comment-14615308 ] ASF subversion and git services commented on CB-9275: - Commit e8ca110a3026b74276f762a81bb10c4a04ade4fe in cordova-plugin-file-transfer's branch refs/heads/master from [~nikhilkh] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=e8ca110 ] CB-9275 [WP8] Fix build failure on WP8 by using reflection to detect presence of JSON.NET based serialization cordova-plugin-file-transfer fails to build on WP8 -- Key: CB-9275 URL: https://issues.apache.org/jira/browse/CB-9275 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 1.2.1 Reporter: Nikhil Khandelwal Assignee: Nikhil Khandelwal REPRO STEPS: 1. cordova create test 2. cordova plugin add cordova-plugin-file-transfer 3. cordova platform add wp8 4. cordova build EXPECTED RESULTS: No compile error ACTUAL RESULTS: Compile error because of referencing a type in unreleased master version of cordova-wp8. Plugins\cordova-plugin-file-transfer\FileTransfer.cs(442,28): error CS1501: No overload for method 'Deserialize' takes 2 ar guments [d:\apps\test\platforms\wp8\HelloCordova.csproj] -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9296) cordova prepare command strips away plugin tag
[ https://issues.apache.org/jira/browse/CB-9296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vazgen Ayrapetyan updated CB-9296: -- Description: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. It causes the plugin to not load. Also, since Im using visual studio which uses the namespace vs:plugin name=org.apache.cordova.inappbrowser version=0.6.0 / In this case it doesnt get removed (good), however the plugin still fails to load (I guess it doesnt understand the namespace, I believe it should). was: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. cordova prepare command strips away plugin tag -- Key: CB-9296 URL: https://issues.apache.org/jira/browse/CB-9296 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.1 Environment: ios Reporter: Vazgen Ayrapetyan When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. It causes the plugin to not load. Also, since Im using visual studio which uses the namespace vs:plugin name=org.apache.cordova.inappbrowser version=0.6.0 / In this case it doesnt get removed (good), however the plugin still fails to load (I guess it doesnt understand the namespace, I believe it should). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9296) cordova prepare command strips away plugin tag
[ https://issues.apache.org/jira/browse/CB-9296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vazgen Ayrapetyan updated CB-9296: -- Description: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. It causes the plugin to not load. Also, since Im using visual studio which uses the namespace vs:plugin name=org.apache.cordova.inappbrowser version=0.6.0 / In this case it doesn't get removed (good), however the plugin still fails to load (I guess it doesn't understand the namespace. I believe it should). was: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. It causes the plugin to not load. Also, since Im using visual studio which uses the namespace vs:plugin name=org.apache.cordova.inappbrowser version=0.6.0 / In this case it doesnt get removed (good), however the plugin still fails to load (I guess it doesnt understand the namespace, I believe it should). cordova prepare command strips away plugin tag -- Key: CB-9296 URL: https://issues.apache.org/jira/browse/CB-9296 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.1 Environment: ios Reporter: Vazgen Ayrapetyan When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. It causes the plugin to not load. Also, since Im using visual studio which uses the namespace vs:plugin name=org.apache.cordova.inappbrowser version=0.6.0 / In this case it doesn't get removed (good), however the plugin still fails to load (I guess it doesn't understand the namespace. I believe it should). -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9296) cordova prepare command strips away plugin tag
[ https://issues.apache.org/jira/browse/CB-9296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vazgen Ayrapetyan updated CB-9296: -- Description: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. was: When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under has no plugin tag. If I added it manually its gets removed when I run the command. cordova prepare command strips away plugin tag -- Key: CB-9296 URL: https://issues.apache.org/jira/browse/CB-9296 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.1 Environment: ios Reporter: Vazgen Ayrapetyan When I have the following tag in my config.xml file: plugin name=org.apache.cordova.inappbrowser version=0.6.0 / And I run cordova prepare ios, the resulting config.xml under platforms\ios\AppName\config.xml has no plugin tag. If I added it manually its gets removed when I run the command. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8936) Surface platform-specific logs in buildbot
[ https://issues.apache.org/jira/browse/CB-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615298#comment-14615298 ] ASF GitHub Bot commented on CB-8936: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-medic/pull/58#discussion_r33955365 --- Diff: medic/medic-run.js --- @@ -232,12 +233,18 @@ function windowsSpecificPreparation(argv) { /^\s*\$appActivator .*$/gim, $\n + --- End diff -- Mixing PS and JS in this way === gross. Surface platform-specific logs in buildbot -- Key: CB-8936 URL: https://issues.apache.org/jira/browse/CB-8936 Project: Apache Cordova Issue Type: Task Components: Medic Reporter: Alexander Sorokin Assignee: Alexander Sorokin Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for iOS etc.) should be gathered and displayed in buildbot. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-8936) Surface platform-specific logs in buildbot
[ https://issues.apache.org/jira/browse/CB-8936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615297#comment-14615297 ] ASF GitHub Bot commented on CB-8936: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-medic/pull/58#discussion_r33955321 --- Diff: medic/medic-run.js --- @@ -232,12 +233,18 @@ function windowsSpecificPreparation(argv) { /^\s*\$appActivator .*$/gim, $\n + powershell + path.join(process.cwd(), destScriptPath) + $$ID\n + +powershell + path.join(process.cwd(), logScriptPath) + \n + $Ole32 = Add-Type -MemberDefinition '[DllImport(\Ole32.dll\)]public static extern int CoAllowSetForegroundWindow(IntPtr pUnk, IntPtr lpvReserved);' -Name 'Ole32' -Namespace 'Win32' -PassThru\n + $Ole32::CoAllowSetForegroundWindow([System.Runtime.InteropServices.Marshal]::GetIUnknownForObject($appActivator), [System.IntPtr]::Zero), appUtilsPath ); } +// write current time to a file to use it when gathering logs +var now = new Date(); +var iso = now.toISOString(); +fs.writeFileSync('startTime.txt', iso, util.DEFAULT_ENCODING); --- End diff -- Are we definitely writing to a file startTime.txt? That seems like it'd be repeatedly overwritten and we'd lose data. Surface platform-specific logs in buildbot -- Key: CB-8936 URL: https://issues.apache.org/jira/browse/CB-8936 Project: Apache Cordova Issue Type: Task Components: Medic Reporter: Alexander Sorokin Assignee: Alexander Sorokin Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for iOS etc.) should be gathered and displayed in buildbot. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9275) cordova-plugin-file-transfer fails to build on WP8
[ https://issues.apache.org/jira/browse/CB-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615309#comment-14615309 ] ASF GitHub Bot commented on CB-9275: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-file-transfer/pull/91 cordova-plugin-file-transfer fails to build on WP8 -- Key: CB-9275 URL: https://issues.apache.org/jira/browse/CB-9275 Project: Apache Cordova Issue Type: Bug Components: Plugin File Transfer, WP8 Affects Versions: 1.2.1 Reporter: Nikhil Khandelwal Assignee: Nikhil Khandelwal REPRO STEPS: 1. cordova create test 2. cordova plugin add cordova-plugin-file-transfer 3. cordova platform add wp8 4. cordova build EXPECTED RESULTS: No compile error ACTUAL RESULTS: Compile error because of referencing a type in unreleased master version of cordova-wp8. Plugins\cordova-plugin-file-transfer\FileTransfer.cs(442,28): error CS1501: No overload for method 'Deserialize' takes 2 ar guments [d:\apps\test\platforms\wp8\HelloCordova.csproj] -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9296) cordova prepare command strips away plugin tag
Vazgen Ayrapetyan created CB-9296: - Summary: cordova prepare command strips away plugin tag Key: CB-9296 URL: https://issues.apache.org/jira/browse/CB-9296 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.1 Environment: ios Reporter: Vazgen Ayrapetyan -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9294) Multiple target on xCode conflicts with config.xml
[ https://issues.apache.org/jira/browse/CB-9294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] arlg updated CB-9294: - Description: I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. was: I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Is this a bug, or something that can be fixed ? Multiple target on xCode conflicts with config.xml -- Key: CB-9294 URL: https://issues.apache.org/jira/browse/CB-9294 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: arlg Labels: ios, xcode Original Estimate: 1h Remaining Estimate: 1h I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9294) Multiple target on Xcode conflicts with config.xml
[ https://issues.apache.org/jira/browse/CB-9294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9294: - Environment: iOS Component/s: (was: iOS) CLI Summary: Multiple target on Xcode conflicts with config.xml (was: Multiple target on xCode conflicts with config.xml) Multiple target on Xcode conflicts with config.xml -- Key: CB-9294 URL: https://issues.apache.org/jira/browse/CB-9294 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: Master Environment: iOS Reporter: arlg Labels: ios, xcode Original Estimate: 1h Remaining Estimate: 1h I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9179) [ios] the trueHeading property is still null after use navigator.geolocation.watchLocation()
[ https://issues.apache.org/jira/browse/CB-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9179: - Component/s: (was: iOS) [ios] the trueHeading property is still null after use navigator.geolocation.watchLocation() Key: CB-9179 URL: https://issues.apache.org/jira/browse/CB-9179 Project: Apache Cordova Issue Type: Bug Components: Plugin Device Orientation Affects Versions: 5.0.0 Environment: iOS 8.3 cordova-plugin-device-orientation 1.0.0 Reporter: Colin Bau Original Estimate: 12h Remaining Estimate: 12h according this https://github.com/apache/cordova-plugin-device-orientation it said... The trueHeading property is only returned for location services enabled via navigator.geolocation.watchLocation(). but in fact...the trueHeading property is still null after use navigator.geolocation.watchLocation() -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9294) Multiple target on Xcode conflicts with config.xml
[ https://issues.apache.org/jira/browse/CB-9294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] arlg updated CB-9294: - Description: I am using Cordova iOS v 3.8.0 Cordova is V: 5.1.1 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. was: I am using Cordova ios v 3.8.0 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. Multiple target on Xcode conflicts with config.xml -- Key: CB-9294 URL: https://issues.apache.org/jira/browse/CB-9294 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: Master Environment: iOS Reporter: arlg Labels: ios, xcode Original Estimate: 1h Remaining Estimate: 1h I am using Cordova iOS v 3.8.0 Cordova is V: 5.1.1 When I create additional targets in xCode and you launch this command line : cordova prepare ios I have this error in my Terminal : could not find -Info.plist file, or config.xml file Steps to reproduce : create an empty HelloWorld project : $ cordova create hello com.example.hello HelloWorld $ cordova platforms add ios Open the project in xcode, duplicate a target. Then do : $ cordova plugin add cordova-plugin-inappbrowser The plugin doesn't install because of the same error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-9266) cordova run for iOS does not see non-running emulators
[ https://issues.apache.org/jira/browse/CB-9266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-9266: Assignee: Shazron Abdullah cordova run for iOS does not see non-running emulators Key: CB-9266 URL: https://issues.apache.org/jira/browse/CB-9266 Project: Apache Cordova Issue Type: Bug Components: iOS Environment: Mac OS X Yosemite Reporter: Dmitry Blotsky Assignee: Shazron Abdullah Labels: ios, simulator Original Estimate: 24h Remaining Estimate: 24h Steps to reproduce: 1. Open the iOS Simulator by opening XCode and clicking {{XCode Open Developer Tool iOS Simulator}} 2. While in the simulator, open the simulator device manager by clicking {{Hardware Device Manage Devices ...}} 3. Make sure that some simulators exist, but that there is no iPhone 6 simulator 4. Create a blank Cordova app and add the iOS platform 5. Run the app without specifying a simulator Expected: running on another simulator Actual: inability to find iPhone 6 simulator -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9170) allowEdit seem not work in iOS
[ https://issues.apache.org/jira/browse/CB-9170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9170: - Component/s: (was: iOS) allowEdit seem not work in iOS -- Key: CB-9170 URL: https://issues.apache.org/jira/browse/CB-9170 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Environment: I am using Cordova Cli 5.0 with all latest core plugin Reporter: Colin Bau Labels: camera according to this https://github.com/apache/cordova-plugin-camera I am using { destinationType : Camera.DestinationType.FILE_URL, sourceType : Camera.PictureSourceType.CAMERA, encodingType: Camera.EncodingType.JPEG, targetWidth: 100, targetHeight: 100, saveToPhotoAlbum: TRUE, allowEdit : true } in Android the attribute allowEdit set to true = will show the edit window set to false = will not show the edit window but in iOS no mater true or false,seem the edit window will not show is it because that allowEdit not already support by iOS ? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9120) iOS wont open external browser
[ https://issues.apache.org/jira/browse/CB-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9120. -- Resolution: Incomplete Need repro steps. iOS wont open external browser -- Key: CB-9120 URL: https://issues.apache.org/jira/browse/CB-9120 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 5.0.0 Environment: Tested on IOS 8 Reporter: Nick Meiremans Application wont open Safari. It opens new webpage in the app. At every possible way it is impossible to start Safari. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9264) Duplicate entries in ios config.xml
[ https://issues.apache.org/jira/browse/CB-9264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9264: - Environment: iOS Component/s: (was: iOS) CLI Duplicate entries in ios config.xml --- Key: CB-9264 URL: https://issues.apache.org/jira/browse/CB-9264 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: iOS Reporter: Jackson Kearl After adding an {code:xml} preference name=KeyboardDisplayRequiersUserAction value=false/` {code} entry to app/config.xml, cordova build will create the app/platforms/ios/AppName/config.xml file with {code:xml} preference name=KeyboardDisplayRequiersUserAction value=true/ ... preference name=KeyboardDisplayRequiersUserAction value=false/ {code} The second assignment has no affect, causing the app to behave as if only the true assignment had ever occurred. Upon manually setting the first value to false, the app executes properly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9120) iOS wont open external browser
[ https://issues.apache.org/jira/browse/CB-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9120: - Summary: iOS wont open external browser (was: IOS wont open external browser) iOS wont open external browser -- Key: CB-9120 URL: https://issues.apache.org/jira/browse/CB-9120 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 5.0.0 Environment: Tested on IOS 8 Reporter: Nick Meiremans Application wont open Safari. It opens new webpage in the app. At every possible way it is impossible to start Safari. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9120) IOS wont open external browser
[ https://issues.apache.org/jira/browse/CB-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9120: - Priority: Major (was: Blocker) IOS wont open external browser -- Key: CB-9120 URL: https://issues.apache.org/jira/browse/CB-9120 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 5.0.0 Environment: Tested on IOS 8 Reporter: Nick Meiremans Application wont open Safari. It opens new webpage in the app. At every possible way it is impossible to start Safari. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9257) Memory leak
[ https://issues.apache.org/jira/browse/CB-9257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9257: - Priority: Major (was: Blocker) Memory leak --- Key: CB-9257 URL: https://issues.apache.org/jira/browse/CB-9257 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 4.0.0 Environment: Mac OSX 10.10.3 Reporter: AviFix Hi. I'm using a simple hello world plugin (https://github.com/don/cordova-plugin-hello). i'm executing a function every sec via setInterval. every time the function is executed, the memory usage grows and grows and after about 15 minutes the app crashes with a memory error Thanks allot Avi -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-8953) Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file
[ https://issues.apache.org/jira/browse/CB-8953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-8953: - Description: I just installed the CLI 5.0.0 and when I try to run, 'cordova prepare ios', it is modifying the app plist file. That is, the prepare is removing the UISupportedInterfaceOrientations key and the array list from the plist. Before Prepare: {code} keyUISupportedInterfaceOrientations/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationPortraitUpsideDown/string /array keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array {code} After Prepare: {code} keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array {code} was: I just installed the CLI 5.0.0 and when I try to run, 'cordova prepare ios', it is modifying the app plist file. That is, the prepare is removing the UISupportedInterfaceOrientations key and the array list from the plist. Before Prepare: keyUISupportedInterfaceOrientations/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationPortraitUpsideDown/string /array keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array After Prepare: keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array Cordova iOS prepare is removing UISupportedInterfaceOrientations from the plist file Key: CB-8953 URL: https://issues.apache.org/jira/browse/CB-8953 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: iOS Reporter: Vinoth Kumar I just installed the CLI 5.0.0 and when I try to run, 'cordova prepare ios', it is modifying the app plist file. That is, the prepare is removing the UISupportedInterfaceOrientations key and the array list from the plist. Before Prepare: {code} keyUISupportedInterfaceOrientations/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationPortraitUpsideDown/string /array keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array {code} After Prepare: {code} keyUISupportedInterfaceOrientations~ipad/key array stringUIInterfaceOrientationPortrait/string stringUIInterfaceOrientationLandscapeLeft/string stringUIInterfaceOrientationPortraitUpsideDown/string stringUIInterfaceOrientationLandscapeRight/string /array {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9176) Cordova 5 not handling new ios application targets in Xcode
[ https://issues.apache.org/jira/browse/CB-9176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9176: - Summary: Cordova 5 not handling new ios application targets in Xcode (was: Cordova 5 not handling new ios application targets in XCode) Cordova 5 not handling new ios application targets in Xcode --- Key: CB-9176 URL: https://issues.apache.org/jira/browse/CB-9176 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: Mac, Yosemite, XCode 6.3.2, Cordova 5.1.1 Reporter: Scott DeSapio I just upgraded to Cordova 5.1.1. Any XCode project that has more than one application target causes an error on build. $ cordova build ios could not find -Info.plist file, or config.xml file. Steps to recreate: 1. Create a new Cordova project 2. Add iOS as a platform 3. In the XCode project, duplicate the application target to create a new target 4. Run cordova build ios -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9176) Cordova 5 not handling new ios application targets in XCode
[ https://issues.apache.org/jira/browse/CB-9176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9176: - Priority: Major (was: Critical) Cordova 5 not handling new ios application targets in XCode --- Key: CB-9176 URL: https://issues.apache.org/jira/browse/CB-9176 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: Mac, Yosemite, XCode 6.3.2, Cordova 5.1.1 Reporter: Scott DeSapio I just upgraded to Cordova 5.1.1. Any XCode project that has more than one application target causes an error on build. $ cordova build ios could not find -Info.plist file, or config.xml file. Steps to recreate: 1. Create a new Cordova project 2. Add iOS as a platform 3. In the XCode project, duplicate the application target to create a new target 4. Run cordova build ios -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9176) Cordova 5 not handling new ios application targets in Xcode
[ https://issues.apache.org/jira/browse/CB-9176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9176: - Component/s: (was: iOS) CLI Cordova 5 not handling new ios application targets in Xcode --- Key: CB-9176 URL: https://issues.apache.org/jira/browse/CB-9176 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.0.0 Environment: Mac, Yosemite, XCode 6.3.2, Cordova 5.1.1 Reporter: Scott DeSapio I just upgraded to Cordova 5.1.1. Any XCode project that has more than one application target causes an error on build. $ cordova build ios could not find -Info.plist file, or config.xml file. Steps to recreate: 1. Create a new Cordova project 2. Add iOS as a platform 3. In the XCode project, duplicate the application target to create a new target 4. Run cordova build ios -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9257) Memory leak
[ https://issues.apache.org/jira/browse/CB-9257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9257. -- Resolution: Won't Fix This is not a Cordova thing, the UIWebView provided by Apple has this problem. Memory leak --- Key: CB-9257 URL: https://issues.apache.org/jira/browse/CB-9257 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 4.0.0 Environment: Mac OSX 10.10.3 Reporter: AviFix Hi. I'm using a simple hello world plugin (https://github.com/don/cordova-plugin-hello). i'm executing a function every sec via setInterval. every time the function is executed, the memory usage grows and grows and after about 15 minutes the app crashes with a memory error Thanks allot Avi -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615789#comment-14615789 ] Shazron Abdullah commented on CB-9297: -- This is a known issue with no resolution currently -- hopefully with the node/io js reconciliation we can fix things properly by then. Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9298) Plugins are no longer able to get values from config.xml
[ https://issues.apache.org/jira/browse/CB-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-9298: --- Affects Version/s: 4.0.0 Priority: Blocker (was: Major) Fix Version/s: 4.1.0 Component/s: Android Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Priority: Blocker Fix For: 4.1.0 Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615796#comment-14615796 ] Robert Churchill commented on CB-9297: -- Let's make a fork, they said. Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9300) Remove travis-ci from cordova-plugin-media
Jesse MacFadyen created CB-9300: --- Summary: Remove travis-ci from cordova-plugin-media Key: CB-9300 URL: https://issues.apache.org/jira/browse/CB-9300 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-9292) throw ConcurrentModificationException sometimes
[ https://issues.apache.org/jira/browse/CB-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615834#comment-14615834 ] Derek Chia edited comment on CB-9292 at 7/6/15 11:05 PM: - I'm using Cordova CLI version 4.1.2 and cordova android platform 3.6.4, org.apache.cordova.network-information plugin version 0.2.15 cause crash sometimes. Following devices related: Xiaomi Hongmi 2A Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Samsung Galaxy Note 3 SM-N9006 China Version Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 was (Author: snipking): I'm using Cordova CLI version 4.1.2 and cordova android platform 3.6.4 Following devices related: Xiaomi Hongmi 2A Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Samsung Galaxy Note 3 SM-N9006 China Version Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 throw ConcurrentModificationException sometimes --- Key: CB-9292 URL: https://issues.apache.org/jira/browse/CB-9292 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.6.4 Environment: Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 Reporter: Derek Chia Crashed app with Cordova Android 3.6.4 org.apache.cordova.network-information 0.2.15 Exception Stack Trace: {code} java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x410 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42e23190 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5335) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) at java.util.HashMap$ValueIterator.next(HashMap.java:838) at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271) at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:514) at org.apache.cordova.networkinformation.NetworkManager.sendUpdate(NetworkManager.java:223) at org.apache.cordova.networkinformation.NetworkManager.updateConnectionInfo(NetworkManager.java:174) at org.apache.cordova.networkinformation.NetworkManager.access$000(NetworkManager.java:38) at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:105) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:772) ... 9 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9300) Remove travis-ci from cordova-plugin-media
[ https://issues.apache.org/jira/browse/CB-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615869#comment-14615869 ] ASF GitHub Bot commented on CB-9300: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-media/pull/59 Remove travis-ci from cordova-plugin-media -- Key: CB-9300 URL: https://issues.apache.org/jira/browse/CB-9300 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9302) Remove travis-ci from cordova-plugin-network-information
Jesse MacFadyen created CB-9302: --- Summary: Remove travis-ci from cordova-plugin-network-information Key: CB-9302 URL: https://issues.apache.org/jira/browse/CB-9302 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9301) Remove travis-ci from cordova-plugin-media-capture
Jesse MacFadyen created CB-9301: --- Summary: Remove travis-ci from cordova-plugin-media-capture Key: CB-9301 URL: https://issues.apache.org/jira/browse/CB-9301 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9305) Remove travis-cli from cordova-plugin-device-motion
Jesse MacFadyen created CB-9305: --- Summary: Remove travis-cli from cordova-plugin-device-motion Key: CB-9305 URL: https://issues.apache.org/jira/browse/CB-9305 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9303) Remove travis-cli from cordova-plugin-console
Jesse MacFadyen created CB-9303: --- Summary: Remove travis-cli from cordova-plugin-console Key: CB-9303 URL: https://issues.apache.org/jira/browse/CB-9303 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9298) Plugins are no longer able to get values from config.xml
[ https://issues.apache.org/jira/browse/CB-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615943#comment-14615943 ] ASF GitHub Bot commented on CB-9298: Github user infil00p closed the pull request at: https://github.com/apache/cordova-android/pull/192 Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Priority: Blocker Fix For: 4.1.0 Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9298) Plugins are no longer able to get values from config.xml
[ https://issues.apache.org/jira/browse/CB-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615945#comment-14615945 ] ASF GitHub Bot commented on CB-9298: Github user infil00p commented on the pull request: https://github.com/apache/cordova-android/pull/192#issuecomment-119032970 Didn't read the plugin info. Closing. Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Priority: Blocker Fix For: 4.1.0 Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9292) throw ConcurrentModificationException sometimes
[ https://issues.apache.org/jira/browse/CB-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615834#comment-14615834 ] Derek Chia commented on CB-9292: I'm using Cordova CLI version 4.1.2 and cordova android platform 3.6.4 Following devices related: Xiaomi Hongmi 2A Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Samsung Galaxy Note 3 SM-N9006 China Version Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 throw ConcurrentModificationException sometimes --- Key: CB-9292 URL: https://issues.apache.org/jira/browse/CB-9292 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.6.4 Environment: Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 Reporter: Derek Chia Crashed app with Cordova Android 3.6.4 org.apache.cordova.network-information 0.2.15 Exception Stack Trace: {code} java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x410 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42e23190 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5335) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) at java.util.HashMap$ValueIterator.next(HashMap.java:838) at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271) at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:514) at org.apache.cordova.networkinformation.NetworkManager.sendUpdate(NetworkManager.java:223) at org.apache.cordova.networkinformation.NetworkManager.updateConnectionInfo(NetworkManager.java:174) at org.apache.cordova.networkinformation.NetworkManager.access$000(NetworkManager.java:38) at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:105) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:772) ... 9 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9298) Plugins are no longer able to get values from config.xml
[ https://issues.apache.org/jira/browse/CB-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615849#comment-14615849 ] ASF GitHub Bot commented on CB-9298: GitHub user infil00p opened a pull request: https://github.com/apache/cordova-android/pull/192 CB-9298: Preferences are now passed to the Cordova Interface I'm doing a pull request instead of just slamming this in because this is actually a pretty important change that will impact people. I can't figure out another way to do this, and I think this will be the least intrusive. Please look it over and let me know. You can merge this pull request into a Git repository by running: $ git pull https://github.com/infil00p/cordova-android master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-android/pull/192.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 #192 commit 2d2fc64c5a8d517c2ace068dfdeecca2b2da9935 Author: Joe Bowser bows...@apache.org Date: 2015-07-06T22:52:06Z CB-9298: Preferences are now passed to the Cordova Interface to be accessible to the plugins Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Priority: Blocker Fix For: 4.1.0 Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9304) Remove travis-cli from cordova-plugin-contacts
Jesse MacFadyen created CB-9304: --- Summary: Remove travis-cli from cordova-plugin-contacts Key: CB-9304 URL: https://issues.apache.org/jira/browse/CB-9304 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9306) Remove travis-cli from cordova-plugin-file-transfer
Jesse MacFadyen created CB-9306: --- Summary: Remove travis-cli from cordova-plugin-file-transfer Key: CB-9306 URL: https://issues.apache.org/jira/browse/CB-9306 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9308) Remove travis-cli from cordova-plugin-geolocation
Jesse MacFadyen created CB-9308: --- Summary: Remove travis-cli from cordova-plugin-geolocation Key: CB-9308 URL: https://issues.apache.org/jira/browse/CB-9308 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9307) Remove travis-cli from cordova-plugin-file
Jesse MacFadyen created CB-9307: --- Summary: Remove travis-cli from cordova-plugin-file Key: CB-9307 URL: https://issues.apache.org/jira/browse/CB-9307 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-9298) Plugins are no longer able to get values from config.xml
[ https://issues.apache.org/jira/browse/CB-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser closed CB-9298. -- Resolution: Invalid Plugins have preferences already Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 4.0.0 Reporter: Joe Bowser Assignee: Joe Bowser Priority: Blocker Fix For: 4.1.0 Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9297) Cordova CLI fails silently with iojs
[ https://issues.apache.org/jira/browse/CB-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9297: - Component/s: (was: iOS) CLI Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9298) Plugins are no longer able to get values from config.xml
Joe Bowser created CB-9298: -- Summary: Plugins are no longer able to get values from config.xml Key: CB-9298 URL: https://issues.apache.org/jira/browse/CB-9298 Project: Apache Cordova Issue Type: Bug Reporter: Joe Bowser Assignee: Joe Bowser Due to the security fix, we no longer have a way for third-party plugins to read config.xml. We need to put the preferences inside the CordovaInterface. This wasn't an issue until the CordovaInterface was separated from the CordovaActivity. Since we can't guarantee that we'll even be using a Cordova Activity with any of the WebViews, we need to make sure the Interface has the preferences when it is created. This is related to CB-9251. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9193) [Camera] Add option to choose from library even if source is camera
[ https://issues.apache.org/jira/browse/CB-9193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615808#comment-14615808 ] ASF GitHub Bot commented on CB-9193: Github user dpolivy commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/104#issuecomment-119015527 @muratsu Valid question, thanks for starting the discussion. The Android implementation is more like the Messages/Slack experience you highlight above. I think the right solution here really depends on the app and the desired user experience. For me, camera is the 90% usage scenario, but it's important to allow gallery upload, too. So the best UX is to launch right into the camera UI, with an option to fall out into the gallery. That creates an extra tap for only a smaller percentage of users, vs all users if we show a picker off the bat (e.g., like Android). Supporting better custom camera UI longer term may be a better way to solve this, but there's no way to defer that to the app developer without requiring them to go build some native components. To be honest, longer term I will likely fork this plugin, and replace the Android and Windows Phone implementations with ones using the low level camera APIs to better replicate the iOS approach, so I can build custom UIs on top of them that better match our usage scenarios. But, as a first (quicker) stab, I'm trying it this way, and wanted to give the opportunity to share this back as I can't imagine I'm the only one who would find this valuable. I'm curious to hear other's thoughts on this. Adding a more consistent picker UI which can be implemented consistently on all platforms might be a viable alternative -- BUT it kills the use case I mentioned above (which was my motivation for doing it in the first place). Plus, that can sort of be done already today by having separate buttons in your HTML UI. [Camera] Add option to choose from library even if source is camera --- Key: CB-9193 URL: https://issues.apache.org/jira/browse/CB-9193 Project: Apache Cordova Issue Type: Improvement Components: Plugin Camera Reporter: Dan Polivy There are many scenarios where an app might allow a user to take a picture via the camera, OR choose a photo from their library. With the current camera plugin implementation, the developer must first present some type of chooser UI to allow the user to initiate either the camera, or the library. A potentially more efficient approach is to launch the camera by default, and within the camera UI provide an option to switch over to the library -- similar to the way the default Camera app works in iOS. I am working on a PR to add this functionality via a new CameraOptions setting. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9299) Remove TravisCI integration from plugins
Jesse MacFadyen created CB-9299: --- Summary: Remove TravisCI integration from plugins Key: CB-9299 URL: https://issues.apache.org/jira/browse/CB-9299 Project: Apache Cordova Issue Type: Bug Reporter: Jesse MacFadyen We are seeing too many false positives here. Currently travis is very limited for this use case as it can only test ios and only on a simulator, which means when someone sends a pull request that only affects android, they may see it pass or fail on travis, even though it has nothing to do with their pr. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9300) Remove travis-ci from cordova-plugin-media
[ https://issues.apache.org/jira/browse/CB-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615863#comment-14615863 ] ASF GitHub Bot commented on CB-9300: GitHub user purplecabbage opened a pull request: https://github.com/apache/cordova-plugin-media/pull/59 CB-9300 remove spontaneous integration tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/purplecabbage/cordova-plugin-media CB-9300 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-media/pull/59.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 #59 commit 96b0a8485ce015b5fc09650fe47ae63e8965d50c Author: Jesse MacFadyen purplecabb...@gmail.com Date: 2015-07-06T23:11:25Z remove spontaneous integration tests Remove travis-ci from cordova-plugin-media -- Key: CB-9300 URL: https://issues.apache.org/jira/browse/CB-9300 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9300) Remove travis-ci from cordova-plugin-media
[ https://issues.apache.org/jira/browse/CB-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-9300. - Resolution: Fixed Remove travis-ci from cordova-plugin-media -- Key: CB-9300 URL: https://issues.apache.org/jira/browse/CB-9300 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9309) Remove travis-cli from cordova-plugin-globalization
Jesse MacFadyen created CB-9309: --- Summary: Remove travis-cli from cordova-plugin-globalization Key: CB-9309 URL: https://issues.apache.org/jira/browse/CB-9309 Project: Apache Cordova Issue Type: Sub-task Reporter: Jesse MacFadyen Assignee: Jesse MacFadyen -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9283) Windows 10: Migrate to new deployment infrastructure
[ https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615963#comment-14615963 ] ASF GitHub Bot commented on CB-9283: GitHub user robpaveza opened a pull request: https://github.com/apache/cordova-windows/pull/96 CB-9283: Add support for Windows 10 WinAppDeployCmd The Windows 10 SDK uses a new WinAppDeployCmd utility for deployment to phones. This change abstracts out the differences between Windows 8.1 and Windows 10 and the substantially different utility interfaces and factors that out into a separate deployment module. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-windows CB-9283 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-windows/pull/96.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 #96 commit 53a6b629ae3f7b646136527ef1e8ca3a83e76954 Author: Rob Paveza rob.pav...@microsoft.com Date: 2015-07-06T20:20:48Z CB-9283: Add support for Windows 10 WinAppDeployCmd for deployment to remote devices. Windows 10: Migrate to new deployment infrastructure Key: CB-9283 URL: https://issues.apache.org/jira/browse/CB-9283 Project: Apache Cordova Issue Type: Improvement Components: Windows Reporter: Rob Paveza Assignee: Rob Paveza The Windows 10 SDK includes a new deployment tool, WinAppDeployCmd, which supercedes Windows Phone 8.1's AppDeployCmd. Its command line interface is incompatible. This task is to migrate to WinAppDeployCmd. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615744#comment-14615744 ] Tony Leung commented on CB-9220: I see the same problem and file a bug. https://issues.apache.org/jira/browse/CB-9251 Related to the 4.0.2 security issue fix https://cordova.apache.org/announcements/2015/05/26/android-402.html Loading config.xml preference name=AndroidPersistentFileLocation value=Internal / is disabled. File plugin needs to address the issue. Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1) -- Key: CB-9220 URL: https://issues.apache.org/jira/browse/CB-9220 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Affects Versions: 4.1.0 Environment: HTC One M7 / Android 5.0.2 Reporter: Matthew Horn Assignee: Joe Bowser Attachments: cordova-5-config2.xml Config.xml preference name=android-installLocationvalue=internalOnly / preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){}); Version 3.7.0 FS: fileSystem.root.toURL(): file:///data/data/com.myapp.app.myapp/files/files/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 FS: fileSystem.root.toURL(): file:///storage/emulated/0/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///storage/emulated/0/ window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', function(oEntry){}) Version 3.7.0 nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 nativeURL: file:///storage/emulated/0/ This is currently breaking links to existing data, any ideas? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615744#comment-14615744 ] Tony Leung edited comment on CB-9220 at 7/6/15 10:01 PM: - I see the same problem and file a bug. https://issues.apache.org/jira/browse/CB-9251 Related to the 4.0.2 security issue fix https://cordova.apache.org/announcements/2015/05/26/android-402.html Loading config.xml preference name=AndroidPersistentFileLocation value=Internal / is disabled. File plugin needs to address the issue. I see file:///storage/emulated/0/ on my Samsung S5 and probably can not duplicate on emulator. was (Author: tl274n): I see the same problem and file a bug. https://issues.apache.org/jira/browse/CB-9251 Related to the 4.0.2 security issue fix https://cordova.apache.org/announcements/2015/05/26/android-402.html Loading config.xml preference name=AndroidPersistentFileLocation value=Internal / is disabled. File plugin needs to address the issue. Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1) -- Key: CB-9220 URL: https://issues.apache.org/jira/browse/CB-9220 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Affects Versions: 4.1.0 Environment: HTC One M7 / Android 5.0.2 Reporter: Matthew Horn Assignee: Joe Bowser Attachments: cordova-5-config2.xml Config.xml preference name=android-installLocationvalue=internalOnly / preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){}); Version 3.7.0 FS: fileSystem.root.toURL(): file:///data/data/com.myapp.app.myapp/files/files/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 FS: fileSystem.root.toURL(): file:///storage/emulated/0/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///storage/emulated/0/ window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', function(oEntry){}) Version 3.7.0 nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 nativeURL: file:///storage/emulated/0/ This is currently breaking links to existing data, any ideas? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Assigned] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
[ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-9251: -- Assignee: Joe Bowser Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems. - Key: CB-9251 URL: https://issues.apache.org/jira/browse/CB-9251 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Reporter: Tony Leung Assignee: Joe Bowser FileUtils.java Line # 97 protected String[] getExtraFileSystemsPreference(Activity activity) { String fileSystemsStr = activity.getIntent().getStringExtra(androidextrafilesystems); if (fileSystemsStr == null) { fileSystemsStr = files,files-external,documents,sdcard,cache,cache-external,root; } return fileSystemsStr.split(,); } * Line # 159 String location = activity.getIntent().getStringExtra(androidpersistentfilelocation); if (location == null) { location = compatibility; } ** -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-9292) throw ConcurrentModificationException sometimes
[ https://issues.apache.org/jira/browse/CB-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615762#comment-14615762 ] Joe Bowser edited comment on CB-9292 at 7/6/15 10:17 PM: - Cordova 4.1.0 has not been released. Can you provide any additional information regarding this issue, such as which Xiaomi device you're currently having this problem on? Also, is this issue present with the latest version of Cordova? was (Author: bowserj): Cordova 4.1.0 has not been released. Can you provide any additional information regarding this issue, such as which Xiaomi device you're currently having this problem on? throw ConcurrentModificationException sometimes --- Key: CB-9292 URL: https://issues.apache.org/jira/browse/CB-9292 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.6.4 Environment: Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 Reporter: Derek Chia Crashed app with Cordova Android 3.6.4 org.apache.cordova.network-information 0.2.15 Exception Stack Trace: {code} java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x410 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42e23190 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5335) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) at java.util.HashMap$ValueIterator.next(HashMap.java:838) at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271) at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:514) at org.apache.cordova.networkinformation.NetworkManager.sendUpdate(NetworkManager.java:223) at org.apache.cordova.networkinformation.NetworkManager.updateConnectionInfo(NetworkManager.java:174) at org.apache.cordova.networkinformation.NetworkManager.access$000(NetworkManager.java:38) at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:105) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:772) ... 9 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9292) throw ConcurrentModificationException sometimes
[ https://issues.apache.org/jira/browse/CB-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615762#comment-14615762 ] Joe Bowser commented on CB-9292: Cordova 4.1.0 has not been released. Can you provide any additional information regarding this issue, such as which Xiaomi device you're currently having this problem on? throw ConcurrentModificationException sometimes --- Key: CB-9292 URL: https://issues.apache.org/jira/browse/CB-9292 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.6.4 Environment: Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 Reporter: Derek Chia Crashed app with Cordova Android 3.6.4 org.apache.cordova.network-information 0.2.15 Exception Stack Trace: {code} java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x410 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42e23190 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5335) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) at java.util.HashMap$ValueIterator.next(HashMap.java:838) at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271) at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:514) at org.apache.cordova.networkinformation.NetworkManager.sendUpdate(NetworkManager.java:223) at org.apache.cordova.networkinformation.NetworkManager.updateConnectionInfo(NetworkManager.java:174) at org.apache.cordova.networkinformation.NetworkManager.access$000(NetworkManager.java:38) at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:105) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:772) ... 9 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9292) throw ConcurrentModificationException sometimes
[ https://issues.apache.org/jira/browse/CB-9292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-9292: --- Affects Version/s: (was: 4.1.0) 3.6.4 throw ConcurrentModificationException sometimes --- Key: CB-9292 URL: https://issues.apache.org/jira/browse/CB-9292 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.6.4 Environment: Hardware Model: 2014813 Hardware Brand: Xiaomi Hardware Product Code: 2014813 Android OS Version: 4.4.4 Hardware Model: SM-N9006 Hardware Brand: samsung Hardware Product Code: h3gzc Android OS Version: 4.4.2 Reporter: Derek Chia Crashed app with Cordova Android 3.6.4 org.apache.cordova.network-information 0.2.15 Exception Stack Trace: {code} java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x410 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42e23190 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5335) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) at java.util.HashMap$ValueIterator.next(HashMap.java:838) at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271) at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:514) at org.apache.cordova.networkinformation.NetworkManager.sendUpdate(NetworkManager.java:223) at org.apache.cordova.networkinformation.NetworkManager.updateConnectionInfo(NetworkManager.java:174) at org.apache.cordova.networkinformation.NetworkManager.access$000(NetworkManager.java:38) at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:105) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:772) ... 9 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
[ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615771#comment-14615771 ] Joe Bowser commented on CB-9251: It looks like we're going to have to make an API change to have this work. Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems. - Key: CB-9251 URL: https://issues.apache.org/jira/browse/CB-9251 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Reporter: Tony Leung Assignee: Joe Bowser FileUtils.java Line # 97 protected String[] getExtraFileSystemsPreference(Activity activity) { String fileSystemsStr = activity.getIntent().getStringExtra(androidextrafilesystems); if (fileSystemsStr == null) { fileSystemsStr = files,files-external,documents,sdcard,cache,cache-external,root; } return fileSystemsStr.split(,); } * Line # 159 String location = activity.getIntent().getStringExtra(androidpersistentfilelocation); if (location == null) { location = compatibility; } ** -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9297) Cordova CLI fails silently with iojs
Robert Churchill created CB-9297: Summary: Cordova CLI fails silently with iojs Key: CB-9297 URL: https://issues.apache.org/jira/browse/CB-9297 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 5.1.2 Environment: Cordova CLI: 5.1.1 (this isn't in your version list above) ios-deploy version: 1.7.0 ios-sim version: 4.1.1 OS: Mac OS X Yosemite Xcode version: Xcode 6.4 Build version 6E35b node (iojs): 1.8.1 Reporter: Robert Churchill Running most build tasks (emulate, run, build) for ios when node is replaced by iojs results in the build failing silently. Example: $ cordova build ios $ $ cordova build ios --verbose Generating config.xml from defaults for platform ios Calling plugman.prepare for platform ios Preparing ios project ... [seems to finish prepare (but without executing hooks) then exits] ... $ Not sure if you plan to support iojs, but at least this report might help someone googling. Unfamiliar with the Apache JIRA system so apologies if this report is in the wrong place etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
[ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-9251. Resolution: Fixed Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems. - Key: CB-9251 URL: https://issues.apache.org/jira/browse/CB-9251 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Reporter: Tony Leung Assignee: Joe Bowser FileUtils.java Line # 97 protected String[] getExtraFileSystemsPreference(Activity activity) { String fileSystemsStr = activity.getIntent().getStringExtra(androidextrafilesystems); if (fileSystemsStr == null) { fileSystemsStr = files,files-external,documents,sdcard,cache,cache-external,root; } return fileSystemsStr.split(,); } * Line # 159 String location = activity.getIntent().getStringExtra(androidpersistentfilelocation); if (location == null) { location = compatibility; } ** -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9235) Enhance check_reqs for Windows to include more checks
[ https://issues.apache.org/jira/browse/CB-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615971#comment-14615971 ] ASF GitHub Bot commented on CB-9235: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/92#discussion_r33998435 --- Diff: bin/lib/check_reqs.js --- @@ -19,15 +19,226 @@ /*jshint node:true*/ -var Q = require('Q'); +var Q = require('q'); +var os= require('os'); +var path = require('path'); +var shell = require('shelljs'); -var MSBuildTools; +var ConfigParser, MSBuildTools, Version, exec; try { +ConfigParser = require('../../template/cordova/lib/ConfigParser'); MSBuildTools = require('../../template/cordova/lib/MSBuildTools'); +exec = require('../../template/cordova/lib/exec'); +Version = require('../../template/cordova/lib/Version'); } catch (ex) { // If previous import fails, we're probably running this script // from installed platform and the module location is different. +ConfigParser = require('./ConfigParser'); MSBuildTools = require('./MSBuildTools'); +exec = require('./exec'); +Version = require('./Version'); +} + +// The constant for VS2013 Upd2 PackageVersion. See MSDN for +// reference: https://msdn.microsoft.com/en-us/library/bb164659(v=vs.120).aspx +var VS2013_UPDATE2_RC = new Version(12, 0, 30324); +var REQUIRED_VERSIONS = { +'8.0': { +os: '6.1', +msbuild: '11.0', +visualstudio: '11.0', +windowssdk: '8.0' +}, +'8.1': { +os: '6.2', +msbuild: '12.0', +visualstudio: '12.0', +windowssdk: '8.1', +phonesdk: '8.1' +}, +'10.0': { +os: '6.2', --- End diff -- Also, Windows 8 is not supported for Win10 development. You need Windows 8.1. So it needs to be the set of (6.1, 6.3, 10.0). I think you'll have to change your logic. Enhance check_reqs for Windows to include more checks - Key: CB-9235 URL: https://issues.apache.org/jira/browse/CB-9235 Project: Apache Cordova Issue Type: Bug Components: Windows Affects Versions: 4.0.0 Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov For Windows the requirements will vary depending on the version of Windows you are targeting: _8.1:_ * MSBuild * VS 2013 _Phone:_ * 8.1 Phone support – at least VS 2013 Update 2. * Phone SDK _Win 10:_ * UAP Windows SDK * VS 2015 RC+ We'll need to enhance check_reqs for Windows with more checks based on the windows-target-version and windows-phone-target-version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9235) Enhance check_reqs for Windows to include more checks
[ https://issues.apache.org/jira/browse/CB-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615975#comment-14615975 ] ASF GitHub Bot commented on CB-9235: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/92#discussion_r33998489 --- Diff: bin/lib/check_reqs.js --- @@ -19,15 +19,226 @@ /*jshint node:true*/ -var Q = require('Q'); +var Q = require('q'); +var os= require('os'); +var path = require('path'); +var shell = require('shelljs'); -var MSBuildTools; +var ConfigParser, MSBuildTools, Version, exec; try { +ConfigParser = require('../../template/cordova/lib/ConfigParser'); MSBuildTools = require('../../template/cordova/lib/MSBuildTools'); +exec = require('../../template/cordova/lib/exec'); +Version = require('../../template/cordova/lib/Version'); } catch (ex) { // If previous import fails, we're probably running this script // from installed platform and the module location is different. +ConfigParser = require('./ConfigParser'); MSBuildTools = require('./MSBuildTools'); +exec = require('./exec'); +Version = require('./Version'); +} + +// The constant for VS2013 Upd2 PackageVersion. See MSDN for +// reference: https://msdn.microsoft.com/en-us/library/bb164659(v=vs.120).aspx +var VS2013_UPDATE2_RC = new Version(12, 0, 30324); +var REQUIRED_VERSIONS = { +'8.0': { +os: '6.1', +msbuild: '11.0', +visualstudio: '11.0', +windowssdk: '8.0' +}, +'8.1': { +os: '6.2', +msbuild: '12.0', +visualstudio: '12.0', +windowssdk: '8.1', +phonesdk: '8.1' +}, +'10.0': { +os: '6.2', +msbuild: '14.0', +visualstudio: '14.0', +windowssdk: '10.0', +phonesdk: '10.0' +} +}; + +function getMinimalRequiredVersionFor (requirement) { +var config = new ConfigParser(path.join(__dirname, '..', '..', 'config.xml')); + +var windowsTargetVersion = config.getWindowsTargetVersion(); +var windowsPhoneTargetVersion = config.getWindowsPhoneTargetVersion(); +var windowsReqVersion = Version.tryParse(REQUIRED_VERSIONS[windowsTargetVersion][requirement]); +var phoneReqVersion = Version.tryParse(REQUIRED_VERSIONS[windowsPhoneTargetVersion][requirement]); + +// If we're searching for Windows SDK, we're not +// interested in Phone's version and and vice versa. +if (requirement === 'windowssdk') return windowsReqVersion; +if (requirement === 'phonesdk') return phoneReqVersion; + +// If both windowsReqVersion and phoneReqVersion is valid Versions, choose the max one +if (windowsReqVersion phoneReqVersion) { +return windowsReqVersion.gt(phoneReqVersion) ? +windowsReqVersion : +phoneReqVersion; +} + +// Otherwise return that one which is defined and valid +return windowsReqVersion || phoneReqVersion; +} + +function getHighestAppropriateVersion (versions, requiredVersion) { +return versions.map(function (version) { +return Version.tryParse(version); +}) +.sort(Version.comparer) +.filter(function (toolVersion) { +return toolVersion.gte(requiredVersion); +})[0]; +} + +/** + * Return Version object for current Windows version. User 'ver' binary or + * os.release() in case of errors. + * + * @return {Version} Version information for current OS. + */ +function getWindowsVersion() { +return exec('ver').then(function (output) { +var match = /\[Version (.*)\]\s*$/.exec(output); +return Version.fromString(match[1]); +}).fail(function () { +return Version.fromString(os.release()); +}); +} + +/** + * Lists all Visual Studio versions insalled. For VS 2013 if it present, alao + * checks if Update 2 is installed. + * + * @return {String[]} List of installed Visual Studio versions. + */ +function getInstalledVSVersions() { +// Query all keys with Install value equal to 1, then filter out +// those, which are not related to VS itself +return exec('reg query HKLM\\SOFTWARE\\Microsoft\\DevDiv\\vs\\Servicing /s /v Install /f 1 /d /e /reg:32') +.fail(function () { return ''; }) +.then(function (output) { +return output.split('\n') +.reduce(function (installedVersions, line) { +var match =
[jira] [Commented] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
[ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615972#comment-14615972 ] Joe Bowser commented on CB-9251: No API change needed, fixed. Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems. - Key: CB-9251 URL: https://issues.apache.org/jira/browse/CB-9251 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Reporter: Tony Leung Assignee: Joe Bowser FileUtils.java Line # 97 protected String[] getExtraFileSystemsPreference(Activity activity) { String fileSystemsStr = activity.getIntent().getStringExtra(androidextrafilesystems); if (fileSystemsStr == null) { fileSystemsStr = files,files-external,documents,sdcard,cache,cache-external,root; } return fileSystemsStr.split(,); } * Line # 159 String location = activity.getIntent().getStringExtra(androidpersistentfilelocation); if (location == null) { location = compatibility; } ** -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9235) Enhance check_reqs for Windows to include more checks
[ https://issues.apache.org/jira/browse/CB-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615968#comment-14615968 ] ASF GitHub Bot commented on CB-9235: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/92#discussion_r33998401 --- Diff: bin/lib/check_reqs.js --- @@ -19,15 +19,226 @@ /*jshint node:true*/ -var Q = require('Q'); +var Q = require('q'); +var os= require('os'); +var path = require('path'); +var shell = require('shelljs'); -var MSBuildTools; +var ConfigParser, MSBuildTools, Version, exec; try { +ConfigParser = require('../../template/cordova/lib/ConfigParser'); MSBuildTools = require('../../template/cordova/lib/MSBuildTools'); +exec = require('../../template/cordova/lib/exec'); +Version = require('../../template/cordova/lib/Version'); } catch (ex) { // If previous import fails, we're probably running this script // from installed platform and the module location is different. +ConfigParser = require('./ConfigParser'); MSBuildTools = require('./MSBuildTools'); +exec = require('./exec'); +Version = require('./Version'); +} + +// The constant for VS2013 Upd2 PackageVersion. See MSDN for +// reference: https://msdn.microsoft.com/en-us/library/bb164659(v=vs.120).aspx +var VS2013_UPDATE2_RC = new Version(12, 0, 30324); +var REQUIRED_VERSIONS = { +'8.0': { +os: '6.1', +msbuild: '11.0', +visualstudio: '11.0', +windowssdk: '8.0' +}, +'8.1': { +os: '6.2', +msbuild: '12.0', +visualstudio: '12.0', +windowssdk: '8.1', +phonesdk: '8.1' +}, +'10.0': { +os: '6.2', --- End diff -- I think this is incorrect, I think it's actually 6.1 (Windows 7). Enhance check_reqs for Windows to include more checks - Key: CB-9235 URL: https://issues.apache.org/jira/browse/CB-9235 Project: Apache Cordova Issue Type: Bug Components: Windows Affects Versions: 4.0.0 Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov For Windows the requirements will vary depending on the version of Windows you are targeting: _8.1:_ * MSBuild * VS 2013 _Phone:_ * 8.1 Phone support – at least VS 2013 Update 2. * Phone SDK _Win 10:_ * UAP Windows SDK * VS 2015 RC+ We'll need to enhance check_reqs for Windows with more checks based on the windows-target-version and windows-phone-target-version. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9251) Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems.
[ https://issues.apache.org/jira/browse/CB-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615970#comment-14615970 ] ASF subversion and git services commented on CB-9251: - Commit f2cac259c17672d46415676f4f651a336758c124 in cordova-plugin-file's branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=f2cac25 ] CB-9251: Changed from Intents to Preferences object as per the issue Android 4.0.2 disabled setting Preferences by intents but the latest File plugin is still using it for androidpersistentfilelocation and androidextrafilesystems. - Key: CB-9251 URL: https://issues.apache.org/jira/browse/CB-9251 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Reporter: Tony Leung Assignee: Joe Bowser FileUtils.java Line # 97 protected String[] getExtraFileSystemsPreference(Activity activity) { String fileSystemsStr = activity.getIntent().getStringExtra(androidextrafilesystems); if (fileSystemsStr == null) { fileSystemsStr = files,files-external,documents,sdcard,cache,cache-external,root; } return fileSystemsStr.split(,); } * Line # 159 String location = activity.getIntent().getStringExtra(androidpersistentfilelocation); if (location == null) { location = compatibility; } ** -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Resolved] (CB-9280) Some geolocation mobile-specs pending on real device
[ https://issues.apache.org/jira/browse/CB-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-9280. Resolution: Cannot Reproduce I can't reproduce this behaviour on the Nexus 5. If there is no network connectivity, and no way for the GPS to get signal, Geolocation will stall. Make sure that you have at least a WiFi connection, if not a full proper network connection for Geolocation to work. Also, Geolocation is handled by the device rendering engine, not any plugin. We just grant the permission to use the rendering engine's own geolocation features. Some geolocation mobile-specs pending on real device Key: CB-9280 URL: https://issues.apache.org/jira/browse/CB-9280 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin Geolocation Affects Versions: 4.0.0 Environment: Nexus 5 device Reporter: lijingjing Priority: Minor The cordova-mobile-spec auto geolocation test doesn't work anymore. real device could not pending. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-9182) WebResourceResponse is being deprecated, and needs to be updated
[ https://issues.apache.org/jira/browse/CB-9182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-9182: --- Assignee: (was: Joe Bowser) WebResourceResponse is being deprecated, and needs to be updated Key: CB-9182 URL: https://issues.apache.org/jira/browse/CB-9182 Project: Apache Cordova Issue Type: Bug Components: Android Reporter: Joe Bowser Found today when looking at SystemWebView: http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldInterceptRequest(android.webkit.WebView, android.webkit.WebResourceRequest) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9283) Windows 10: Migrate to new deployment infrastructure
[ https://issues.apache.org/jira/browse/CB-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14616002#comment-14616002 ] ASF GitHub Bot commented on CB-9283: Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/96#discussion_r33999448 --- Diff: template/cordova/lib/deployment.js --- @@ -0,0 +1,272 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + License); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ + +var Q = require('q'), +fs= require('fs'), +/* jshint ignore:start */ // 'path' only used in ignored blocks +path = require('path'), +/* jshint ignore:end */ +proc = require('child_process'); + +// neither 'exec' nor 'spawn' was sufficient because we need to pass arguments via spawn +// but also need to be able to capture stdout / stderr +function run(cmd, args, opt_cwd) { +var d = Q.defer(); +try { +var child = proc.spawn(cmd, args, {cwd: opt_cwd, maxBuffer: 1024000}); +var stdout = '', stderr = ''; +child.stdout.on('data', function(s) { stdout += s; }); +child.stderr.on('data', function(s) { stderr += s; }); +child.on('exit', function(code) { +if (code) { +d.reject(stderr); +} else { +d.resolve(stdout); +} +}); +} catch(e) { +console.error('error caught: ' + e); +d.reject(e); +} +return d.promise; +} + +function DeploymentTool() { + +} + +/** + * Determines whether the requested version of the deployment tool is available. + * @returns True if the deployment tool can function; false if not. + */ +DeploymentTool.prototype.isAvailable = function() { +return fs.existsSync(this.path); +}; + +/** + * Enumerates devices attached to the development machine. + * @returns A Promise for an array of objects, which should be passed into other functions to represent the device. + * @remarks The returned objects contain 'index', 'name', and 'type' properties indicating basic information about them, + *which is limited to the information provided by the system. Other properties may also be included, but they are + *specific to the deployment tool which created them and are likely used internally. + */ +DeploymentTool.prototype.enumerateDevices = function() { +return Q.reject('May not use DeploymentTool directly, instead get an instance from DeploymentTool.getDeploymentTool()'); +}; + +/** + * Installs an app package to the target device. + * @returns A Promise which will be fulfilled on success or rejected on failure. + * @param pathToAppxPackage The path to the .appx package to install. + * @param targetDevice An object returned from a successful call to enumerateDevices. + * @shouldLaunch Indicates whether to launch the app after installing it. + * @shouldUpdate Indicates whether to explicitly update the app, or install clean. + * @pin Optionally provided if the device requires pairing for deployment. + */ +DeploymentTool.prototype.installAppPackage = function(pathToAppxPackage, targetDevice, shouldLaunch, shouldUpdate, pin) { +return Q.reject('May not use DeploymentTool directly, instead get an instance from DeploymentTool.getDeploymentTool()'); +}; + +/** + * Uninstalls an app package from the target device. + * @returns A Promise which will be fulfilled on success or rejected on failure. + * @param packageInfo The app package name or Phone GUID representing the app. + * @param targetDevice An object returned from a successful call to enumerateDevices. + */ +DeploymentTool.prototype.uninstallAppPackage = function(packageInfo, targetDevice) { +return Q.reject('Unable to uninstall any app packages because that
[jira] [Commented] (CB-9220) Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1)
[ https://issues.apache.org/jira/browse/CB-9220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14616054#comment-14616054 ] Ian Clelland commented on CB-9220: -- Yep, looks like it was caused by that security fix, and CB-9251 is the same issue. Persistent path different from 3.7.0 to 4.0.2 (Phonegap 5.1.1) -- Key: CB-9220 URL: https://issues.apache.org/jira/browse/CB-9220 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Affects Versions: 4.1.0 Environment: HTC One M7 / Android 5.0.2 Reporter: Matthew Horn Assignee: Joe Bowser Attachments: cordova-5-config2.xml Config.xml preference name=android-installLocationvalue=internalOnly / preference name=AndroidPersistentFileLocation value=Internal / preference name=iosPersistentFileLocation value=Library / window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){}); Version 3.7.0 FS: fileSystem.root.toURL(): file:///data/data/com.myapp.app.myapp/files/files/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 FS: fileSystem.root.toURL(): file:///storage/emulated/0/ FS: fileSystem.root.toInternalURL(): cdvfile://localhost/persistent/ FS: fileSystem.root.nativeURL: file:///storage/emulated/0/ window.resolveLocalFileSystemURL('cdvfile://localhost/persistent/', function(oEntry){}) Version 3.7.0 nativeURL: file:///data/data/com.myapp.app.myapp/files/files/ Version 5.1.1 nativeURL: file:///storage/emulated/0/ This is currently breaking links to existing data, any ideas? -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9235) Enhance check_reqs for Windows to include more checks
[ https://issues.apache.org/jira/browse/CB-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615967#comment-14615967 ] ASF GitHub Bot commented on CB-9235: Github user robpaveza commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/92#discussion_r33998339 --- Diff: bin/lib/check_reqs.js --- @@ -19,15 +19,226 @@ /*jshint node:true*/ -var Q = require('Q'); +var Q = require('q'); +var os= require('os'); +var path = require('path'); +var shell = require('shelljs'); -var MSBuildTools; +var ConfigParser, MSBuildTools, Version, exec; try { +ConfigParser = require('../../template/cordova/lib/ConfigParser'); MSBuildTools = require('../../template/cordova/lib/MSBuildTools'); +exec = require('../../template/cordova/lib/exec'); +Version = require('../../template/cordova/lib/Version'); } catch (ex) { // If previous import fails, we're probably running this script // from installed platform and the module location is different. +ConfigParser = require('./ConfigParser'); MSBuildTools = require('./MSBuildTools'); +exec = require('./exec'); +Version = require('./Version'); +} + +// The constant for VS2013 Upd2 PackageVersion. See MSDN for +// reference: https://msdn.microsoft.com/en-us/library/bb164659(v=vs.120).aspx +var VS2013_UPDATE2_RC = new Version(12, 0, 30324); +var REQUIRED_VERSIONS = { +'8.0': { +os: '6.1', +msbuild: '11.0', +visualstudio: '11.0', +windowssdk: '8.0' +}, +'8.1': { +os: '6.2', +msbuild: '12.0', +visualstudio: '12.0', +windowssdk: '8.1', +phonesdk: '8.1' +}, +'10.0': { +os: '6.2', +msbuild: '14.0', +visualstudio: '14.0', +windowssdk: '10.0', +phonesdk: '10.0' +} +}; + +function getMinimalRequiredVersionFor (requirement) { +var config = new ConfigParser(path.join(__dirname, '..', '..', 'config.xml')); + +var windowsTargetVersion = config.getWindowsTargetVersion(); +var windowsPhoneTargetVersion = config.getWindowsPhoneTargetVersion(); +var windowsReqVersion = Version.tryParse(REQUIRED_VERSIONS[windowsTargetVersion][requirement]); +var phoneReqVersion = Version.tryParse(REQUIRED_VERSIONS[windowsPhoneTargetVersion][requirement]); + +// If we're searching for Windows SDK, we're not +// interested in Phone's version and and vice versa. +if (requirement === 'windowssdk') return windowsReqVersion; +if (requirement === 'phonesdk') return phoneReqVersion; + +// If both windowsReqVersion and phoneReqVersion is valid Versions, choose the max one +if (windowsReqVersion phoneReqVersion) { +return windowsReqVersion.gt(phoneReqVersion) ? +windowsReqVersion : +phoneReqVersion; +} + +// Otherwise return that one which is defined and valid +return windowsReqVersion || phoneReqVersion; +} + +function getHighestAppropriateVersion (versions, requiredVersion) { +return versions.map(function (version) { +return Version.tryParse(version); +}) +.sort(Version.comparer) +.filter(function (toolVersion) { +return toolVersion.gte(requiredVersion); +})[0]; +} + +/** + * Return Version object for current Windows version. User 'ver' binary or + * os.release() in case of errors. + * + * @return {Version} Version information for current OS. + */ +function getWindowsVersion() { +return exec('ver').then(function (output) { +var match = /\[Version (.*)\]\s*$/.exec(output); +return Version.fromString(match[1]); +}).fail(function () { +return Version.fromString(os.release()); +}); +} + +/** + * Lists all Visual Studio versions insalled. For VS 2013 if it present, alao + * checks if Update 2 is installed. + * + * @return {String[]} List of installed Visual Studio versions. + */ +function getInstalledVSVersions() { +// Query all keys with Install value equal to 1, then filter out +// those, which are not related to VS itself +return exec('reg query HKLM\\SOFTWARE\\Microsoft\\DevDiv\\vs\\Servicing /s /v Install /f 1 /d /e /reg:32') +.fail(function () { return ''; }) +.then(function (output) { +return output.split('\n') +.reduce(function (installedVersions, line) { +var match =
[jira] [Commented] (CB-9172) Android cordova run sometimes locks up the emulator
[ https://issues.apache.org/jira/browse/CB-9172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615999#comment-14615999 ] ASF GitHub Bot commented on CB-9172: Github user nikhilkh commented on the pull request: https://github.com/apache/cordova-android/pull/188#issuecomment-119036955 @dblotsky Can you please help review and merge? Android cordova run sometimes locks up the emulator - Key: CB-9172 URL: https://issues.apache.org/jira/browse/CB-9172 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: Master Environment: Android on OSX and Windows Reporter: Dmitry Blotsky Labels: adb, android Original Estimate: 48h Remaining Estimate: 48h ADB commands used in cordova run for Android don't always wait for proper success conditions on Android, sometimes calling operations at the wrong time. For example, sometimes installation happens too soon after emulator boot, and the emulator locks up. The implementation of cordova run for Android should be made more robust. A reference implementation can be found in the Jenkins Android code, here: https://github.com/jenkinsci/android-emulator-plugin/blob/master/src/main/java/hudson/plugins/android_emulator/InstallBuilder.java. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9033) Plugins fail to install on Apple Watch based Cordova project
[ https://issues.apache.org/jira/browse/CB-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615152#comment-14615152 ] ASF GitHub Bot commented on CB-9033: Github user sdesapio commented on the pull request: https://github.com/apache/cordova-lib/pull/219#issuecomment-118887096 @ogoguel You're definitely not the only one. I'm the one that posted that bug report you're referring to. Waiting patiently. Plugins fail to install on Apple Watch based Cordova project Key: CB-9033 URL: https://issues.apache.org/jira/browse/CB-9033 Project: Apache Cordova Issue Type: Bug Components: CordovaLib Affects Versions: 5.0.0 Environment: iOS Reporter: Olivier Goguel Labels: cordova-ios-4.0.x After having added the Watch Kit target to an iOS Cordova project, plugins cannot be added any more through the CLI. An error is thrown 'could not find -Info.plist file, or config.xml file. as the plugin manager is confused by the plist files from the WatchKit App and WatchKit Extension and fails to find the proper plist file of the projet. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9238) Media plugin cannot record audio on windows
[ https://issues.apache.org/jira/browse/CB-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615237#comment-14615237 ] ASF GitHub Bot commented on CB-9238: Github user daserge commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media/pull/58#discussion_r33950380 --- Diff: src/windows/MediaProxy.js --- @@ -159,7 +176,21 @@ module.exports = { var id = args[0]; var src = args[1]; -var normalizedSrc = src.replace(/\//g, '\\'); +src = setTemporaryFsByDefault(src); + +var success = function () { +Media.onStatus(id, Media.MEDIA_STATE, Media.MEDIA_RUNNING); +win(); +}; + +var error = function (reason) { +Media.onStatus(id, Media.MEDIA_ERROR, reason); +lose(reason); +}; + +// Fixing paths like: ms-appdata:///temp//recs/memos/media.m4a = ms-appdata:///temp/recs/memos/media.m4a +var normalizedSrc = src.replace(/([^\/])(\/\/)([^\/])/g, '$1/$3'); --- End diff -- uri.absoluteCanonicalUri does not handle double slashes, so I have left some regexps in the path-handling functions. Media plugin cannot record audio on windows --- Key: CB-9238 URL: https://issues.apache.org/jira/browse/CB-9238 Project: Apache Cordova Issue Type: Bug Components: Plugin Media, Windows Reporter: Alexander Sorokin Steps to reproduce: - create mobile spec app with media plugin - run mobile spec app on windows store or windows phone - go to media manual tests - click Record Audio 10 sec The result is: RecordAudio():Audio Error: 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9238) Media plugin cannot record audio on windows
[ https://issues.apache.org/jira/browse/CB-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14615231#comment-14615231 ] ASF GitHub Bot commented on CB-9238: Github user daserge commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media/pull/58#discussion_r33950096 --- Diff: src/windows/MediaProxy.js --- @@ -33,8 +42,11 @@ module.exports = { create:function(win, lose, args) { var id = args[0]; var src = args[1]; +var createAudioNode = args[2]; --- End diff -- Addressed in https://github.com/MSOpenTech/cordova-plugin-media/commit/41d6149b7b55a6a8ce067d0a1a30ace3ca636231 Media plugin cannot record audio on windows --- Key: CB-9238 URL: https://issues.apache.org/jira/browse/CB-9238 Project: Apache Cordova Issue Type: Bug Components: Plugin Media, Windows Reporter: Alexander Sorokin Steps to reproduce: - create mobile spec app with media plugin - run mobile spec app on windows store or windows phone - go to media manual tests - click Record Audio 10 sec The result is: RecordAudio():Audio Error: 1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org