[jira] [Created] (CB-9911) coho update-release-notes doesn't work for cordova common
Steve Gill created CB-9911: -- Summary: coho update-release-notes doesn't work for cordova common Key: CB-9911 URL: https://issues.apache.org/jira/browse/CB-9911 Project: Apache Cordova Issue Type: Bug Components: Coho Reporter: Steve Gill Issue is in the findMostRecentTag function in gitutil.js. It goes through all of the tags in cordova-lib sequentially. This works fine for cordova-serve because they are last on the list. The logic works fine for cordova-common but then the reduce continues onto other git tags. It eventually returns null as that is the result of the final reduce (Which is done a serve tag). Here is some output of the execution of reduce. PREFIX: common- other tags: 0.21.11 other tags: 0.21.12 other tags: 0.21.13 other tags: 0.21.2 other tags: 0.21.4 other tags: 0.21.5-rc1 other tags: 0.21.6 other tags: 0.21.6-rc1 other tags: 0.21.6-rc2 other tags: 0.21.6-rc3 other tags: 0.21.7 other tags: 0.21.7-rc1 other tags: 0.21.8 other tags: 0.21.9 other tags: 3.7.0 other tags: 4.0.0 other tags: 4.1.1 other tags: 4.1.2 other tags: 4.2.0 other tags: 4.3.0 other tags: 4.3.1 other tags: 5.0.0 other tags: 5.1.1 other tags: 5.2.0 other tags: 5.3.1 other tags: 5.3.2 other tags: 5.3.3 other tags: cli_pre_lib 1.0.0 common-1.0.0 null null (modValue, value, modCurBest, curBest) if common-1.0.0 returning other tags: cordova-lib-0.21.3 other tags: pg.3.5.0 other tags: plugman_pre_lib other tags: serve-0.1.2 other tags: serve-0.1.3 other tags: serve-1.0.0 null As you can see, it returns null because the final item in the list is serve-1.0.0 when the return I want happened above. -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982018#comment-14982018 ] ASF GitHub Bot commented on CB-9834: Github user sgrebnov commented on the pull request: https://github.com/apache/cordova-lib/pull/329#issuecomment-152446226 lgtm :+1: > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9752) getDirectory fails on valid directory with assets filesystem
[ https://issues.apache.org/jira/browse/CB-9752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983388#comment-14983388 ] ASF GitHub Bot commented on CB-9752: Github user jasongin commented on the pull request: https://github.com/apache/cordova-plugin-file/pull/144#issuecomment-152657405 @infil00p or @riknoll can you review? > getDirectory fails on valid directory with assets filesystem > > > Key: CB-9752 > URL: https://issues.apache.org/jira/browse/CB-9752 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin File > Environment: cordova 5.3.3 > cordova android 4.0.0 > cordova-plugin-file 2.0.0 > *** using build-extras.gradle to speed up lookups (as per README.md for > plugin) *** >Reporter: Denis Babineau >Assignee: Jason Ginchereau > > The following JS snippet fails with "failed to get www directory": > window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, > function(appDir) { > appDir.getDirectory('www', {create:false}, function(wwwDir) { > console.log("success!"); > }, function() { > console.log("failed to get www directory"); > }); > }, function() { > console.log("Failed to get application directory"); > }); > I narrowed it down to AssetFilesystem.java's listAssets() method called from > isDirectory() which returns the "new String[0];" (assetPath = 'www/' in this > method) which in turn causes isDirectory() to return false. -- 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-7253) window.requestFileSystem fails when no sd card is present and non-zero value is provided for size
[ https://issues.apache.org/jira/browse/CB-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983297#comment-14983297 ] ASF GitHub Bot commented on CB-7253: GitHub user jasongin opened a pull request: https://github.com/apache/cordova-plugin-file/pull/145 CB-7253: requestFileSystem fails when no external storage is present There were 2 issues behind this bug: 1) DirectoryManager.getFreeDiskSpace() used an incorrect way of checking the free internal storage space: using a path of "/" would always result in 0 reported free space. 2) When checking whether requested space was available, the requestFileSystem() method would always check the external storage space and fallback to internal storage space, regardless of what type of filesystem (external, internal, or other) was being requested. To fix both of these issues, I've added a new getFreeSpaceInBytes() method on the FileSystem base class, which is called on the actual filesystem instance being retrieved by requestFileSystem(). The new method for getting free space always uses the filesystem's correct root path, so it works for internal, external or any other Android storage filesystem. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jasongin/cordova-plugin-file CB-7253 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file/pull/145.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 #145 commit 4097a9855653aaf7f62806c06f1ae0502a29fbad Author: Jason GinchereauDate: 2015-10-30T20:15:47Z CB-7253: requestFileSystem fails when no external storage is present There were 2 issues behind this bug: 1) DirectoryManager.getFreeDiskSpace() used an incorrect way of checking the free internal storage space: using a path of "/" would always result in 0 reported free space. 2) When checking whether requested space was available, the requestFileSystem() method would always check the external storage space and fallback to internal storage space, regardless of what type of filesystem (external, internal, or other) was being requested. To fix both of these issues, I've added a new getFreeSpaceInBytes() method on the FileSystem base class, which is called on the actual filesystem instance being retrieved by requestFileSystem(). The new method for getting free space always uses the filesystem's correct root path, so it works for internal, external or any other Android storage filesystem. > window.requestFileSystem fails when no sd card is present and non-zero value > is provided for size > - > > Key: CB-7253 > URL: https://issues.apache.org/jira/browse/CB-7253 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File >Affects Versions: 3.5.0 > Environment: I discovered this issue on a Nexus7 emulator running > android 4.4.2 with no sd card. >Reporter: Vincent Scuorzo >Assignee: Jason Ginchereau >Priority: Minor > Labels: easyfix > > The problem is that when no external storage is present the size parameter is > compared to the available storage space on the internal file system which is > incorrectly reported as 0. After reading a post on stack overflow > (http://stackoverflow.com/questions/4799643/getting-all-the-total-and-available-space-on-android) > I noticed that they were checking available space in a different way so I > tried it and the issue went away. > You can see this bug in action by setting up an emulator as I described and > running an app with the file plugin that can execute the following javascript: > window.requestFileSystem(PERSISTENT, 1024, function(fs){ console.log(fs); }, > function(e){ console.log(e); }); > With the current release you will get an error related to reaching the > storage quota since the available space is reported incorrectly. Change line > 72 of src/android/DirectoryManager.java to read the following: > freeSpace = > freeSpaceCalculation(Environment.getRootDirectory().getAbsolutePath()); > Run the same line of javascript as before and you will now have success, > assuming you actually have the available space. > You can easily bypass this issue and access the filesystem by just passing 0 > for the size but doing so will also circumvent the checks that ensure you > don't try to use more space than is available. In my case, my app was > handicapping itself because it thought it didn't have enough space to > download additional
[jira] [Commented] (CB-7253) window.requestFileSystem fails when no sd card is present and non-zero value is provided for size
[ https://issues.apache.org/jira/browse/CB-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983382#comment-14983382 ] ASF GitHub Bot commented on CB-7253: Github user jasongin commented on the pull request: https://github.com/apache/cordova-plugin-file/pull/145#issuecomment-152657217 @infil00p or @riknoll can you review? > window.requestFileSystem fails when no sd card is present and non-zero value > is provided for size > - > > Key: CB-7253 > URL: https://issues.apache.org/jira/browse/CB-7253 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File >Affects Versions: 3.5.0 > Environment: I discovered this issue on a Nexus7 emulator running > android 4.4.2 with no sd card. >Reporter: Vincent Scuorzo >Assignee: Jason Ginchereau >Priority: Minor > Labels: easyfix > > The problem is that when no external storage is present the size parameter is > compared to the available storage space on the internal file system which is > incorrectly reported as 0. After reading a post on stack overflow > (http://stackoverflow.com/questions/4799643/getting-all-the-total-and-available-space-on-android) > I noticed that they were checking available space in a different way so I > tried it and the issue went away. > You can see this bug in action by setting up an emulator as I described and > running an app with the file plugin that can execute the following javascript: > window.requestFileSystem(PERSISTENT, 1024, function(fs){ console.log(fs); }, > function(e){ console.log(e); }); > With the current release you will get an error related to reaching the > storage quota since the available space is reported incorrectly. Change line > 72 of src/android/DirectoryManager.java to read the following: > freeSpace = > freeSpaceCalculation(Environment.getRootDirectory().getAbsolutePath()); > Run the same line of javascript as before and you will now have success, > assuming you actually have the available space. > You can easily bypass this issue and access the filesystem by just passing 0 > for the size but doing so will also circumvent the checks that ensure you > don't try to use more space than is available. In my case, my app was > handicapping itself because it thought it didn't have enough space to > download additional resources when it should not have had any issues. -- 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-9678) Tools Release Sep 17, 2015
[ https://issues.apache.org/jira/browse/CB-9678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983601#comment-14983601 ] ASF subversion and git services commented on CB-9678: - Commit 0de514b4b10b6c8c7bf99f0c50c490751eaedbf3 in cordova-plugman's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=0de514b ] CB-9678 Bumping self version to republish > Tools Release Sep 17, 2015 > -- > > Key: CB-9678 > URL: https://issues.apache.org/jira/browse/CB-9678 > Project: Apache Cordova > Issue Type: Task >Reporter: Vladimir Kotikov > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md > Following packages will be released: > Cordova-lib@5.3.2 > cordova-cli@5.3.2 > cordova-plugman@1.0.3 -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983602#comment-14983602 ] ASF subversion and git services commented on CB-9903: - Commit df1cc0be6c3679488131ff7ae85f9eafd3f82752 in cordova-plugman's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=df1cc0b ] CB-9903 Incremented package version to -dev > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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] [Issue Comment Deleted] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9917: - Comment: was deleted (was: "error: Your local changes to the following files would be overwritten by checkout:" but why would there be local changes?) > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Commented] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983576#comment-14983576 ] Shazron Abdullah commented on CB-9917: -- "error: Your local changes to the following files would be overwritten by checkout:" but why would there be local changes? > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Commented] (CB-9910) Android permission error for gallery images with target height/width
[ https://issues.apache.org/jira/browse/CB-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983373#comment-14983373 ] Richard B Knoll commented on CB-9910: - The issue is that in order to get the real file path for the content URIs, we query the external media ContentProvider which requires read permission. We use that to get the filename for when we output our image. > Android permission error for gallery images with target height/width > > > Key: CB-9910 > URL: https://issues.apache.org/jira/browse/CB-9910 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 6.0.0 Marshmallow on a Nexus 6, cordova-android > 5.0.0 (master), cordova-plugin-camera 1.2.1 (master) >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android > > When you request an image from the PHOTOLIBRARY source in Android, if you set > targetHeight and targetWidth you get a SecurityException for not requesting > READ_EXTERNAL_STORAGE. Stack trace: > {code} > java.lang.SecurityException: Permission Denial: reading > com.android.providers.media.MediaProvider uri > content://media/external/images/media from pid=5306, uid=10185 requires > android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission() > at > android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605) > at > android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480) > at > android.content.ContentProvider$Transport.query(ContentProvider.java:211) > at > android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) > at android.os.Binder.execTransact(Binder.java:453) > java.io.FileNotFoundException: > /storage/emulated/0/Android/data/io.cordova.hellocordova/cache: open failed: > ENOENT (No such file or directory) > at libcore.io.IoBridge.open(IoBridge.java:452) > at java.io.FileOutputStream.(FileOutputStream.java:87) > at java.io.FileOutputStream.(FileOutputStream.java:127) > at java.io.FileOutputStream.(FileOutputStream.java:116) > at > org.apache.cordova.camera.CameraLauncher.ouputModifiedBitmap(CameraLauncher.java:549) > at > org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:669) > at > org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66) > at org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:765) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) > at java.lang.Thread.run(Thread.java:818) > Caused by: android.system.ErrnoException: open failed: ENOENT (No such file > or directory) > at libcore.io.Posix.open(Native Method) > at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) > at libcore.io.IoBridge.open(IoBridge.java:438) > ... 10 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983618#comment-14983618 ] ASF subversion and git services commented on CB-9834: - Commit 94eec05badfe8bad1d7ec1df8ae334e3ae95ff07 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=94eec05 ] added CB-9834 to Releasenotes for 5.4.0 > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983617#comment-14983617 ] ASF subversion and git services commented on CB-9903: - Commit 3b43236a33eb85a97da333d1949da2a7c69e74bd in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=3b43236 ] CB-9903 Incremented package version to -dev > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983616#comment-14983616 ] ASF subversion and git services commented on CB-9903: - Commit 95c70c6759b644163b622360f5ddb9361f81204f in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=95c70c6 ] CB-9903 Updated version and RELEASENOTES.md for release 5.4.0 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9917. -- Resolution: Fixed Assignee: Shazron Abdullah > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Commented] (CB-9678) Tools Release Sep 17, 2015
[ https://issues.apache.org/jira/browse/CB-9678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983637#comment-14983637 ] ASF subversion and git services commented on CB-9678: - Commit 00097df26c0e547f301dbabeae9a4a8767e250f0 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=00097df ] CB-9678 Updated version and RELEASENOTES.md for release 5.3.2 > Tools Release Sep 17, 2015 > -- > > Key: CB-9678 > URL: https://issues.apache.org/jira/browse/CB-9678 > Project: Apache Cordova > Issue Type: Task >Reporter: Vladimir Kotikov > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md > Following packages will be released: > Cordova-lib@5.3.2 > cordova-cli@5.3.2 > cordova-plugman@1.0.3 -- 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-9574) Tools Release Aug 28, 2015
[ https://issues.apache.org/jira/browse/CB-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983635#comment-14983635 ] ASF subversion and git services commented on CB-9574: - Commit 7ce4eb4b8f1095f8478f1a245aef7a8fb3faeb86 in cordova-lib's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=7ce4eb4 ] CB-9574 bumping version to 5.3.1 for republish > Tools Release Aug 28, 2015 > -- > > Key: CB-9574 > URL: https://issues.apache.org/jira/browse/CB-9574 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-tabpanel=14983636#comment-14983636 ] ASF subversion and git services commented on CB-9297: - Commit d6792bfc71b7028e8fd229069af96ed4083f5774 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d6792bf ] CB-9297 Parse xcode project syncronously to avoid issues with node v4 > 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 >Assignee: Vladimir Kotikov >Priority: Critical > Labels: cordova-ios-4.0.x > > 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] [Commented] (CB-9678) Tools Release Sep 17, 2015
[ https://issues.apache.org/jira/browse/CB-9678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983638#comment-14983638 ] ASF subversion and git services commented on CB-9678: - Commit 932ad578589d1c825fa57f330dafd3092f193e3c in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=932ad57 ] CB-9678 bumping version to 5.3.3 for republish > Tools Release Sep 17, 2015 > -- > > Key: CB-9678 > URL: https://issues.apache.org/jira/browse/CB-9678 > Project: Apache Cordova > Issue Type: Task >Reporter: Vladimir Kotikov > > Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md > Following packages will be released: > Cordova-lib@5.3.2 > cordova-cli@5.3.2 > cordova-plugman@1.0.3 -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9917: - Component/s: (was: CordovaLib) > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31) > at Promise.promise.promiseDispatch >
[jira] [Updated] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-9917: - Component/s: iOS > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31) > at Promise.promise.promiseDispatch >
[jira] [Commented] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983577#comment-14983577 ] Shazron Abdullah commented on CB-9917: -- Might be related to CB-9836: https://github.com/apache/cordova-ios/commit/c0fe92d6c0b91efa2da0d5cec78e0baa95ce55c9 > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Created] (CB-9918) CDVInvokedUrlCommand.argumentAtIndex returns WebUndefined instead of nil
Tobias Bocanegra created CB-9918: Summary: CDVInvokedUrlCommand.argumentAtIndex returns WebUndefined instead of nil Key: CB-9918 URL: https://issues.apache.org/jira/browse/CB-9918 Project: Apache Cordova Issue Type: Bug Components: OSX Affects Versions: Master Reporter: Tobias Bocanegra Assignee: Tobias Bocanegra compared to iOS, the {{argumentAtIndex}} returns undefined instead of nil -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983633#comment-14983633 ] ASF subversion and git services commented on CB-9917: - Commit 3ae04c260e346e581faf5f274db22537c9c0e867 in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=3ae04c2 ] CB-9917 - Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected >
[jira] [Commented] (CB-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983457#comment-14983457 ] Steve Gill commented on CB-9903: Tested everything > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983598#comment-14983598 ] Shazron Abdullah commented on CB-9917: -- After a clone, the .png files are automatically modified (do a 'git status'). If you do a 'git rm .gitattributes` the modified files do not show as modified, so its definitely .gitattributes causing this issue. > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at >
[jira] [Created] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
Shazron Abdullah created CB-9917: Summary: Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch Key: CB-9917 URL: https://issues.apache.org/jira/browse/CB-9917 Project: Apache Cordova Issue Type: Bug Components: CordovaLib Reporter: Shazron Abdullah Priority: Blocker {code} $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 --verbose Executing "before_platform_add" hook for all plugins. git cloning: https://github.com/apache/cordova-ios.git#3.9.2 Running command: git clone https://github.com/apache/cordova-ios.git /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 Command finished with error code 0: git clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 Running command: git checkout 3.9.2 Command finished with error code 1: git checkout,3.9.2 git: Command failed with exit code 1 Error output: error: Your local changes to the following files would be overwritten by checkout: bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png Please, commit your changes or stash them before you can switch branches. Aborting Cloning failed. Let's try handling it as a tarball Error: CordovaError: Failed to fetch platform null@https://github.com/apache/cordova-ios.git#3.9.2 Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Error: Cordova library "null" not recognized. at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 at _rejected (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 at Promise.when (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31) at Promise.promise.promiseDispatch (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:741:41) at /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:557:44 at flush (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:108:17) at process._tickCallback (node.js:355:11) {code} cordova --version {code} 5.3.4-dev
[jira] [Commented] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983564#comment-14983564 ] Shazron Abdullah commented on CB-9917: -- "error: Your local changes to the following files would be overwritten by checkout:" but why would there be local changes? > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Commented] (CB-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983600#comment-14983600 ] ASF subversion and git services commented on CB-9903: - Commit 3449d5b2514e7bbceb852e95a01e874e79d2ed7a in cordova-plugman's branch refs/heads/1.0.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=3449d5b ] CB-9903 Updated version and RELEASENOTES.md for release 1.0.5 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983598#comment-14983598 ] Shazron Abdullah edited comment on CB-9917 at 10/30/15 11:38 PM: - After a clone, the .png files are automatically modified (do a 'git status'). If you do a 'git rm .gitattributes` the modified files do not show as modified immediately, so its definitely .gitattributes causing this issue. was (Author: shazron): After a clone, the .png files are automatically modified (do a 'git status'). If you do a 'git rm .gitattributes` the modified files do not show as modified, so its definitely .gitattributes causing this issue. > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error:
[jira] [Commented] (CB-9800) Link to Contribution on Website is broken
[ https://issues.apache.org/jira/browse/CB-9800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983599#comment-14983599 ] ASF subversion and git services commented on CB-9800: - Commit 2a4ff6e21de715ea8f6f6e5e024647ee1b557738 in cordova-plugman's branch refs/heads/1.0.x from [~dblotsky] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=2a4ff6e ] CB-9800 Fixing contribute link. > Link to Contribution on Website is broken > - > > Key: CB-9800 > URL: https://issues.apache.org/jira/browse/CB-9800 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Reporter: Paul Weber >Assignee: Dmitry Blotsky >Priority: Blocker > Labels: website > > The link to the contribution info is broken. I do not know what I need to do > to contribute! > Link: > http://cordova.apache.org/#contribute > Found in: > https://github.com/apache/cordova-plugin-inappbrowser/blob/master/CONTRIBUTING.md -- 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] [Reopened] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reopened CB-9917: -- Checked in the change but cloning from remote had the same modified changes. Tested using local, which made me think the fix was ok > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Commented] (CB-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982362#comment-14982362 ] ASF GitHub Bot commented on CB-9834: Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/329#issuecomment-152495853 LGTM! > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982203#comment-14982203 ] ASF GitHub Bot commented on CB-9834: Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/329#issuecomment-152467126 Merged in https://github.com/apache/cordova-lib/commit/b52c257fcde22e982aea7b2287b3d0b943b16df2 > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982204#comment-14982204 ] ASF GitHub Bot commented on CB-9834: Github user vladimir-kotikov closed the pull request at: https://github.com/apache/cordova-lib/pull/329 > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982202#comment-14982202 ] ASF subversion and git services commented on CB-9834: - Commit b52c257fcde22e982aea7b2287b3d0b943b16df2 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=b52c257 ] CB-9834 Introduce compat map for hook requires > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9656) Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta
[ https://issues.apache.org/jira/browse/CB-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982351#comment-14982351 ] ASF subversion and git services commented on CB-9656: - Commit 9cab8496c6e45047c0a9cb01a33bf29fa1adab3f in cordova-ios's branch refs/heads/3.9.x from sgrebnov [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=9cab849 ] CB-9656 - Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta > Xcode can't find CDVViewController.h when archiving in Xcode 7.1 beta > - > > Key: CB-9656 > URL: https://issues.apache.org/jira/browse/CB-9656 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: OS X Yosemite > Version 10.10.5 > Cordova 4.1.2 > Xcode Version 7.1 beta (7B60) >Reporter: Aleks >Assignee: Shazron Abdullah >Priority: Critical > Labels: cordova-ios-3.9.2, cordova-ios-4.0.x > > Build failed by Product -> Archive in Xcode 7.1 beta. > {code} > AppDelegate.h > 'Cordova/CDVViewController,h' file not found > {code} > P.S. found the same error > http://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232 -- 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-9679) Resource rules issue with iOS 9
[ https://issues.apache.org/jira/browse/CB-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982352#comment-14982352 ] ASF subversion and git services commented on CB-9679: - Commit d13597d0b7271b121236612f7479af48e52bca97 in cordova-ios's branch refs/heads/3.9.x from sgrebnov [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=d13597d ] CB-9679 - Resource rules issue with iOS 9 > Resource rules issue with iOS 9 > --- > > Key: CB-9679 > URL: https://issues.apache.org/jira/browse/CB-9679 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: sandstrom >Assignee: Shazron Abdullah > Labels: cordova-ios-3.9.2, cordova-ios-4.0.x > > Apple has ceased using resource rules[1]. The `build.xcconfig` file still > include a line on this, and the file is also included. > Apples build-script still presume they'll be used[2], probably an error on > Apples part. Following the guide in ref 2 solves the issue. > This issue prevents building of iOS 9 with Cordova. > This may be deemed outside the scope of Cordova. If that's the case, perhaps > a friendly message could be included. > [1] > https://developer.apple.com/library/mac/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG401 > [2] http://www.jayway.com/2015/05/21/fixing-your-ios-build-scripts/ -- 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-9721) Set ENABLE_BITCODE to NO in build.xcconfig
[ https://issues.apache.org/jira/browse/CB-9721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982353#comment-14982353 ] ASF subversion and git services commented on CB-9721: - Commit 51bf20cea66813e188c57127c5fdc32f9a625cdd in cordova-ios's branch refs/heads/3.9.x from [~macdonst] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=51bf20c ] CB-9721 Set ENABLE_BITCODE to NO in build.xcconfig > Set ENABLE_BITCODE to NO in build.xcconfig > -- > > Key: CB-9721 > URL: https://issues.apache.org/jira/browse/CB-9721 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Simon MacDonald > Labels: cordova-ios-3.9.2, cordova-ios-4.0.x > > By default in Xcode 7, it is set to YES. > This means that all libs/frameworks etc must have been built with > ENABLE_BITCODE = YES as well. > Setting this to NO will ensure backwards 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-9909) Android requirements provides invalid android path on Windows
[ https://issues.apache.org/jira/browse/CB-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982449#comment-14982449 ] ASF GitHub Bot commented on CB-9909: Github user omefire commented on the pull request: https://github.com/apache/cordova-android/pull/237#issuecomment-152505807 LGTM! > Android requirements provides invalid android path on Windows > - > > Key: CB-9909 > URL: https://issues.apache.org/jira/browse/CB-9909 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Tim Barham >Assignee: Tim Barham > > When you do {{cordova requirements}} for the android platform and "Android > target" is not installed, on Windows it suggests opening the SDK by running: > {{C:\Program\ Files\ (x86)\Android\android-sdk\tools\android.bat}} > Escaping spaces like this doesn't work on Windows. Instead, for Windows, we > should just wrap it in quotes. -- 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-9909) Android requirements provides invalid android path on Windows
[ https://issues.apache.org/jira/browse/CB-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982453#comment-14982453 ] ASF subversion and git services commented on CB-9909: - Commit 1c90a7732526d7d71be88d121b61c8e6dcf3769b in cordova-android's branch refs/heads/master from [~TimBarham] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=1c90a77 ] CB-9909 Shouldn't escape spaces in paths on Windows.. This closes #237 > Android requirements provides invalid android path on Windows > - > > Key: CB-9909 > URL: https://issues.apache.org/jira/browse/CB-9909 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Tim Barham >Assignee: Tim Barham > > When you do {{cordova requirements}} for the android platform and "Android > target" is not installed, on Windows it suggests opening the SDK by running: > {{C:\Program\ Files\ (x86)\Android\android-sdk\tools\android.bat}} > Escaping spaces like this doesn't work on Windows. Instead, for Windows, we > should just wrap it in quotes. -- 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-9909) Android requirements provides invalid android path on Windows
[ https://issues.apache.org/jira/browse/CB-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982455#comment-14982455 ] ASF GitHub Bot commented on CB-9909: Github user asfgit closed the pull request at: https://github.com/apache/cordova-android/pull/237 > Android requirements provides invalid android path on Windows > - > > Key: CB-9909 > URL: https://issues.apache.org/jira/browse/CB-9909 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Reporter: Tim Barham >Assignee: Tim Barham > > When you do {{cordova requirements}} for the android platform and "Android > target" is not installed, on Windows it suggests opening the SDK by running: > {{C:\Program\ Files\ (x86)\Android\android-sdk\tools\android.bat}} > Escaping spaces like this doesn't work on Windows. Instead, for Windows, we > should just wrap it in quotes. -- 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-9912) Cordova-ios 3.9.2 release October 30, 2015
Vladimir Kotikov created CB-9912: Summary: Cordova-ios 3.9.2 release October 30, 2015 Key: CB-9912 URL: https://issues.apache.org/jira/browse/CB-9912 Project: Apache Cordova Issue Type: Task Components: iOS Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Following steps at https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-9917. -- Resolution: Fixed Fixed for real this time. Order matters in .gitattributes, add the wildcard first then add exclusions. > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected > (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 > at Promise.when >
[jira] [Created] (CB-9920) coho verify-archive doesn't need to force common to be linked
Steve Gill created CB-9920: -- Summary: coho verify-archive doesn't need to force common to be linked Key: CB-9920 URL: https://issues.apache.org/jira/browse/CB-9920 Project: Apache Cordova Issue Type: Improvement Components: Coho Reporter: Steve Gill Assignee: Steve Gill Coho create-verify-archive doesn't need to check for cordova-common to be linked in cordova-lib when building a archive. Since we are releasing common as its own module to npm, cordova-lib should be released with the version from npm if it is available. -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983650#comment-14983650 ] ASF subversion and git services commented on CB-9834: - Commit 1ce6a5a24f52665ef3c992e9850e125bed7dadf5 in cordova-lib's branch refs/heads/5.4.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=1ce6a5a ] added CB-9834 to Releasenotes for 5.4.0 > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9907) Fix failing CI Geolocation tests cordova-ios
[ https://issues.apache.org/jira/browse/CB-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983659#comment-14983659 ] ASF GitHub Bot commented on CB-9907: GitHub user purplecabbage opened a pull request: https://github.com/apache/cordova-plugin-geolocation/pull/56 CB-9907 Handle ios tests that fail when run on ios simulator If the user has not specified how the simulator deals with location values, it will fail. with kCLErrorDomain. Tests are adjusted in this case, and pending() is called. You can merge this pull request into a Git repository by running: $ git pull https://github.com/purplecabbage/cordova-plugin-geolocation CB-9907 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-geolocation/pull/56.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 #56 commit 9714f49f90ebf40917d3576a350685d68720ec43 Author: Jesse MacFadyenDate: 2015-10-31T00:12:45Z CB-9907 Handle ios tests that fail when ios simulator does not have a location > Fix failing CI Geolocation tests cordova-ios > > > Key: CB-9907 > URL: https://issues.apache.org/jira/browse/CB-9907 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugin Geolocation >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen > > GEOLOCATION > 2 failures, timeouts > === > geolocation.spec.6 > geolocation.spec.8 -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983680#comment-14983680 ] ASF subversion and git services commented on CB-9917: - Commit fc690d5848b126be0071ee1cb197407cbece59a9 in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=fc690d5 ] CB-9917 - refix. Order matters in .gitattributes > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. > at > /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25 > at _rejected >
[jira] [Created] (CB-9919) Docs gen uses Windows line endings on Windows
Richard B Knoll created CB-9919: --- Summary: Docs gen uses Windows line endings on Windows Key: CB-9919 URL: https://issues.apache.org/jira/browse/CB-9919 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Environment: Windows 10 Reporter: Richard B Knoll The new precommit hook that generates the docs in the camera repo uses the line endings of the environment you're developing in. This means that whenever I commit in in Windows, it tries to commit a huge diff in the README because it changes all of the line endings -- 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-9919) Docs gen uses Windows line endings on Windows
[ https://issues.apache.org/jira/browse/CB-9919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983678#comment-14983678 ] Richard B Knoll commented on CB-9919: - [~daserge] have you encountered this issue? > Docs gen uses Windows line endings on Windows > - > > Key: CB-9919 > URL: https://issues.apache.org/jira/browse/CB-9919 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows 10 >Reporter: Richard B Knoll > > The new precommit hook that generates the docs in the camera repo uses the > line endings of the environment you're developing in. This means that > whenever I commit in in Windows, it tries to commit a huge diff in the README > because it changes all of the line endings -- 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-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
[ https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983703#comment-14983703 ] Shazron Abdullah commented on CB-9917: -- When you do a `cordova platform add http://github.com/apache/cordova-ios.git#3.9.2` it first downloads master then checks the tag out, and that works, that was the bug, only during a clone. For the npm package itself, it just downloads the zip/tarball and uncompresses it into our .cordova/lib/npm_cache/cordova-ios (no clone involved) and that gets copied into platforms/ios so it doesn't affect the npm package release itself. > Failure: cordova platform add > https://github.com/apache/cordova-ios.git#tagOrBranch > --- > > Key: CB-9917 > URL: https://issues.apache.org/jira/browse/CB-9917 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Shazron Abdullah >Priority: Blocker > Labels: cordova-ios-4.0.x > > {code} > $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2 > --verbose > Executing "before_platform_add" hook for all plugins. > git cloning: https://github.com/apache/cordova-ios.git#3.9.2 > Running command: git clone https://github.com/apache/cordova-ios.git > /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Command finished with error code 0: git > clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542 > Running command: git checkout 3.9.2 > Command finished with error code 1: git checkout,3.9.2 > git: Command failed with exit code 1 Error output: > error: Your local changes to the following files would be overwritten by > checkout: > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-sm...@3x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/i...@2x.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png > > bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png > Please, commit your changes or stash them before you can switch branches. > Aborting > Cloning failed. Let's try handling it as a tarball > Error: CordovaError: Failed to fetch platform > null@https://github.com/apache/cordova-ios.git#3.9.2 > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > Error: Cordova library "null" not recognized. >
[jira] [Commented] (CB-7253) window.requestFileSystem fails when no sd card is present and non-zero value is provided for size
[ https://issues.apache.org/jira/browse/CB-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983711#comment-14983711 ] ASF GitHub Bot commented on CB-7253: Github user TimBarham commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file/pull/145#discussion_r43565677 --- Diff: src/android/DirectoryManager.java --- @@ -56,45 +56,46 @@ public static boolean testFileExists(String name) { } /** - * Get the free disk space - * + * Get the free space in external storage + * * @return Size in KB or -1 if not available --- End diff -- I would say 50 years of tradition outweighs an IEC standard that nobody uses. > window.requestFileSystem fails when no sd card is present and non-zero value > is provided for size > - > > Key: CB-7253 > URL: https://issues.apache.org/jira/browse/CB-7253 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File >Affects Versions: 3.5.0 > Environment: I discovered this issue on a Nexus7 emulator running > android 4.4.2 with no sd card. >Reporter: Vincent Scuorzo >Assignee: Jason Ginchereau >Priority: Minor > Labels: easyfix > > The problem is that when no external storage is present the size parameter is > compared to the available storage space on the internal file system which is > incorrectly reported as 0. After reading a post on stack overflow > (http://stackoverflow.com/questions/4799643/getting-all-the-total-and-available-space-on-android) > I noticed that they were checking available space in a different way so I > tried it and the issue went away. > You can see this bug in action by setting up an emulator as I described and > running an app with the file plugin that can execute the following javascript: > window.requestFileSystem(PERSISTENT, 1024, function(fs){ console.log(fs); }, > function(e){ console.log(e); }); > With the current release you will get an error related to reaching the > storage quota since the available space is reported incorrectly. Change line > 72 of src/android/DirectoryManager.java to read the following: > freeSpace = > freeSpaceCalculation(Environment.getRootDirectory().getAbsolutePath()); > Run the same line of javascript as before and you will now have success, > assuming you actually have the available space. > You can easily bypass this issue and access the filesystem by just passing 0 > for the size but doing so will also circumvent the checks that ensure you > don't try to use more space than is available. In my case, my app was > handicapping itself because it thought it didn't have enough space to > download additional resources when it should not have had any issues. -- 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-9834) Hooks in crosswalk plugin do not work any more because we moved ConfigParser
[ https://issues.apache.org/jira/browse/CB-9834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983649#comment-14983649 ] ASF subversion and git services commented on CB-9834: - Commit 38809af4f5ac6982b0b16c1a1ce89741197ea160 in cordova-lib's branch refs/heads/5.4.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=38809af ] CB-9834 Introduce compat map for hook requires > Hooks in crosswalk plugin do not work any more because we moved ConfigParser > > > Key: CB-9834 > URL: https://issues.apache.org/jira/browse/CB-9834 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: Master >Reporter: Nikhil Khandelwal >Assignee: Vladimir Kotikov >Priority: Critical > > Get the master version of cordova-lib and cordova-cli and create a cordova > project. > Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview > Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm > Installing "cordova-plugin-crosswalk-webview" for android > Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find > module 'cordova-lib/src/configparser/ConfigParser' > at Function.Module._resolveFilename (module.js:336:15) > at Function.Module._load (module.js:286:25) > at Module.require (module.js:365:17) > at require (module.js:384:17) > at Context.requireCordovaModule > (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12) > at module.exports > (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32) > at runScriptViaModuleLoader > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18) > at runScript > (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16) > at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20 > at _fulfilled > (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54) -- 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-9907) Fix failing CI Geolocation tests cordova-ios
[ https://issues.apache.org/jira/browse/CB-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983664#comment-14983664 ] ASF subversion and git services commented on CB-9907: - Commit 9714f49f90ebf40917d3576a350685d68720ec43 in cordova-plugin-geolocation's branch refs/heads/master from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=9714f49 ] CB-9907 Handle ios tests that fail when ios simulator does not have a location > Fix failing CI Geolocation tests cordova-ios > > > Key: CB-9907 > URL: https://issues.apache.org/jira/browse/CB-9907 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugin Geolocation >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen > > GEOLOCATION > 2 failures, timeouts > === > geolocation.spec.6 > geolocation.spec.8 -- 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-9907) Fix failing CI Geolocation tests cordova-ios
[ https://issues.apache.org/jira/browse/CB-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983665#comment-14983665 ] ASF GitHub Bot commented on CB-9907: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-geolocation/pull/56 > Fix failing CI Geolocation tests cordova-ios > > > Key: CB-9907 > URL: https://issues.apache.org/jira/browse/CB-9907 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugin Geolocation >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen > > GEOLOCATION > 2 failures, timeouts > === > geolocation.spec.6 > geolocation.spec.8 -- 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-9907) Fix failing CI Geolocation tests cordova-ios
[ https://issues.apache.org/jira/browse/CB-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-9907. - Resolution: Fixed > Fix failing CI Geolocation tests cordova-ios > > > Key: CB-9907 > URL: https://issues.apache.org/jira/browse/CB-9907 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugin Geolocation >Reporter: Jesse MacFadyen >Assignee: Jesse MacFadyen > > GEOLOCATION > 2 failures, timeouts > === > geolocation.spec.6 > geolocation.spec.8 -- 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-7253) window.requestFileSystem fails when no sd card is present and non-zero value is provided for size
[ https://issues.apache.org/jira/browse/CB-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983691#comment-14983691 ] ASF GitHub Bot commented on CB-7253: Github user dblotsky commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file/pull/145#discussion_r43565104 --- Diff: src/android/DirectoryManager.java --- @@ -56,45 +56,46 @@ public static boolean testFileExists(String name) { } /** - * Get the free disk space - * + * Get the free space in external storage + * * @return Size in KB or -1 if not available --- End diff -- Nitpick: if we're dividing by 1024, then these are `KiB`. > window.requestFileSystem fails when no sd card is present and non-zero value > is provided for size > - > > Key: CB-7253 > URL: https://issues.apache.org/jira/browse/CB-7253 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File >Affects Versions: 3.5.0 > Environment: I discovered this issue on a Nexus7 emulator running > android 4.4.2 with no sd card. >Reporter: Vincent Scuorzo >Assignee: Jason Ginchereau >Priority: Minor > Labels: easyfix > > The problem is that when no external storage is present the size parameter is > compared to the available storage space on the internal file system which is > incorrectly reported as 0. After reading a post on stack overflow > (http://stackoverflow.com/questions/4799643/getting-all-the-total-and-available-space-on-android) > I noticed that they were checking available space in a different way so I > tried it and the issue went away. > You can see this bug in action by setting up an emulator as I described and > running an app with the file plugin that can execute the following javascript: > window.requestFileSystem(PERSISTENT, 1024, function(fs){ console.log(fs); }, > function(e){ console.log(e); }); > With the current release you will get an error related to reaching the > storage quota since the available space is reported incorrectly. Change line > 72 of src/android/DirectoryManager.java to read the following: > freeSpace = > freeSpaceCalculation(Environment.getRootDirectory().getAbsolutePath()); > Run the same line of javascript as before and you will now have success, > assuming you actually have the available space. > You can easily bypass this issue and access the filesystem by just passing 0 > for the size but doing so will also circumvent the checks that ensure you > don't try to use more space than is available. In my case, my app was > handicapping itself because it thought it didn't have enough space to > download additional resources when it should not have had any issues. -- 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-9922) Cordova-Android Platform Release Oct 30, 2015
Steve Gill created CB-9922: -- Summary: Cordova-Android Platform Release Oct 30, 2015 Key: CB-9922 URL: https://issues.apache.org/jira/browse/CB-9922 Project: Apache Cordova Issue Type: Task Reporter: Steve Gill Assignee: Steve Gill "Following steps at https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md; -- 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-9921) applicationDirectory wrong on browser platform
Kevin Christopher Henry created CB-9921: --- Summary: applicationDirectory wrong on browser platform Key: CB-9921 URL: https://issues.apache.org/jira/browse/CB-9921 Project: Apache Cordova Issue Type: Bug Components: Plugin File Affects Versions: Master Reporter: Kevin Christopher Henry Priority: Minor In the code for the browser platform, {{applicationDirectory}} is defined as {{location.origin + "/"}}, which with file URLs resolves to simply {{file:///}}. Clearly, the root of the filesystem is not generally going to be the application's directory. It could be tricky to figure out the right value to use here. But it would be better to indicate a lack of support ({{null}}?) than to return an obviously wrong value. -- 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-9923) Wrong documentation for device.platform on browser
Kevin Christopher Henry created CB-9923: --- Summary: Wrong documentation for device.platform on browser Key: CB-9923 URL: https://issues.apache.org/jira/browse/CB-9923 Project: Apache Cordova Issue Type: Bug Components: Docs, Plugin Device Affects Versions: Master Reporter: Kevin Christopher Henry Priority: Minor The documentation for {{device.platform}} says of Browser that: {{returns "MacIntel" on Mac; returns "Win32" on Windows}}. In fact, it returns the string {{"browser"}}. -- 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-tabpanel=14983696#comment-14983696 ] ASF GitHub Bot commented on CB-9220: GitHub user stevengill opened a pull request: https://github.com/apache/cordova-coho/pull/100 CB-9220 remove check that enforces common to be linked in lib Take a look @vladimir-kotikov. Not sure if you were using create-verify for CI or something. You can merge this pull request into a Git repository by running: $ git pull https://github.com/stevengill/cordova-coho master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-coho/pull/100.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 #100 commit a26a7e30e026eed5ce2b6af25064eba3690c03ef Author: Steve GillDate: 2015-10-31T00:40:23Z CB-9220 remove check that enforces common to be linked in lib > 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 > Attachments: cordova-5-config2.xml > > > Config.xml > > > > 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] [Updated] (CB-6905) success callback for file transfer download does not get called every on iOS
[ https://issues.apache.org/jira/browse/CB-6905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-6905: Labels: no-repro triaged (was: ) > success callback for file transfer download does not get called every on iOS > > > Key: CB-6905 > URL: https://issues.apache.org/jira/browse/CB-6905 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 3.5.0 > Environment: iOS >Reporter: David Li > Labels: no-repro, triaged > > When downloading a file through the file transfer plugin, the success > callback (and probably the error callback) functions never get executed upon > download completion. The progress callback function does behave normally > though. -- 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-6905) success callback for file transfer download does not get called every on iOS
[ https://issues.apache.org/jira/browse/CB-6905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-6905. - Resolution: Cannot Reproduce > success callback for file transfer download does not get called every on iOS > > > Key: CB-6905 > URL: https://issues.apache.org/jira/browse/CB-6905 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 3.5.0 > Environment: iOS >Reporter: David Li > Labels: no-repro, triaged > > When downloading a file through the file transfer plugin, the success > callback (and probably the error callback) functions never get executed upon > download completion. The progress callback function does behave normally > though. -- 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-6408) Upload files greater than 100 MB when the app is in background.
[ https://issues.apache.org/jira/browse/CB-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-6408: Labels: reproduced triaged (was: ) > Upload files greater than 100 MB when the app is in background. > --- > > Key: CB-6408 > URL: https://issues.apache.org/jira/browse/CB-6408 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File Transfer >Affects Versions: 3.1.0 > Environment: ios >Reporter: Venkata Kiran > Labels: reproduced, triaged > > If I need to upload files of bigger size, say more than 100 MB, it takes any > where between 2 minutes to 20 minutes based in the network speed. And if the > application is active all through then the file is uploading without any > issues. But if the application is switched to background mode, then the > upload is failing. I think cordova should support uploading bigger files in > background as it is no longer a rare use case because of the bigger memory > availability on the devices. -- 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-4885) Unable to download files which exceeded default request timeout
[ https://issues.apache.org/jira/browse/CB-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-4885: Labels: no-repro triaged (was: FileTransfer) > Unable to download files which exceeded default request timeout > --- > > Key: CB-4885 > URL: https://issues.apache.org/jira/browse/CB-4885 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 3.0.0 > Environment: iOS 5.x and above >Reporter: Ivo Stoilov > Labels: no-repro, triaged > > FileTransfer uses default request timeout (60 secs) which makes downloading > of the larger files impossible due to timeout error. Setting up to something > bigger (almost unreachable, for example 30 mins) solves the problem. Just to > remind you unlike iOS download request timeout on Android is infinitive. -- 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-4885) Unable to download files which exceeded default request timeout
[ https://issues.apache.org/jira/browse/CB-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-4885. - Resolution: Cannot Reproduce > Unable to download files which exceeded default request timeout > --- > > Key: CB-4885 > URL: https://issues.apache.org/jira/browse/CB-4885 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 3.0.0 > Environment: iOS 5.x and above >Reporter: Ivo Stoilov > Labels: no-repro, triaged > > FileTransfer uses default request timeout (60 secs) which makes downloading > of the larger files impossible due to timeout error. Setting up to something > bigger (almost unreachable, for example 30 mins) solves the problem. Just to > remind you unlike iOS download request timeout on Android is infinitive. -- 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-9901) cordova plugin search should open browser to cordova plugin search
[ https://issues.apache.org/jira/browse/CB-9901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983269#comment-14983269 ] ASF GitHub Bot commented on CB-9901: Github user csantanapr commented on the pull request: https://github.com/apache/cordova-lib/pull/334#issuecomment-152646051 I think is a nice feature to open the browser to a good spot on the wen to search for plugins applicable for cli use cases where people are running by hand when they get started to use the CLI. not applicable to unattended. The current form is just a mess of a UI/UX. For scripting or unattended like gulp scripts I guess they can use npmsearh same way we are doing for the website plugin search. > cordova plugin search should open browser to cordova plugin search > -- > > Key: CB-9901 > URL: https://issues.apache.org/jira/browse/CB-9901 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI, CordovaLib >Reporter: Edna Morales >Assignee: Edna Morales >Priority: Minor > Fix For: Master > > > cordova plugin search should open the browser to > 'http://cordova.apache.org/plugins/?q=' -- 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-9911) coho update-release-notes doesn't work for cordova common
[ https://issues.apache.org/jira/browse/CB-9911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983334#comment-14983334 ] Steve Gill commented on CB-9911: Also, it is throwing errors when updating multiple RELEASENOTES at once. > coho update-release-notes doesn't work for cordova common > - > > Key: CB-9911 > URL: https://issues.apache.org/jira/browse/CB-9911 > Project: Apache Cordova > Issue Type: Bug > Components: Coho >Reporter: Steve Gill > > Issue is in the findMostRecentTag function in gitutil.js. > It goes through all of the tags in cordova-lib sequentially. This works fine > for cordova-serve because they are last on the list. The logic works fine for > cordova-common but then the reduce continues onto other git tags. It > eventually returns null as that is the result of the final reduce (Which is > done a serve tag). > Here is some output of the execution of reduce. > PREFIX: common- > other tags: 0.21.11 > other tags: 0.21.12 > other tags: 0.21.13 > other tags: 0.21.2 > other tags: 0.21.4 > other tags: 0.21.5-rc1 > other tags: 0.21.6 > other tags: 0.21.6-rc1 > other tags: 0.21.6-rc2 > other tags: 0.21.6-rc3 > other tags: 0.21.7 > other tags: 0.21.7-rc1 > other tags: 0.21.8 > other tags: 0.21.9 > other tags: 3.7.0 > other tags: 4.0.0 > other tags: 4.1.1 > other tags: 4.1.2 > other tags: 4.2.0 > other tags: 4.3.0 > other tags: 4.3.1 > other tags: 5.0.0 > other tags: 5.1.1 > other tags: 5.2.0 > other tags: 5.3.1 > other tags: 5.3.2 > other tags: 5.3.3 > other tags: cli_pre_lib > 1.0.0 common-1.0.0 null null (modValue, value, modCurBest, curBest) > if common-1.0.0 > returning > other tags: cordova-lib-0.21.3 > other tags: pg.3.5.0 > other tags: plugman_pre_lib > other tags: serve-0.1.2 > other tags: serve-0.1.3 > other tags: serve-1.0.0 > null > As you can see, it returns null because the final item in the list is > serve-1.0.0 when the return I want happened above. -- 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-9752) getDirectory fails on valid directory with assets filesystem
[ https://issues.apache.org/jira/browse/CB-9752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983433#comment-14983433 ] ASF GitHub Bot commented on CB-9752: Github user jasongin commented on the pull request: https://github.com/apache/cordova-plugin-file/pull/144#issuecomment-152661034 Oh, yeah "unit test" was probably not the right term. > getDirectory fails on valid directory with assets filesystem > > > Key: CB-9752 > URL: https://issues.apache.org/jira/browse/CB-9752 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin File > Environment: cordova 5.3.3 > cordova android 4.0.0 > cordova-plugin-file 2.0.0 > *** using build-extras.gradle to speed up lookups (as per README.md for > plugin) *** >Reporter: Denis Babineau >Assignee: Jason Ginchereau > > The following JS snippet fails with "failed to get www directory": > window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, > function(appDir) { > appDir.getDirectory('www', {create:false}, function(wwwDir) { > console.log("success!"); > }, function() { > console.log("failed to get www directory"); > }); > }, function() { > console.log("Failed to get application directory"); > }); > I narrowed it down to AssetFilesystem.java's listAssets() method called from > isDirectory() which returns the "new String[0];" (assetPath = 'www/' in this > method) which in turn causes isDirectory() to return false. -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983518#comment-14983518 ] ASF subversion and git services commented on CB-9903: - Commit 90546bd136799649a3b315a7c4e79187fb4f9d04 in cordova-js's branch refs/heads/4.1.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=90546bd ] CB-9903 Updated version and RELEASENOTES.md for release 4.1.2 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9800) Link to Contribution on Website is broken
[ https://issues.apache.org/jira/browse/CB-9800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983517#comment-14983517 ] ASF subversion and git services commented on CB-9800: - Commit 49a8db57fa070d20ea7b304a53ffec3d7250c5af in cordova-js's branch refs/heads/4.1.x from [~dblotsky] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=49a8db5 ] CB-9800 Fixing contribute link. > Link to Contribution on Website is broken > - > > Key: CB-9800 > URL: https://issues.apache.org/jira/browse/CB-9800 > Project: Apache Cordova > Issue Type: Bug > Components: Website >Reporter: Paul Weber >Assignee: Dmitry Blotsky >Priority: Blocker > Labels: website > > The link to the contribution info is broken. I do not know what I need to do > to contribute! > Link: > http://cordova.apache.org/#contribute > Found in: > https://github.com/apache/cordova-plugin-inappbrowser/blob/master/CONTRIBUTING.md -- 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-9574) Tools Release Aug 28, 2015
[ https://issues.apache.org/jira/browse/CB-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983515#comment-14983515 ] ASF subversion and git services commented on CB-9574: - Commit 6a95d7753592f282206d0739f052392b9cdd674e in cordova-js's branch refs/heads/4.1.x from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=6a95d77 ] CB-9574 Incremented package version to -dev > Tools Release Aug 28, 2015 > -- > > Key: CB-9574 > URL: https://issues.apache.org/jira/browse/CB-9574 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983512#comment-14983512 ] ASF subversion and git services commented on CB-9903: - Commit 2babc6a8dd92696770a89ae4195ed19ca6554f69 in cordova-plugman's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=2babc6a ] CB-9903 Incremented package version to -dev > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-7668) Android: Crop image
[ https://issues.apache.org/jira/browse/CB-7668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982828#comment-14982828 ] ASF subversion and git services commented on CB-7668: - Commit 5ff225d8dfc6b7868c8e2ce38e58c6bfad860402 in cordova-plugin-camera's branch refs/heads/master from Richard Knoll [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=5ff225d ] CB-7668 android: Adding a sterner warning for allowedit on Android > Android: Crop image > --- > > Key: CB-7668 > URL: https://issues.apache.org/jira/browse/CB-7668 > Project: Apache Cordova > Issue Type: New Feature > Components: Plugin Camera >Reporter: David Vielhuber >Assignee: Richard B Knoll > > Hello! > On iOS it is possible to crop an image afterwards when set to targetWidth and > targetHeight natively. > On Android this is not possible. I now have to program an individual solution. > Are there plans to integrate this natively in the future? -- 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-9901) cordova plugin search should open browser to cordova plugin search
[ https://issues.apache.org/jira/browse/CB-9901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982759#comment-14982759 ] ASF GitHub Bot commented on CB-9901: Github user nikhilkh commented on the pull request: https://github.com/apache/cordova-lib/pull/334#issuecomment-152566519 LGTM this is a good one to fix. There is a jshint failure though that you might want to fix. > cordova plugin search should open browser to cordova plugin search > -- > > Key: CB-9901 > URL: https://issues.apache.org/jira/browse/CB-9901 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI, CordovaLib >Reporter: Edna Morales >Assignee: Edna Morales >Priority: Minor > Fix For: Master > > > cordova plugin search should open the browser to > 'http://cordova.apache.org/plugins/?q=' -- 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-9889) GOOGLE PLAY STORE REJECTS CORDOVA ANDROID APP DUE TO VULNERABILITY ISSUE
[ https://issues.apache.org/jira/browse/CB-9889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal updated CB-9889: -- Component/s: (was: CLI) > GOOGLE PLAY STORE REJECTS CORDOVA ANDROID APP DUE TO VULNERABILITY ISSUE > > > Key: CB-9889 > URL: https://issues.apache.org/jira/browse/CB-9889 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 5.1.1 > Environment: Android >Reporter: Binu Paul > Labels: 3.5.1, 4.0.2, 5.1.1, android, build, google-play, > publish, rejection, security, vulnerability > Original Estimate: 24h > Remaining Estimate: 24h > > I tried 3 times to publish new update of my cordova android app in google > playstore. Every time google rejects the new build and telling that there are > vulnerabilities in cordova version 3.5.1, so update to the latest version and > publish again. But my cordova cli version is 5.1.1 and android platform > version is 4.0.2. How can I fix 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-9914) Cordova.exec(..) not working when called from an iframe inside the webview
Nagarjuna Manchineni created CB-9914: Summary: Cordova.exec(..) not working when called from an iframe inside the webview Key: CB-9914 URL: https://issues.apache.org/jira/browse/CB-9914 Project: Apache Cordova Issue Type: Bug Components: CordovaJS, iOS Affects Versions: 3.2.0 Environment: IOS, currently testing on iPad mini Reporter: Nagarjuna Manchineni Priority: Blocker Cordova.exec(..) not working when called from an iframe inside the web view. I could able to see the function Cordova.exec(..) is getting called, but it's not delegating the request to native. When i load the same page directly in the web view, it's working properly. I couldn't figure out what's the difference between both the scenarios. Note: Popup (iframe) is not loosing context after calling cordova.exec(...). -- 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-9913) [iOS] SplashScreen AutoHideSplashScreen can't find file on some iPhone models
Seth W. Klein created CB-9913: - Summary: [iOS] SplashScreen AutoHideSplashScreen can't find file on some iPhone models Key: CB-9913 URL: https://issues.apache.org/jira/browse/CB-9913 Project: Apache Cordova Issue Type: Bug Components: Plugin SplashScreen Affects Versions: Master Environment: {code} node -v v0.10.40 npm ls -g --depth 0 /Users/sk/.nvm/v0.10.40/lib ├── cordova@5.3.4-dev -> /Users/sk/cache/cordova/cordova-cli ├── cordova-common@0.1.1-dev -> /Users/sk/cache/cordova/cordova-lib/cordova-common ├── cordova-lib@5.3.4-dev -> /Users/sk/cache/cordova/cordova-lib/cordova-lib ├── ios-sim@5.0.1 ├── npm@2.14.6 └── plugman@1.0.3-dev -> /Users/sk/cache/cordova/cordova-plugman cd ~/cache/cordova/cordova-cli git log | head -n 1 commit b53810ee754bd4a44591388473355efda0aa8653 cd ../cordova-lib/ git log | head -n 1 commit b45bc1c80b239040b91da25e2f12e759fc52c31d cd ../cordova-plugman/ git log | head -n 1 commit 2a4ff6e21de715ea8f6f6e5e024647ee1b557738 {code} Reporter: Seth W. Klein {code} cordova create cordova-splash-no-auto-bug com.example.SplashBug SplashBug cd cordova-splash-no-auto-bug/ cordova plugin add https://github.com/apache/cordova-plugin-splashscreen.git#master cordova platform add https://github.com/apache/cordova-ios.git#master cordova emulate ios # add to config.xml # cordova emulate ios --target iPhone-6 # observe that splash screen hides and app becomes visible. # expected splash screen to remain hiding app due to AutoHideSplashScreen being false. cordova emulate ios --target iPhone-5 # observe expected behavior open platforms/ios/SplashBug.xcodeproj # run in iPhone-6 in XCode and observe error in console: 2015-10-28 00:20:38.029 SplashBug[40245:3789224] WARNING: The splashscreen image named LaunchImage-667h was not found # observe that XCode sees SplashBug/Resources/Images.xcassets/LaunchImage Retina HD 4.7, named Default-667h.png, and sized at 750 x 1334, matching the expected size find . -name '*667h*' ./platforms/ios/build/emulator/SplashBug.app/launchimage-800-6...@2x.png ./platforms/ios/SplashBug/Images.xcassets/LaunchImage.launchimage/Default-667h.png a similar but more complex situation is visible with iPhone 6s Plus launchimage-800-landscape-7...@3x.png launchimage-800-portrait-7...@3x.png something that might work: https://github.com/sethwklein/cordova-plugin-splashscreen/commit/d44868a77fc8bb6e3a9435d84bb3dd97f1f85ae0 {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-7764) Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
[ https://issues.apache.org/jira/browse/CB-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-7764: Labels: no-repro triaged (was: ) > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files > (> 200MB) > - > > Key: CB-7764 > URL: https://issues.apache.org/jira/browse/CB-7764 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS >Reporter: Vladimir Mitrokhin > Labels: no-repro, triaged > > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 > Upload file < 250 works, > 250 doesn't work. > Simple app built from the file transfer sample code. > https://github.com/Vladimir40491a/myrepository > Sample code (iOS Simulator test): > {code} > function testUpload() { >// Get file URL to video file. In this case I used a 520MB file > var imageURI = "file:///Users/shazron/Downloads/video.mp4"; > var options = new FileUploadOptions(); > options.fileKey = "file"; > options.fileName = imageURI; > options.mimeType= "video/mp4"; > options.chunkedMode = true; > > var ft = new FileTransfer(); > > ft.onprogress = function(progressEvent) { > var loaded = Number(((progressEvent.loaded / progressEvent.total) * > 100).toFixed(1)); > console.log(loaded); > }; > >// upload to local server, use > https://github.com/apache/cordova-labs/tree/cordova-filetransfer > ft.upload(imageURI, encodeURI("http://localhost:8000/upload;), > successUploadFileToServ, failUploadFileToServ, options); > } > function successUploadFileToServ(r) { > console.log('Success FileTransfer method upload.'); > console.log(r); > > navigator.notification.alert('Video file has been successfully loaded', > null, 'Upload file', null); > } > function failUploadFileToServ(error) { > console.log('Error FileTransfer method upload.'); > console.log(error); > > navigator.notification.alert('FileTransfer: Code = ' + error.code + '; > Sourse = ' + error.sourse + '; Target = ' + error.target + '; http_status = ' > + error.http_status, null, 'Error Upload file', null); > } > {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-7763) Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
[ https://issues.apache.org/jira/browse/CB-7763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-7763. - Resolution: Duplicate > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files > (> 200MB) > - > > Key: CB-7763 > URL: https://issues.apache.org/jira/browse/CB-7763 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS >Reporter: Vladimir Mitrokhin > > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 > Upload file < 250 works, > 250 doesn't work. > Simple app built from the file transfer sample code. > https://github.com/Vladimir40491a/myrepository -- 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-7668) Android: Crop image
[ https://issues.apache.org/jira/browse/CB-7668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982830#comment-14982830 ] ASF GitHub Bot commented on CB-7668: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-camera/pull/130 > Android: Crop image > --- > > Key: CB-7668 > URL: https://issues.apache.org/jira/browse/CB-7668 > Project: Apache Cordova > Issue Type: New Feature > Components: Plugin Camera >Reporter: David Vielhuber >Assignee: Richard B Knoll > > Hello! > On iOS it is possible to crop an image afterwards when set to targetWidth and > targetHeight natively. > On Android this is not possible. I now have to program an individual solution. > Are there plans to integrate this natively in the future? -- 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-7764) Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
[ https://issues.apache.org/jira/browse/CB-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982783#comment-14982783 ] Sergey Shakhnazarov edited comment on CB-7764 at 10/30/15 4:20 PM: --- No repro on 300Mb file upload. Upload operation uses chunked mode by default now: https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/www/FileTransfer.js#L108 https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/src/ios/CDVFileTransfer.m#L234 was (Author: daserge): No repro on 300Mb file upload. Upload operation uses chunked mode by default now: https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/www/FileTransfer.js#L108 https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/src/ios/CDVFileTransfer.m > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files > (> 200MB) > - > > Key: CB-7764 > URL: https://issues.apache.org/jira/browse/CB-7764 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS >Reporter: Vladimir Mitrokhin > Labels: no-repro, triaged > > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 > Upload file < 250 works, > 250 doesn't work. > Simple app built from the file transfer sample code. > https://github.com/Vladimir40491a/myrepository > Sample code (iOS Simulator test): > {code} > function testUpload() { >// Get file URL to video file. In this case I used a 520MB file > var imageURI = "file:///Users/shazron/Downloads/video.mp4"; > var options = new FileUploadOptions(); > options.fileKey = "file"; > options.fileName = imageURI; > options.mimeType= "video/mp4"; > options.chunkedMode = true; > > var ft = new FileTransfer(); > > ft.onprogress = function(progressEvent) { > var loaded = Number(((progressEvent.loaded / progressEvent.total) * > 100).toFixed(1)); > console.log(loaded); > }; > >// upload to local server, use > https://github.com/apache/cordova-labs/tree/cordova-filetransfer > ft.upload(imageURI, encodeURI("http://localhost:8000/upload;), > successUploadFileToServ, failUploadFileToServ, options); > } > function successUploadFileToServ(r) { > console.log('Success FileTransfer method upload.'); > console.log(r); > > navigator.notification.alert('Video file has been successfully loaded', > null, 'Upload file', null); > } > function failUploadFileToServ(error) { > console.log('Error FileTransfer method upload.'); > console.log(error); > > navigator.notification.alert('FileTransfer: Code = ' + error.code + '; > Sourse = ' + error.sourse + '; Target = ' + error.target + '; http_status = ' > + error.http_status, null, 'Error Upload file', null); > } > {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-7764) Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
[ https://issues.apache.org/jira/browse/CB-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-7764. - Resolution: Cannot Reproduce No repro on 300Mb file upload. Upload operation uses chunked mode by default now: https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/www/FileTransfer.js#L108 https://github.com/apache/cordova-plugin-file-transfer/blob/4dc697a8636bc0541b2fe99f136ce9aa39cbe970/src/ios/CDVFileTransfer.m > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files > (> 200MB) > - > > Key: CB-7764 > URL: https://issues.apache.org/jira/browse/CB-7764 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS >Reporter: Vladimir Mitrokhin > Labels: no-repro, triaged > > Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 > Upload file < 250 works, > 250 doesn't work. > Simple app built from the file transfer sample code. > https://github.com/Vladimir40491a/myrepository > Sample code (iOS Simulator test): > {code} > function testUpload() { >// Get file URL to video file. In this case I used a 520MB file > var imageURI = "file:///Users/shazron/Downloads/video.mp4"; > var options = new FileUploadOptions(); > options.fileKey = "file"; > options.fileName = imageURI; > options.mimeType= "video/mp4"; > options.chunkedMode = true; > > var ft = new FileTransfer(); > > ft.onprogress = function(progressEvent) { > var loaded = Number(((progressEvent.loaded / progressEvent.total) * > 100).toFixed(1)); > console.log(loaded); > }; > >// upload to local server, use > https://github.com/apache/cordova-labs/tree/cordova-filetransfer > ft.upload(imageURI, encodeURI("http://localhost:8000/upload;), > successUploadFileToServ, failUploadFileToServ, options); > } > function successUploadFileToServ(r) { > console.log('Success FileTransfer method upload.'); > console.log(r); > > navigator.notification.alert('Video file has been successfully loaded', > null, 'Upload file', null); > } > function failUploadFileToServ(error) { > console.log('Error FileTransfer method upload.'); > console.log(error); > > navigator.notification.alert('FileTransfer: Code = ' + error.code + '; > Sourse = ' + error.sourse + '; Target = ' + error.target + '; http_status = ' > + error.http_status, null, 'Error Upload file', null); > } > {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-9904) Fix failing CI device-motion tests cordova-ios
[ https://issues.apache.org/jira/browse/CB-9904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-9904. - Resolution: Fixed > Fix failing CI device-motion tests cordova-ios > -- > > Key: CB-9904 > URL: https://issues.apache.org/jira/browse/CB-9904 > Project: Apache Cordova > Issue Type: Sub-task > Components: Plugin Device Motion >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] [Resolved] (CB-6720) Cordova File-Transfer download fails on iOS
[ https://issues.apache.org/jira/browse/CB-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-6720. - Resolution: Cannot Reproduce > Cordova File-Transfer download fails on iOS > --- > > Key: CB-6720 > URL: https://issues.apache.org/jira/browse/CB-6720 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS 7.0.3 on iPad2 - Cordova 3.4.1-0.1.0 >Reporter: Zcs Mobile > Labels: no-repro, triaged > > File-Transfer download function exits with > *"TypeError: 'null' is not an object (evaluating 'result.lengthComputable')"* > Plugin version is 0.4.3, i tried 0.4.2 but the error is still the same. > Please refer to this post: > http://stackoverflow.com/questions/23317010/cordova-file-transfer-download-result-null-error > Same exact code works fine on Android 4.0.2 . > EDIT: > Sample code used for testing: > {code:JavaScript} > function win(entry){ > console.log("OK!"); > } > function fail(error){ > console.log("ERROR!"); > console.log(error.code); > } > var url = > "http://upload.wikimedia.org/wikipedia/commons/5/5b/Ultraviolet_image_of_the_Cygnus_Loop_Nebula_crop.jpg;; > var filename = "filename.jpg"; > var uri = encodeURI(url); > window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) { >fileSystem.root.getFile(filename, {create: true, exclusive: false}, > function(fileEntry) { >var localPath = fileEntry.toURL(); >var ft = new FileTransfer(); >ft.download(uri,localPath,win,fail,false); >},function(error){console.log("errore 1: " + error.code);}); > },function(error){console.log("errore 2: " + error.code);}); > {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-6750) FileTransfer Download null errors
[ https://issues.apache.org/jira/browse/CB-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-6750. - Resolution: Duplicate > FileTransfer Download null errors > -- > > Key: CB-6750 > URL: https://issues.apache.org/jira/browse/CB-6750 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer >Affects Versions: 3.4.0 > Environment: iOS >Reporter: Daniel Roizman > > FileTransfer download is erroring on it's 'win' function. The result being > passed in is null on line 170. The 'win' function is called multiple times > with incremental progress, but on the final call, it is passed null instead > of proper result. > So the file is there and fine, but my callback is not triggered because the > 'win' function is erroring. > [Error] TypeError: 'null' is not an object (evaluating > 'result.lengthComputable') > win (FileTransfer.js, line 172) > callbackFromNative (cordova.js, line 292) > (anonymous function) (cordova.js, line 1046) > nativeEvalAndFetch (cordova.js, line 1054) > nativeCallback (cordova.js, line 1043) -- 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-9910) Android permission error for gallery images with target height/width
[ https://issues.apache.org/jira/browse/CB-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll reassigned CB-9910: --- Assignee: Richard B Knoll > Android permission error for gallery images with target height/width > > > Key: CB-9910 > URL: https://issues.apache.org/jira/browse/CB-9910 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 6.0.0 Marshmallow on a Nexus 6, cordova-android > 5.0.0 (master), cordova-plugin-camera 1.2.1 (master) >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android > > When you request an image from the PHOTOLIBRARY source in Android, if you set > targetHeight and targetWidth you get a SecurityException for not requesting > READ_EXTERNAL_STORAGE. Stack trace: > {code} > java.lang.SecurityException: Permission Denial: reading > com.android.providers.media.MediaProvider uri > content://media/external/images/media from pid=5306, uid=10185 requires > android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission() > at > android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605) > at > android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480) > at > android.content.ContentProvider$Transport.query(ContentProvider.java:211) > at > android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) > at android.os.Binder.execTransact(Binder.java:453) > java.io.FileNotFoundException: > /storage/emulated/0/Android/data/io.cordova.hellocordova/cache: open failed: > ENOENT (No such file or directory) > at libcore.io.IoBridge.open(IoBridge.java:452) > at java.io.FileOutputStream.(FileOutputStream.java:87) > at java.io.FileOutputStream.(FileOutputStream.java:127) > at java.io.FileOutputStream.(FileOutputStream.java:116) > at > org.apache.cordova.camera.CameraLauncher.ouputModifiedBitmap(CameraLauncher.java:549) > at > org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:669) > at > org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66) > at org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:765) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) > at java.lang.Thread.run(Thread.java:818) > Caused by: android.system.ErrnoException: open failed: ENOENT (No such file > or directory) > at libcore.io.Posix.open(Native Method) > at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) > at libcore.io.IoBridge.open(IoBridge.java:438) > ... 10 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-6720) Cordova File-Transfer download fails on iOS
[ https://issues.apache.org/jira/browse/CB-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-6720: Labels: no-repro triaged (was: ) > Cordova File-Transfer download fails on iOS > --- > > Key: CB-6720 > URL: https://issues.apache.org/jira/browse/CB-6720 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: iOS 7.0.3 on iPad2 - Cordova 3.4.1-0.1.0 >Reporter: Zcs Mobile > Labels: no-repro, triaged > > File-Transfer download function exits with > *"TypeError: 'null' is not an object (evaluating 'result.lengthComputable')"* > Plugin version is 0.4.3, i tried 0.4.2 but the error is still the same. > Please refer to this post: > http://stackoverflow.com/questions/23317010/cordova-file-transfer-download-result-null-error > Same exact code works fine on Android 4.0.2 . > EDIT: > Sample code used for testing: > {code:JavaScript} > function win(entry){ > console.log("OK!"); > } > function fail(error){ > console.log("ERROR!"); > console.log(error.code); > } > var url = > "http://upload.wikimedia.org/wikipedia/commons/5/5b/Ultraviolet_image_of_the_Cygnus_Loop_Nebula_crop.jpg;; > var filename = "filename.jpg"; > var uri = encodeURI(url); > window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) { >fileSystem.root.getFile(filename, {create: true, exclusive: false}, > function(fileEntry) { >var localPath = fileEntry.toURL(); >var ft = new FileTransfer(); >ft.download(uri,localPath,win,fail,false); >},function(error){console.log("errore 1: " + error.code);}); > },function(error){console.log("errore 2: " + error.code);}); > {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-9752) getDirectory fails on valid directory with assets filesystem
[ https://issues.apache.org/jira/browse/CB-9752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982864#comment-14982864 ] ASF GitHub Bot commented on CB-9752: GitHub user jasongin opened a pull request: https://github.com/apache/cordova-plugin-file/pull/144 Fix CB-9752: FileEntry.getDirectory fails with assets filesystem Calls to FileEntry.getDirectory() on an asset entry would internally call the AssetFileSystem.listAssets() method using an asset path with a trailing slash, regardless of whether a trailing slash was included by the user. But neither the asset list cache (from cdvasset.manifest) nor Android's AssetManager.list() API support matching a path with a trailing slash. That resulted in a TypeMismatchException thrown from AssetFileSystem.getFileForLocalURL(), because the asset path was found but not matched as a directory as expected by the caller. This fix removes the trailing slash from the asset path before matching against the asset list cache or calling Android's AssetManager.list() API. A new unit test for getting asset directories fails without and passes with the fix. While I'm here, I'm also adding a unit test for reading asset file contents. There are a couple old bug reports about that (CB-7273, CB-8350). The bugs don't repro anymore, but I'm adding the test anyway since there wasn't good test coverage before. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jasongin/cordova-plugin-file CB-9752 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file/pull/144.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 #144 commit 76c8fd5e43598ea660c2db64eb08e2659b45a575 Author: Jason GinchereauDate: 2015-10-28T21:30:24Z Fix CB-9752: getDirectory fails on valid directory with assets filesystem Calls to FileEntry.getDirectory() on an asset entry would internally call the AssetFileSystem.listAssets() method using an asset path with a trailing slash, regardless of whether a trailing slash was included by the user. But neither the asset list cache (from cdvasset.manifest) nor Android's AssetManager.list() API support matching a path with a trailing slash. That resulted in a TypeMismatchException thrown from AssetFileSystem.getFileForLocalURL(), because the asset path was found but not matched as a directory as expected by the caller. This fix removes the trailing slash from the asset path before matching against the asset list cache or calling Android's AssetManager.list() API. A new unit test for getting asset directories fails without and passes with the fix. While I'm here, I'm also adding a unit test for reading asset file contents. There are a couple old bug reports about that (CB-7273, CB-8350). The bugs don't repro anymore, but I'm adding the test anyway since there wasn't good test coverage before. > getDirectory fails on valid directory with assets filesystem > > > Key: CB-9752 > URL: https://issues.apache.org/jira/browse/CB-9752 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin File > Environment: cordova 5.3.3 > cordova android 4.0.0 > cordova-plugin-file 2.0.0 > *** using build-extras.gradle to speed up lookups (as per README.md for > plugin) *** >Reporter: Denis Babineau >Assignee: Jason Ginchereau > > The following JS snippet fails with "failed to get www directory": > window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, > function(appDir) { > appDir.getDirectory('www', {create:false}, function(wwwDir) { > console.log("success!"); > }, function() { > console.log("failed to get www directory"); > }); > }, function() { > console.log("Failed to get application directory"); > }); > I narrowed it down to AssetFilesystem.java's listAssets() method called from > isDirectory() which returns the "new String[0];" (assetPath = 'www/' in this > method) which in turn causes isDirectory() to return false. -- 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-9910) Android permission error for gallery images with target height/width
[ https://issues.apache.org/jira/browse/CB-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982939#comment-14982939 ] Richard B Knoll commented on CB-9910: - Requesting the permission first (e.g. by taking a picture with the camera) prevents the error. > Android permission error for gallery images with target height/width > > > Key: CB-9910 > URL: https://issues.apache.org/jira/browse/CB-9910 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 6.0.0 Marshmallow on a Nexus 6, cordova-android > 5.0.0 (master), cordova-plugin-camera 1.2.1 (master) >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android > > When you request an image from the PHOTOLIBRARY source in Android, if you set > targetHeight and targetWidth you get a SecurityException for not requesting > READ_EXTERNAL_STORAGE. Stack trace: > {code} > java.lang.SecurityException: Permission Denial: reading > com.android.providers.media.MediaProvider uri > content://media/external/images/media from pid=5306, uid=10185 requires > android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission() > at > android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605) > at > android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480) > at > android.content.ContentProvider$Transport.query(ContentProvider.java:211) > at > android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) > at android.os.Binder.execTransact(Binder.java:453) > java.io.FileNotFoundException: > /storage/emulated/0/Android/data/io.cordova.hellocordova/cache: open failed: > ENOENT (No such file or directory) > at libcore.io.IoBridge.open(IoBridge.java:452) > at java.io.FileOutputStream.(FileOutputStream.java:87) > at java.io.FileOutputStream.(FileOutputStream.java:127) > at java.io.FileOutputStream.(FileOutputStream.java:116) > at > org.apache.cordova.camera.CameraLauncher.ouputModifiedBitmap(CameraLauncher.java:549) > at > org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:669) > at > org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66) > at org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:765) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) > at java.lang.Thread.run(Thread.java:818) > Caused by: android.system.ErrnoException: open failed: ENOENT (No such file > or directory) > at libcore.io.Posix.open(Native Method) > at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) > at libcore.io.IoBridge.open(IoBridge.java:438) > ... 10 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-9901) cordova plugin search should open browser to cordova plugin search
[ https://issues.apache.org/jira/browse/CB-9901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14982943#comment-14982943 ] ASF GitHub Bot commented on CB-9901: Github user eymorale commented on the pull request: https://github.com/apache/cordova-lib/pull/334#issuecomment-152596207 Thanks @nikhilkh! I'll take a look at the jshint failure and fix it > cordova plugin search should open browser to cordova plugin search > -- > > Key: CB-9901 > URL: https://issues.apache.org/jira/browse/CB-9901 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI, CordovaLib >Reporter: Edna Morales >Assignee: Edna Morales >Priority: Minor > Fix For: Master > > > cordova plugin search should open the browser to > 'http://cordova.apache.org/plugins/?q=' -- 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-9752) getDirectory fails on valid directory with assets filesystem
[ https://issues.apache.org/jira/browse/CB-9752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983422#comment-14983422 ] ASF GitHub Bot commented on CB-9752: Github user infil00p commented on the pull request: https://github.com/apache/cordova-plugin-file/pull/144#issuecomment-152660125 Where are you adding the unit test? We currently don't have a way to unit test plugins. > getDirectory fails on valid directory with assets filesystem > > > Key: CB-9752 > URL: https://issues.apache.org/jira/browse/CB-9752 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin File > Environment: cordova 5.3.3 > cordova android 4.0.0 > cordova-plugin-file 2.0.0 > *** using build-extras.gradle to speed up lookups (as per README.md for > plugin) *** >Reporter: Denis Babineau >Assignee: Jason Ginchereau > > The following JS snippet fails with "failed to get www directory": > window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, > function(appDir) { > appDir.getDirectory('www', {create:false}, function(wwwDir) { > console.log("success!"); > }, function() { > console.log("failed to get www directory"); > }); > }, function() { > console.log("Failed to get application directory"); > }); > I narrowed it down to AssetFilesystem.java's listAssets() method called from > isDirectory() which returns the "new String[0];" (assetPath = 'www/' in this > method) which in turn causes isDirectory() to return false. -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983513#comment-14983513 ] ASF subversion and git services commented on CB-9903: - Commit 81716f65991d1fa089e72fff4b549185e298131a in cordova-cli's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=81716f6 ] CB-9903 Updated version and RELEASENOTES.md for release 5.4.0 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983519#comment-14983519 ] ASF subversion and git services commented on CB-9903: - Commit 90546bd136799649a3b315a7c4e79187fb4f9d04 in cordova-js's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=90546bd ] CB-9903 Updated version and RELEASENOTES.md for release 4.1.2 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983520#comment-14983520 ] ASF subversion and git services commented on CB-9903: - Commit 6b83950ffdd6b84977dfae49d8147ef640b8097f in cordova-js's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=6b83950 ] CB-9903 Incremented package version to -dev > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983511#comment-14983511 ] ASF subversion and git services commented on CB-9903: - Commit 3449d5b2514e7bbceb852e95a01e874e79d2ed7a in cordova-plugman's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=3449d5b ] CB-9903 Updated version and RELEASENOTES.md for release 1.0.5 > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9903) Tools Release October 29, 2015
[ https://issues.apache.org/jira/browse/CB-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983514#comment-14983514 ] ASF subversion and git services commented on CB-9903: - Commit 5834f4a1af97fff676a5cd7e0c984395ec00d3c0 in cordova-cli's branch refs/heads/master from [~stevegill] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=5834f4a ] CB-9903 Incremented package version to -dev > Tools Release October 29, 2015 > -- > > Key: CB-9903 > URL: https://issues.apache.org/jira/browse/CB-9903 > Project: Apache Cordova > Issue Type: Task >Reporter: Steve Gill >Assignee: Steve Gill > > "Following steps at > https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md; -- 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-9370) Cordova-js tests are failing on node 0.12
[ https://issues.apache.org/jira/browse/CB-9370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983516#comment-14983516 ] ASF subversion and git services commented on CB-9370: - Commit 064b25a40aab8fc2f210fdbb394d63c31e7d3e6d in cordova-js's branch refs/heads/4.1.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=064b25a ] CB-9370 Changes jsdom dependency to avoid package installation issues > Cordova-js tests are failing on node 0.12 > - > > Key: CB-9370 > URL: https://issues.apache.org/jira/browse/CB-9370 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaJS >Affects Versions: 4.1.0 > Environment: Windows/Mac OSX machine, > Node JS 0.12.7 >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Labels: cordova-js > Fix For: 4.1.0 > > > Since https://github.com/apache/cordova-js/pull/118 unit tests for cordova-js > started failing on AppVeyor CI with unclear message {{Fatal error: Cannot set > property length of [object Object] which has only a getter}}. > It looks like the origin of failures - updated NodeJS version on AppVeyor > build machines. Failure also can be reproduced on local machine with > Node@0.12.5 installed. > The reason of failures - is outdated {{jsdom-nogyp}} dependency (last updated > about 2 years ago). The solution is to replace {{jsdom-nogyp}} with original > {{node-jsdom}}, which works fine with node@12.x. It also would be great to > test such cases through CI. -- 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-9900) Device motion plugin tests are failing on iOS simulator
[ https://issues.apache.org/jira/browse/CB-9900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983064#comment-14983064 ] ASF GitHub Bot commented on CB-9900: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-device-motion/pull/37 > Device motion plugin tests are failing on iOS simulator > --- > > Key: CB-9900 > URL: https://issues.apache.org/jira/browse/CB-9900 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Device Motion >Affects Versions: Master >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > > iOS simulator doesn't support accelerometer so we should pend the tests when > they are not running on real device. -- 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-9369) Fix failing CI tests for cordova-ios
[ https://issues.apache.org/jira/browse/CB-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983063#comment-14983063 ] ASF GitHub Bot commented on CB-9369: Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-device-motion/pull/38 > Fix failing CI tests for cordova-ios > > > Key: CB-9369 > URL: https://issues.apache.org/jira/browse/CB-9369 > Project: Apache Cordova > Issue Type: Bug > Components: iOS >Reporter: Shazron Abdullah >Assignee: Jesse MacFadyen > Labels: cordova-ios-4.0.x > > 24 failures. > Break up into smaller bugs if need be. > {code} > Getting test results for cordova-ios-33-buildbot-vm > Results at > http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-ios-33-buildbot-vm__8.4__x86_64 > Total failures: 24 > Failing tests: > org.apache.cordova.mobilespec.tests.datauri.tests >> data uris > datauri.spec.1 should work with iframes > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) find > method contacts.spec.3 success callback should be called with an array > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) find > method success callback should be called with an array, even if partial > ContactFindOptions specified > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) find > method with newly-created contact contacts.spec.6 should be able to find a > contact by name > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save > method contacts.spec.20 should be able to save a contact > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save > method contacts.spec.21 update a contact > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Contact.remove method contacts.spec.23 calling remove on a contact that does > not exist should return ContactError.UNKNOWN_ERROR > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/3D0DD958-E8FF-48F8-897F-6D7DB711313C/data/Containers/Bundle/Application/B57EA2A6-3FCF-4F8E-9498-2298563832E6/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Round trip Contact tests (creating + save + delete + find). contacts.spec.24 > Creating, saving, finding a contact should work, removing it should work, > after which we should
[jira] [Commented] (CB-9910) Android permission error for gallery images with target height/width
[ https://issues.apache.org/jira/browse/CB-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14983090#comment-14983090 ] Richard B Knoll commented on CB-9910: - Allow edit also requires the permission and just doesn't work it with the gallery it seems. No cropping window comes up and instead of the gallery chooser we get a generic file picker which seems like a much worse experience. This is mentioned in another JIRA somewhere, I think. > Android permission error for gallery images with target height/width > > > Key: CB-9910 > URL: https://issues.apache.org/jira/browse/CB-9910 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 6.0.0 Marshmallow on a Nexus 6, cordova-android > 5.0.0 (master), cordova-plugin-camera 1.2.1 (master) >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android > > When you request an image from the PHOTOLIBRARY source in Android, if you set > targetHeight and targetWidth you get a SecurityException for not requesting > READ_EXTERNAL_STORAGE. Stack trace: > {code} > java.lang.SecurityException: Permission Denial: reading > com.android.providers.media.MediaProvider uri > content://media/external/images/media from pid=5306, uid=10185 requires > android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission() > at > android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605) > at > android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480) > at > android.content.ContentProvider$Transport.query(ContentProvider.java:211) > at > android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) > at android.os.Binder.execTransact(Binder.java:453) > java.io.FileNotFoundException: > /storage/emulated/0/Android/data/io.cordova.hellocordova/cache: open failed: > ENOENT (No such file or directory) > at libcore.io.IoBridge.open(IoBridge.java:452) > at java.io.FileOutputStream.(FileOutputStream.java:87) > at java.io.FileOutputStream.(FileOutputStream.java:127) > at java.io.FileOutputStream.(FileOutputStream.java:116) > at > org.apache.cordova.camera.CameraLauncher.ouputModifiedBitmap(CameraLauncher.java:549) > at > org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:669) > at > org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66) > at org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:765) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) > at java.lang.Thread.run(Thread.java:818) > Caused by: android.system.ErrnoException: open failed: ENOENT (No such file > or directory) > at libcore.io.Posix.open(Native Method) > at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) > at libcore.io.IoBridge.open(IoBridge.java:438) > ... 10 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