[jira] [Comment Edited] (CB-8976) platforms/android/build.gradle modifies android versionCode
[ https://issues.apache.org/jira/browse/CB-8976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217418#comment-15217418 ] Joe Bowser edited comment on CB-8976 at 3/30/16 5:30 AM: - Unless you are using Crosswalk, we are no longer modifying the version number. The reason this issue is still open is because you should be able to disable this version code by using the an arch argument. Once that is implemented, we will close this issue as resolved. was (Author: bowserj): Unless you are using Crosswalk, we are no longer modifying the version number. > platforms/android/build.gradle modifies android versionCode > --- > > Key: CB-8976 > URL: https://issues.apache.org/jira/browse/CB-8976 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Android >Reporter: zack dykes >Assignee: Joe Bowser >Priority: Minor > > cordova 5.0.0 > platforms/android/build.gradle modifies android versionCode at ln 178 > as I understand it max size for versionCode is (2^31)-1 > http://stackoverflow.com/a/24246191/126600 > in my config.xml: > {code} > android-versionCode="1385039613" > {code} > when I run {{cordova build android}}, I get: > {code} > FAILURE: Build failed with an exception. > * Where: > Build file > '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle' > line: 178 > * What went wrong: > A problem occurred evaluating root project 'android'. > > For input string: "13850396130" > {code} > and build.gradle, ln 178 > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode") + "0") > {code} > looks like this is appending "0" to my versionCode, producing 13850396130 > which is larger than max size for android versionCode > if I mod ln 178 as follows, build succeeds > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode")) > {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-8976) platforms/android/build.gradle modifies android versionCode
[ https://issues.apache.org/jira/browse/CB-8976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217418#comment-15217418 ] Joe Bowser commented on CB-8976: Unless you are using Crosswalk, we are no longer modifying the version number. > platforms/android/build.gradle modifies android versionCode > --- > > Key: CB-8976 > URL: https://issues.apache.org/jira/browse/CB-8976 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Android >Reporter: zack dykes >Assignee: Joe Bowser >Priority: Minor > > cordova 5.0.0 > platforms/android/build.gradle modifies android versionCode at ln 178 > as I understand it max size for versionCode is (2^31)-1 > http://stackoverflow.com/a/24246191/126600 > in my config.xml: > {code} > android-versionCode="1385039613" > {code} > when I run {{cordova build android}}, I get: > {code} > FAILURE: Build failed with an exception. > * Where: > Build file > '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle' > line: 178 > * What went wrong: > A problem occurred evaluating root project 'android'. > > For input string: "13850396130" > {code} > and build.gradle, ln 178 > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode") + "0") > {code} > looks like this is appending "0" to my versionCode, producing 13850396130 > which is larger than max size for android versionCode > if I mod ln 178 as follows, build succeeds > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode")) > {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-8976) platforms/android/build.gradle modifies android versionCode
[ https://issues.apache.org/jira/browse/CB-8976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217390#comment-15217390 ] Sergey commented on CB-8976: I use this workout: Disable multipleApkBuild in config.xml due crosswalk use it own property for enable it. Specify versionCode through gradle arguments. > platforms/android/build.gradle modifies android versionCode > --- > > Key: CB-8976 > URL: https://issues.apache.org/jira/browse/CB-8976 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Android >Reporter: zack dykes >Assignee: Joe Bowser >Priority: Minor > > cordova 5.0.0 > platforms/android/build.gradle modifies android versionCode at ln 178 > as I understand it max size for versionCode is (2^31)-1 > http://stackoverflow.com/a/24246191/126600 > in my config.xml: > {code} > android-versionCode="1385039613" > {code} > when I run {{cordova build android}}, I get: > {code} > FAILURE: Build failed with an exception. > * Where: > Build file > '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle' > line: 178 > * What went wrong: > A problem occurred evaluating root project 'android'. > > For input string: "13850396130" > {code} > and build.gradle, ln 178 > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode") + "0") > {code} > looks like this is appending "0" to my versionCode, producing 13850396130 > which is larger than max size for android versionCode > if I mod ln 178 as follows, build succeeds > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode")) > {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-8976) platforms/android/build.gradle modifies android versionCode
[ https://issues.apache.org/jira/browse/CB-8976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217231#comment-15217231 ] Alexander S. commented on CB-8976: -- We do not use crosswalk but have to deal with this. There should be a way to simply disable all this and use the build number from config.xml This behavior caused a lot of bugs for us and we lost a lot of time investigating these. > platforms/android/build.gradle modifies android versionCode > --- > > Key: CB-8976 > URL: https://issues.apache.org/jira/browse/CB-8976 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Android >Reporter: zack dykes >Assignee: Joe Bowser >Priority: Minor > > cordova 5.0.0 > platforms/android/build.gradle modifies android versionCode at ln 178 > as I understand it max size for versionCode is (2^31)-1 > http://stackoverflow.com/a/24246191/126600 > in my config.xml: > {code} > android-versionCode="1385039613" > {code} > when I run {{cordova build android}}, I get: > {code} > FAILURE: Build failed with an exception. > * Where: > Build file > '/Users/zackd/dev/code/cordova/cordova-ansr-fat-client/ondeviceresearch/platforms/android/build.gradle' > line: 178 > * What went wrong: > A problem occurred evaluating root project 'android'. > > For input string: "13850396130" > {code} > and build.gradle, ln 178 > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode") + "0") > {code} > looks like this is appending "0" to my versionCode, producing 13850396130 > which is larger than max size for android versionCode > if I mod ln 178 as follows, build succeeds > {code} > versionCode cdvVersionCode ?: Integer.parseInt("" + > privateHelpers.extractIntFromManifest("versionCode")) > {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] [Comment Edited] (CB-10987) Camera crashes on Windows 10 when targetwidth and targetheight specified
[ https://issues.apache.org/jira/browse/CB-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217196#comment-15217196 ] Raghav Katyal edited comment on CB-10987 at 3/30/16 1:26 AM: - [~robo66]: Kindly attach the app.js/index.js file of your project. was (Author: rakatyal): [~robo66]: Kindly attached the app.js/index.js file of your project. > Camera crashes on Windows 10 when targetwidth and targetheight specified > > > Key: CB-10987 > URL: https://issues.apache.org/jira/browse/CB-10987 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows 10, Local Machine >Reporter: Raghav Katyal >Assignee: Raghav Katyal > Labels: reproduced, triaged, windows > Attachments: config.xml > > > Breaks when following options specified: > var options = { > quality: 80, > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > cameraDirection: Camera.Direction.FRONT, > targetWidth: 180, > targetHeight: 180, > saveToPhotoAlbum: 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-10987) Camera crashes on Windows 10 when targetwidth and targetheight specified
[ https://issues.apache.org/jira/browse/CB-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217196#comment-15217196 ] Raghav Katyal commented on CB-10987: [~robo66]: Kindly attached the app.js/index.js file of your project. > Camera crashes on Windows 10 when targetwidth and targetheight specified > > > Key: CB-10987 > URL: https://issues.apache.org/jira/browse/CB-10987 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows 10, Local Machine >Reporter: Raghav Katyal >Assignee: Raghav Katyal > Labels: reproduced, triaged, windows > Attachments: config.xml > > > Breaks when following options specified: > var options = { > quality: 80, > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > cameraDirection: Camera.Direction.FRONT, > targetWidth: 180, > targetHeight: 180, > saveToPhotoAlbum: 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217167#comment-15217167 ] Richard B Knoll commented on CB-10986: -- Nope, appears unrelated. Introduced in https://github.com/apache/cordova-lib/commit/618eeca9583defa81054158ac456674fe5c5b1d0 > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue >Assignee: Richard B Knoll > Labels: regression, reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10986: - Labels: regression reproduced triaged (was: reproduced triaged) > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue >Assignee: Richard B Knoll > Labels: regression, reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-10963) cordova-android does not support multiple runtime permission requests
[ https://issues.apache.org/jira/browse/CB-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll closed CB-10963. Resolution: Fixed > cordova-android does not support multiple runtime permission requests > - > > Key: CB-10963 > URL: https://issues.apache.org/jira/browse/CB-10963 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Marshmallow >Reporter: Richard B Knoll >Assignee: Richard B Knoll > Labels: android, reproduced, triaged > > If a plugin makes multiple permission requests before the user grants/denies > them, only the last one will get returned. More importantly, requests from > multiple plugins can interfere with each other. > For example, if Plugin A makes a permission request and then Plugin B > immediately makes another permission request before the user grants/denies > Plugin A's request, then Plugin A will never receive the results of its > request (Android seems to return permission requests in reverse order of when > they were made, so Plugin B will actually get the correct result back). > I've got a fix for this and will open a PR momentarily. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll reassigned CB-10986: Assignee: Richard B Knoll > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue >Assignee: Richard B Knoll > Labels: reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217104#comment-15217104 ] Richard B Knoll commented on CB-10986: -- I'll take a look at this. It might have been broken with the changes made for the new plugin version selection code. > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue > Labels: reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10986: - Component/s: CordovaLib > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue > Labels: reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10986: - Labels: reproduced triaged (was: ) > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue > Labels: reproduced, triaged > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10986: - Component/s: (was: CLI) > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib >Affects Versions: 6.1.0 >Reporter: Darryl Pogue > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10987) Camera crashes on Windows 10 when targetwidth and targetheight specified
[ https://issues.apache.org/jira/browse/CB-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10987: - Labels: reproduced triaged windows (was: ) > Camera crashes on Windows 10 when targetwidth and targetheight specified > > > Key: CB-10987 > URL: https://issues.apache.org/jira/browse/CB-10987 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows 10, Local Machine >Reporter: Raghav Katyal >Assignee: Raghav Katyal > Labels: reproduced, triaged, windows > Attachments: config.xml > > > Breaks when following options specified: > var options = { > quality: 80, > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > cameraDirection: Camera.Direction.FRONT, > targetWidth: 180, > targetHeight: 180, > saveToPhotoAlbum: 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] [Updated] (CB-10988) iOS app crashing after photo is taken
[ https://issues.apache.org/jira/browse/CB-10988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10988: - Labels: ios (was: ) > iOS app crashing after photo is taken > - > > Key: CB-10988 > URL: https://issues.apache.org/jira/browse/CB-10988 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 2.1.0, 2.1.1 > Environment: iOS 9.3, iPhone 6+ >Reporter: Joseph Montanez > Labels: ios > > After taken 20+ photos, one after another the application will crash on the > Phone 6+. This happens most often when zooming into the camera, having photos > with a lot of motion or low light images. > I've tried to debug the application but the safari inspector crashed, and the > XCode debugger exists, as well as the application exiting. Here is the crash > report: > https://gist.github.com/joseph-montanez/9d0f23948076c32b1804365eaf13aeff > Also here is the code I am using to replicate this issue: > https://github.com/joseph-montanez/cordova-camera-crash > Here is what memory usage looks like before the application crashes: > http://i.imgur.com/aQff0NF.png > Overall it looks like a memory issue, the spikes are after taking various > photos. -- 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-10988) iOS app crashing after photo is taken
Joseph Montanez created CB-10988: Summary: iOS app crashing after photo is taken Key: CB-10988 URL: https://issues.apache.org/jira/browse/CB-10988 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Affects Versions: 2.1.0, 2.1.1 Environment: iOS 9.3, iPhone 6+ Reporter: Joseph Montanez After taken 20+ photos, one after another the application will crash on the Phone 6+. This happens most often when zooming into the camera, having photos with a lot of motion or low light images. I've tried to debug the application but the safari inspector crashed, and the XCode debugger exists, as well as the application exiting. Here is the crash report: https://gist.github.com/joseph-montanez/9d0f23948076c32b1804365eaf13aeff Also here is the code I am using to replicate this issue: https://github.com/joseph-montanez/cordova-camera-crash Here is what memory usage looks like before the application crashes: http://i.imgur.com/aQff0NF.png Overall it looks like a memory issue, the spikes are after taking various photos. -- 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-10783) Flaky media test in iOS
[ https://issues.apache.org/jira/browse/CB-10783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15217075#comment-15217075 ] ASF GitHub Bot commented on CB-10783: - Github user rakatyal commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/89#issuecomment-203159625 LGTM. > Flaky media test in iOS > --- > > Key: CB-10783 > URL: https://issues.apache.org/jira/browse/CB-10783 > Project: Apache Cordova > Issue Type: Test > Components: Plugin Media >Reporter: Richard B Knoll > Labels: found-by-ci, ios > > {code} > cordova-plugin-media-tests.tests >> Media actual playback media.spec.17 > duration should be set properly > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js > (line 1764) > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > {code} > Shows up sometimes in the 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] [Updated] (CB-10987) Camera crashes on Windows 10 when targetwidth and targetheight specified
[ https://issues.apache.org/jira/browse/CB-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Owen updated CB-10987: - Attachment: config.xml > Camera crashes on Windows 10 when targetwidth and targetheight specified > > > Key: CB-10987 > URL: https://issues.apache.org/jira/browse/CB-10987 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Windows 10, Local Machine >Reporter: Raghav Katyal >Assignee: Raghav Katyal > Attachments: config.xml > > > Breaks when following options specified: > var options = { > quality: 80, > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.CAMERA, > encodingType: Camera.EncodingType.JPEG, > cameraDirection: Camera.Direction.FRONT, > targetWidth: 180, > targetHeight: 180, > saveToPhotoAlbum: 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-10963) cordova-android does not support multiple runtime permission requests
[ https://issues.apache.org/jira/browse/CB-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216973#comment-15216973 ] ASF subversion and git services commented on CB-10963: -- Commit ef268e23206f3378d5c8c5dd279d2821830766b2 in cordova-android's branch refs/heads/master from Richard Knoll [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=ef268e2 ] CB-10963: Handle overlapping permission requests from plugins This closes #285 > cordova-android does not support multiple runtime permission requests > - > > Key: CB-10963 > URL: https://issues.apache.org/jira/browse/CB-10963 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Marshmallow >Reporter: Richard B Knoll >Assignee: Richard B Knoll > Labels: android, reproduced, triaged > > If a plugin makes multiple permission requests before the user grants/denies > them, only the last one will get returned. More importantly, requests from > multiple plugins can interfere with each other. > For example, if Plugin A makes a permission request and then Plugin B > immediately makes another permission request before the user grants/denies > Plugin A's request, then Plugin A will never receive the results of its > request (Android seems to return permission requests in reverse order of when > they were made, so Plugin B will actually get the correct result back). > I've got a fix for this and will open a PR momentarily. -- 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-10963) cordova-android does not support multiple runtime permission requests
[ https://issues.apache.org/jira/browse/CB-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216975#comment-15216975 ] ASF GitHub Bot commented on CB-10963: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-android/pull/285 > cordova-android does not support multiple runtime permission requests > - > > Key: CB-10963 > URL: https://issues.apache.org/jira/browse/CB-10963 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Environment: Marshmallow >Reporter: Richard B Knoll >Assignee: Richard B Knoll > Labels: android, reproduced, triaged > > If a plugin makes multiple permission requests before the user grants/denies > them, only the last one will get returned. More importantly, requests from > multiple plugins can interfere with each other. > For example, if Plugin A makes a permission request and then Plugin B > immediately makes another permission request before the user grants/denies > Plugin A's request, then Plugin A will never receive the results of its > request (Android seems to return permission requests in reverse order of when > they were made, so Plugin B will actually get the correct result back). > I've got a fix for this and will open a PR momentarily. -- 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-10783) Flaky media test in iOS
[ https://issues.apache.org/jira/browse/CB-10783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216957#comment-15216957 ] ASF GitHub Bot commented on CB-10783: - Github user rakatyal commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/89#issuecomment-203137750 Is there any reason to specify the upper bound? > Flaky media test in iOS > --- > > Key: CB-10783 > URL: https://issues.apache.org/jira/browse/CB-10783 > Project: Apache Cordova > Issue Type: Test > Components: Plugin Media >Reporter: Richard B Knoll > Labels: found-by-ci, ios > > {code} > cordova-plugin-media-tests.tests >> Media actual playback media.spec.17 > duration should be set properly > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js > (line 1764) > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > {code} > Shows up sometimes in the 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216930#comment-15216930 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on the pull request: https://github.com/apache/cordova-windows/pull/163#issuecomment-203131675 Also I couldn't understand the reason for creating a new testproj directory. Couldn't we have used the existing DummyProject repo for this? > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10881) Contact tests fail with different behaviors on android-osx
[ https://issues.apache.org/jira/browse/CB-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216903#comment-15216903 ] ASF subversion and git services commented on CB-10881: -- Commit 8a08f75cad9e6b127884e9e5e2fae3e44225c702 in cordova-plugin-contacts's branch refs/heads/master from [~omefire] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=8a08f75 ] CB-10881 Add extra logging to gather more information about tests behavior > Contact tests fail with different behaviors on android-osx > -- > > Key: CB-10881 > URL: https://issues.apache.org/jira/browse/CB-10881 > Project: Apache Cordova > Issue Type: Test >Reporter: Raghav Katyal >Assignee: Omar Mefire >Priority: Critical > Labels: cordova-android-osx, cordova-android-win, found-by-ci > > Plugin contact tests fail consistently with various reasons on android-osx. > Recent build links: > https://ci.apache.org/builders/cordova-android-osx/builds/2076 > https://ci.apache.org/builders/cordova-android-osx/builds/2075 > Build log: > Total failures: 3 > Failing tests: > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save > method contacts.spec.22 update a contact > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Contact.remove method contacts.spec.23 calling remove on a contact that has > an id of null should return ContactError.UNKNOWN_ERROR > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Round trip Contact tests (creating + save + delete + find) contacts.spec.25 > Creating, saving, finding a contact should work > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Expected spy unknownErrorCallback not to have been called. > Error: Expected spy unknownErrorCallback not to have been called. > at stack > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17) > at buildExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14) > at Spec.Env.expectationResultFactory > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18) > at Spec.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34) > at Expectation.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21) > at Expectation.toHaveBeenCalled > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12) > at > file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:73:51 > at fail > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:111:9) > at Contact.remove > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:114:9) > at removeContact > (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:60:21) -- 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-10881) Contact tests fail with different behaviors on android-osx
[ https://issues.apache.org/jira/browse/CB-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216904#comment-15216904 ] ASF GitHub Bot commented on CB-10881: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-contacts/pull/111 > Contact tests fail with different behaviors on android-osx > -- > > Key: CB-10881 > URL: https://issues.apache.org/jira/browse/CB-10881 > Project: Apache Cordova > Issue Type: Test >Reporter: Raghav Katyal >Assignee: Omar Mefire >Priority: Critical > Labels: cordova-android-osx, cordova-android-win, found-by-ci > > Plugin contact tests fail consistently with various reasons on android-osx. > Recent build links: > https://ci.apache.org/builders/cordova-android-osx/builds/2076 > https://ci.apache.org/builders/cordova-android-osx/builds/2075 > Build log: > Total failures: 3 > Failing tests: > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save > method contacts.spec.22 update a contact > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Contact.remove method contacts.spec.23 calling remove on a contact that has > an id of null should return ContactError.UNKNOWN_ERROR > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Round trip Contact tests (creating + save + delete + find) contacts.spec.25 > Creating, saving, finding a contact should work > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Expected spy unknownErrorCallback not to have been called. > Error: Expected spy unknownErrorCallback not to have been called. > at stack > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17) > at buildExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14) > at Spec.Env.expectationResultFactory > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18) > at Spec.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34) > at Expectation.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21) > at Expectation.toHaveBeenCalled > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12) > at > file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:73:51 > at fail > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:111:9) > at Contact.remove > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:114:9) > at removeContact > (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:60:21) -- 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-10783) Flaky media test in iOS
[ https://issues.apache.org/jira/browse/CB-10783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216901#comment-15216901 ] ASF GitHub Bot commented on CB-10783: - Github user sarangan12 commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/89#issuecomment-203122183 Locally always... > Flaky media test in iOS > --- > > Key: CB-10783 > URL: https://issues.apache.org/jira/browse/CB-10783 > Project: Apache Cordova > Issue Type: Test > Components: Plugin Media >Reporter: Richard B Knoll > Labels: found-by-ci, ios > > {code} > cordova-plugin-media-tests.tests >> Media actual playback media.spec.17 > duration should be set properly > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js > (line 1764) > > file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/746B9F0F-004E-4950-B441-DB5A505104FB/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32 > {code} > Shows up sometimes in the 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-10881) Contact tests fail with different behaviors on android-osx
[ https://issues.apache.org/jira/browse/CB-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216892#comment-15216892 ] ASF GitHub Bot commented on CB-10881: - GitHub user omefire opened a pull request: https://github.com/apache/cordova-plugin-contacts/pull/111 CB-10881 Add extra logging to gather more information about tests behavior You can merge this pull request into a Git repository by running: $ git pull https://github.com/omefire/cordova-plugin-contacts CB-10881 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-contacts/pull/111.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 #111 commit 0d256c56cdafb788d82ecf645966f52f14b943c6 Author: Omar MefireDate: 2016-03-29T19:51:46Z CB-10881 Add extra logging to gather more information about tests behavior > Contact tests fail with different behaviors on android-osx > -- > > Key: CB-10881 > URL: https://issues.apache.org/jira/browse/CB-10881 > Project: Apache Cordova > Issue Type: Test >Reporter: Raghav Katyal >Assignee: Omar Mefire >Priority: Critical > Labels: cordova-android-osx, cordova-android-win, found-by-ci > > Plugin contact tests fail consistently with various reasons on android-osx. > Recent build links: > https://ci.apache.org/builders/cordova-android-osx/builds/2076 > https://ci.apache.org/builders/cordova-android-osx/builds/2075 > Build log: > Total failures: 3 > Failing tests: > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save > method contacts.spec.22 update a contact > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Contact.remove method contacts.spec.23 calling remove on a contact that has > an id of null should return ContactError.UNKNOWN_ERROR > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) > Round trip Contact tests (creating + save + delete + find) contacts.spec.25 > Creating, saving, finding a contact should work > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > Error: Timeout - Async callback was not invoked within timeout > specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. > at > file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23 > Expected spy unknownErrorCallback not to have been called. > Error: Expected spy unknownErrorCallback not to have been called. > at stack > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17) > at buildExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14) > at Spec.Env.expectationResultFactory > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18) > at Spec.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34) > at Expectation.addExpectationResult > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21) > at Expectation.toHaveBeenCalled > (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12) > at > file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:73:51 > at fail > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:111:9) > at Contact.remove > (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:114:9) > at removeContact >
[jira] [Commented] (CB-10229) cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?]
[ https://issues.apache.org/jira/browse/CB-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216878#comment-15216878 ] Matthew Ma commented on CB-10229: - The plugin doc looks fine to me now. I grabbed one from the internet and the double quote was wrong. > cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?] > > > Key: CB-10229 > URL: https://issues.apache.org/jira/browse/CB-10229 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar >Reporter: vB Results, LLC. > > cordova-ios 4.0.0+ /> [regression?] -- 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-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)
[ https://issues.apache.org/jira/browse/CB-10857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216858#comment-15216858 ] ASF GitHub Bot commented on CB-10857: - Github user riknoll commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/198#issuecomment-203109141 So, I've done a bit of testing on Marshmallow and it seems like this works pretty well. It does have the caveat of returning a `content://` URI, but that isn't a huge deal in my book. Currently, depending on the camera options you pass it is possible to get back either a `content://` URI, `file://` URI, or a file path back, so we aren't consistent at all anyway. @jcesarmobile does this look alright to you? I plan to do some more testing on Jelly Bean in a bit. > Camera.getPicture return null for Google Drive (camera 2.1.1) > - > > Key: CB-10857 > URL: https://issues.apache.org/jira/browse/CB-10857 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 2.1.1 > Environment: Android - Tested on 6.0.1 >Reporter: Dagfinn Parnas >Assignee: Richard B Knoll > Labels: android, mustfix, reproduced, triaged > Attachments: Filepicker_google_drive.png > > > Camera.getPicture returns null for pictures and other files when using Google > Drive in version 2.1.1. Other sources in the generic file picker such as > Images, Photos and Astro File Manager works. > The camera plugin gets a null value in processResultFromGallery > 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null > The return value from the file picker is > content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 > (see android log below) > Code sample: > {code} > navigator.camera.getPicture(onPhotoURISuccess, onFail, { > quality: 50, > correctOrientation: true, > destinationType: destinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > mediaType: Camera.MediaType.ALLMEDIA, > }); > {code} > Android log: > {code} > 03-14 10:48:31.969: I/ActivityManager(914): Displayed > com.android.documentsui/.DocumentsActivity: +146ms (total +172ms) > 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=2, sortOrder=2 > 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:44.279: D/NetlinkSocketObserver(914): > NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, > NUD_STALE} > 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 55 > 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - > Exhausted retry attempts - :6 > 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1 ,Init step :2 > ,qmiErrorCode: 0 > 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 56 > 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:52.028: D/Documents(19828): onFinished() > [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000] > 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to > plugin > 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null > 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: > null", source: > file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js > (39) > {code} > Related to https://issues.apache.org/jira/browse/CB-10270 > PS Updated android log -- 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-10987) Camera crashes on Windows 10 when targetwidth and targetheight specified
Raghav Katyal created CB-10987: -- Summary: Camera crashes on Windows 10 when targetwidth and targetheight specified Key: CB-10987 URL: https://issues.apache.org/jira/browse/CB-10987 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Environment: Windows 10, Local Machine Reporter: Raghav Katyal Assignee: Raghav Katyal Breaks when following options specified: var options = { quality: 80, destinationType: Camera.DestinationType.FILE_URI, sourceType: Camera.PictureSourceType.CAMERA, encodingType: Camera.EncodingType.JPEG, cameraDirection: Camera.Direction.FRONT, targetWidth: 180, targetHeight: 180, saveToPhotoAlbum: 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-10229) cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?]
[ https://issues.apache.org/jira/browse/CB-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216840#comment-15216840 ] jcesarmobile commented on CB-10229: --- where is wrong formatted? on the statusbar plugin docs? > cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?] > > > Key: CB-10229 > URL: https://issues.apache.org/jira/browse/CB-10229 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar >Reporter: vB Results, LLC. > > cordova-ios 4.0.0+ /> [regression?] -- 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-10884) Inappbrowser breaks UI while Screen orientation changes from landscape to portrait on iOS
[ https://issues.apache.org/jira/browse/CB-10884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216834#comment-15216834 ] ASF GitHub Bot commented on CB-10884: - Github user jcesarmobile commented on the pull request: https://github.com/apache/cordova-plugin-statusbar/pull/53#issuecomment-203104592 LGTM The bug I told you about on slack was already present, it's not caused by this code. I'll file a new issue for it. > Inappbrowser breaks UI while Screen orientation changes from landscape to > portrait on iOS > - > > Key: CB-10884 > URL: https://issues.apache.org/jira/browse/CB-10884 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser, Plugin Statusbar >Affects Versions: 2.3.0 > Environment: iOS >Reporter: Mangesh Kurve >Assignee: Sergey Shakhnazarov > Labels: iOS, orientation, performance, reproduced, triaged > Original Estimate: 48h > Remaining Estimate: 48h > > I am developing app using cordova 5.4.1, Also I am using latest InAppBrowser > plugin. Below are the steps to reproduce the issue. > Open the URL in InAppBrowser > Change the app orientation from portrait to landscape > Press done button of InAppBrowser and check the app in landscape mode only, > you will get some blank portion > I am using iOS 9.2.1 > Also I did some modifications and I figured out that this happens when we are > using status bar plugin. If i run the app without status bar plugin, it works > fine. So issue is occurred when you are using status bar plugin > Please let me know if some one has faced same issue and got fixed. > Thank you in advance. -- 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-10229) cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?]
[ https://issues.apache.org/jira/browse/CB-10229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216833#comment-15216833 ] Matthew Ma commented on CB-10229: - I had this problem too. It was because the quote symbol in my is wrong formatted. try "cordova build ios" to see if you have syntax issue in config.xml > cordova-ios 4.0.0+ StatusBarOverlaysWebView=false does nothing [regression?] > > > Key: CB-10229 > URL: https://issues.apache.org/jira/browse/CB-10229 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar >Reporter: vB Results, LLC. > > cordova-ios 4.0.0+ /> [regression?] -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216822#comment-15216822 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/163#discussion_r57799378 --- Diff: template/cordova/lib/PluginHandler.js --- @@ -85,12 +85,12 @@ var handlers = { var src = obj.src; var dest = src; var type = obj.type; +var targetDir = obj.targetDir || ''; --- End diff -- Consider keeping this variable inside the else statement since it applies there only. > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216825#comment-15216825 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/163#discussion_r57799518 --- Diff: template/cordova/lib/PluginHandler.js --- @@ -85,12 +85,12 @@ var handlers = { var src = obj.src; var dest = src; var type = obj.type; +var targetDir = obj.targetDir || ''; if(type === 'projectReference') { -project.addProjectReference(path.join(plugin.dir,src), getTargetConditions(obj)); -} -else { -var targetDir = obj.targetDir || ''; +dest = path.join('plugins', plugin.id, targetDir, src); +project.addProjectReference(dest, getTargetConditions(obj)); --- End diff -- Since this is common to both conditions, consider taking it out and putting it after the if else statement. > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)
[ https://issues.apache.org/jira/browse/CB-10857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll reassigned CB-10857: Assignee: Richard B Knoll > Camera.getPicture return null for Google Drive (camera 2.1.1) > - > > Key: CB-10857 > URL: https://issues.apache.org/jira/browse/CB-10857 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 2.1.1 > Environment: Android - Tested on 6.0.1 >Reporter: Dagfinn Parnas >Assignee: Richard B Knoll > Labels: android, mustfix, reproduced, triaged > Attachments: Filepicker_google_drive.png > > > Camera.getPicture returns null for pictures and other files when using Google > Drive in version 2.1.1. Other sources in the generic file picker such as > Images, Photos and Astro File Manager works. > The camera plugin gets a null value in processResultFromGallery > 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null > The return value from the file picker is > content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 > (see android log below) > Code sample: > {code} > navigator.camera.getPicture(onPhotoURISuccess, onFail, { > quality: 50, > correctOrientation: true, > destinationType: destinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > mediaType: Camera.MediaType.ALLMEDIA, > }); > {code} > Android log: > {code} > 03-14 10:48:31.969: I/ActivityManager(914): Displayed > com.android.documentsui/.DocumentsActivity: +146ms (total +172ms) > 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=2, sortOrder=2 > 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:44.279: D/NetlinkSocketObserver(914): > NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, > NUD_STALE} > 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 55 > 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - > Exhausted retry attempts - :6 > 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1 ,Init step :2 > ,qmiErrorCode: 0 > 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 56 > 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:52.028: D/Documents(19828): onFinished() > [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000] > 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to > plugin > 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null > 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: > null", source: > file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js > (39) > {code} > Related to https://issues.apache.org/jira/browse/CB-10270 > PS Updated android log -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216815#comment-15216815 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/163#discussion_r57798321 --- Diff: spec/unit/pluginHandler/windows.spec.js --- @@ -441,40 +451,47 @@ describe('windows project handler', function () { }); }); -describe('of elements', function () { + describe('of elements', function () { // This could be separated into individual specs, but that results in a lot of copying and deleting the // project files, which is not needed. it('should remove from correct project files when conditions specified', function () { +var curDir; +curDir = __dirname; +process.chdir(path.join(curDir, '..', 'fixtures', 'testProj')); + var frameworks = copyArray(valid_frameworks); frameworks.forEach(function(framework) { PluginHandler.getInstaller('framework')(framework, dummyPluginInfo, dummyProject); }); -var path = 'ItemGroup/Reference'; --- End diff -- Is there a need to rename this to path2? > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216809#comment-15216809 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/163#discussion_r57797833 --- Diff: spec/unit/pluginHandler/windows.spec.js --- @@ -164,6 +164,7 @@ describe('windows project handler', function () { } }); + // throw JSON.stringify(elementToInstall, null, 2) + ' ' + JSON.stringify(dummyPluginInfo, null ,2) + ' ' + JSON.stringify(dummyProject, null, 2); --- End diff -- What is the significance of this comment? > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216806#comment-15216806 ] ASF GitHub Bot commented on CB-10927: - Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-windows/pull/163#discussion_r57797472 --- Diff: spec/unit/pluginHandler/windows.spec.js --- @@ -305,17 +306,25 @@ describe('windows project handler', function () { var frameworks = copyArray(valid_frameworks); it('should write to correct project files when conditions are specified', function () { -var xpath = 'ProjectReference[@Include="' + winJoin(dummyplugin, 'src', 'windows', 'dummy1.vcxproj') + '"][@Condition="\'$(Platform)\'==\'x64\'"]'; +var curDir; +var xpath; + +curDir = __dirname; +process.chdir(path.join(curDir, '..', 'fixtures', 'testProj')); + +xpath = 'ProjectReference[@Include="' + winJoin('..', '..', 'plugins', 'org.test.plugins.dummyplugin', 'src', 'windows', 'dummy1.vcxproj') + '"][@Condition="\'$(Platform)\'==\'x64\'"]'; validateInstalledProjects('framework', frameworks[6], xpath, ['all']); -xpath = 'ProjectReference[@Include="' + winJoin(dummyplugin, 'src', 'windows', 'dummy2.vcxproj') + '"]'; +xpath = 'ProjectReference[@Include="' + winJoin('..', '..', 'plugins', 'org.test.plugins.dummyplugin', 'src', 'windows', 'dummy2.vcxproj') + '"]'; validateInstalledProjects('framework', frameworks[7], xpath, ['windows8']); -xpath = 'ProjectReference[@Include="' + winJoin(dummyplugin, 'src', 'windows', 'dummy3.vcxproj') + '"]'; +xpath = 'ProjectReference[@Include="' + winJoin('..', '..', 'plugins', 'org.test.plugins.dummyplugin', 'src', 'windows', 'dummy3.vcxproj') + '"]'; validateInstalledProjects('framework', frameworks[8], xpath, ['windows', 'windows8', 'windows10']); -xpath = 'ProjectReference[@Include="' + winJoin(dummyplugin, 'src', 'windows', 'dummy4.vcxproj') + '"][@Condition="\'$(Platform)\'==\'x86\'"]'; --- End diff -- Don't we need this condition anymore? > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10986) Unable to install plugin with cordova-cli@6.1.0
[ https://issues.apache.org/jira/browse/CB-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216656#comment-15216656 ] Darryl Pogue commented on CB-10986: --- This seems to only affect plugins that are scoped npm packages > Unable to install plugin with cordova-cli@6.1.0 > --- > > Key: CB-10986 > URL: https://issues.apache.org/jira/browse/CB-10986 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Darryl Pogue > > {code} > $ cordova create MyProject > $ cd ./MyProject > $ cordova platform add android > $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview > Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it > again. > {code} > This works as expected with cordova@6.0.0. -- 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-10985) Android sets type to -1 for ims
[ https://issues.apache.org/jira/browse/CB-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10985: Description: I've created a contact with some ims. {code:javascript} { ims: [{ type: "Skype", value: "mr_important" }] } {code} When I retrieve the contact from the system it looks like this: {code:javascript} { ims: [{ id: "2966", pref: false, type: -1, value: "mr_important" }] } {code} Have a look at the type... Why...? The phonebook shows the contact as expected with the correct type. Problem is the same either if the contact is created in the system or with the cordova plugin. *Versions:* Android: 6.0 Cordova: 6.0.0 Platform: 5.1.1 Cordova-Plugin-Contacts: 2.0.1 was: I've created a contact with a custom type for ims. {code:javascript} { ims: [{ type: "diaspora", value: "mr_important" }] } {code} When I retrieve the contact from the system it looks like this: {code:javascript} { ims: [{ id: "2966", pref: false, type: -1, value: "mr_important" }] } {code} Have a look at the type... Why...? The phonebook shows the contact as expected with the correct type. *Versions:* Android: 6.0 Cordova: 6.0.0 Platform: 5.1.1 Cordova-Plugin-Contacts: 2.0.1 > Android sets type to -1 for ims > --- > > Key: CB-10985 > URL: https://issues.apache.org/jira/browse/CB-10985 > Project: Apache Cordova > Issue Type: Bug >Reporter: Tobias Mücksch > > I've created a contact with some ims. > {code:javascript} > { > ims: [{ > type: "Skype", > value: "mr_important" > }] > } > {code} > When I retrieve the contact from the system it looks like this: > {code:javascript} > { > ims: [{ > id: "2966", > pref: false, > type: -1, > value: "mr_important" > }] > } > {code} > Have a look at the type... Why...? > The phonebook shows the contact as expected with the correct type. > Problem is the same either if the contact is created in the system or with > the cordova plugin. > *Versions:* > Android: 6.0 > Cordova: 6.0.0 > Platform: 5.1.1 > Cordova-Plugin-Contacts: 2.0.1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-10986) Unable to install plugin with cordova-cli@6.1.0
Darryl Pogue created CB-10986: - Summary: Unable to install plugin with cordova-cli@6.1.0 Key: CB-10986 URL: https://issues.apache.org/jira/browse/CB-10986 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 6.1.0 Reporter: Darryl Pogue {code} $ cordova create MyProject $ cd ./MyProject $ cordova platform add android $ cordova plugin add @dpogue/cordova-plugin-crosswalk-webview Error: Cannot find plugin.xml for plugin 'plugins'. Please try adding it again. {code} This works as expected with cordova@6.0.0. -- 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-10844) Site-wide search doesn't work
[ https://issues.apache.org/jira/browse/CB-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216618#comment-15216618 ] Robert Posener commented on CB-10844: - Still doesn't work for me... gives the same results as I originally reported. Regards *Rob Posener* 0419 012 627 > Site-wide search doesn't work > - > > Key: CB-10844 > URL: https://issues.apache.org/jira/browse/CB-10844 > Project: Apache Cordova > Issue Type: Bug > Components: Docs >Affects Versions: 6.0.0 >Reporter: Robert Posener >Assignee: Dmitry Blotsky >Priority: Minor > Labels: triaged > > No matter what you enter as search criteria (eg, "preference", "bluetooth", > "fred" and "rubbish" you always get 11,800 results and none of them are > "matches". -- 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-10844) Site-wide search doesn't work
[ https://issues.apache.org/jira/browse/CB-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216608#comment-15216608 ] Jesse MacFadyen commented on CB-10844: -- Is this valid? Search seems to work for me ... https://www.google.com/search?q=bluetooth=site%3Acordova.apache.org About 46 results (0.31 seconds) https://www.google.com/search?q=fred=site%3Acordova.apache.org Your search - fred site:cordova.apache.org - did not match any documents. > Site-wide search doesn't work > - > > Key: CB-10844 > URL: https://issues.apache.org/jira/browse/CB-10844 > Project: Apache Cordova > Issue Type: Bug > Components: Docs >Affects Versions: 6.0.0 >Reporter: Robert Posener >Assignee: Dmitry Blotsky >Priority: Minor > Labels: triaged > > No matter what you enter as search criteria (eg, "preference", "bluetooth", > "fred" and "rubbish" you always get 11,800 results and none of them are > "matches". -- 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-10985) Android sets type to -1 for ims
Tobias Mücksch created CB-10985: --- Summary: Android sets type to -1 for ims Key: CB-10985 URL: https://issues.apache.org/jira/browse/CB-10985 Project: Apache Cordova Issue Type: Bug Reporter: Tobias Mücksch I've created a contact with a custom type for ims. {code:javascript} { ims: [{ type: "diaspora", value: "mr_important" }] } {code} When I retrieve the contact from the system it looks like this: {code:javascript} { ims: [{ id: "2966", pref: false, type: -1, value: "mr_important" }] } {code} Have a look at the type... Why...? The phonebook shows the contact as expected with the correct type. *Versions:* Android: 6.0 Cordova: 6.0.0 Platform: 5.1.1 Cordova-Plugin-Contacts: 2.0.1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10944) NoSuchMethodError in InAppBrowser plugin
[ https://issues.apache.org/jira/browse/CB-10944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216583#comment-15216583 ] Richard B Knoll commented on CB-10944: -- This is resolved, right? > NoSuchMethodError in InAppBrowser plugin > > > Key: CB-10944 > URL: https://issues.apache.org/jira/browse/CB-10944 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: Master > Environment: Android >Reporter: Dmitry Blotsky >Assignee: Joe Bowser > Labels: android, found-by-ci, triaged > Original Estimate: 24h > Remaining Estimate: 24h > > Build:https://ci.apache.org/builders/cordova-android-osx/builds/2137 > Log: > https://ci.apache.org/builders/cordova-android-osx/builds/2137/steps/gathering-logs/logs/stdio > Change: > https://github.com/apache/cordova-plugin-inappbrowser/commit/68054819d8d9186f5657e773cd6d5a7bdd00a184 > Output: > {noformat} > E/AndroidRuntime( 1087): FATAL EXCEPTION: main > E/AndroidRuntime( 1087): Process: org.apache.mobilespec, PID: 1087 > E/AndroidRuntime( 1087): java.lang.NoSuchMethodError: > android.content.res.Resources.getDrawable > E/AndroidRuntime( 1087): at > org.apache.cordova.inappbrowser.InAppBrowser$5.run(InAppBrowser.java:575) > E/AndroidRuntime( 1087): at > android.app.Activity.runOnUiThread(Activity.java:4713) > E/AndroidRuntime( 1087): at > org.apache.cordova.inappbrowser.InAppBrowser.showWebPage(InAppBrowser.java:736) > E/AndroidRuntime( 1087): at > org.apache.cordova.inappbrowser.InAppBrowser$1.run(InAppBrowser.java:191) > E/AndroidRuntime( 1087): at > android.os.Handler.handleCallback(Handler.java:733) > E/AndroidRuntime( 1087): at > android.os.Handler.dispatchMessage(Handler.java:95) > E/AndroidRuntime( 1087): at android.os.Looper.loop(Looper.java:136) > E/AndroidRuntime( 1087): at > android.app.ActivityThread.main(ActivityThread.java:5001) > E/AndroidRuntime( 1087): at java.lang.reflect.Method.invokeNative(Native > Method) > E/AndroidRuntime( 1087): at > java.lang.reflect.Method.invoke(Method.java:515) > E/AndroidRuntime( 1087): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) > E/AndroidRuntime( 1087): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > E/AndroidRuntime( 1087): at dalvik.system.NativeStart.main(Native Method) > {noformat} -- 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-10984) Camera crop UI is not shown when user chooses Google Photos app
[ https://issues.apache.org/jira/browse/CB-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10984: - Component/s: (was: Android) > Camera crop UI is not shown when user chooses Google Photos app > --- > > Key: CB-10984 > URL: https://issues.apache.org/jira/browse/CB-10984 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.1.0 > Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on > Marshmellow 6.0.1 >Reporter: Ray Shan >Priority: Minor > Labels: android, reproduced, triaged > > Please see Environment field. With below options, if user chooses system > Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is > not shown. > navigator.camera.getPicture( > this._handleCameraSuccess.bind(this), > this._handleCameraError.bind(this), > { > quality: 80, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: true, > targetWidth: 336, > targetHeight: 336 > } > ); -- 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-10984) Camera crop UI is not shown when user chooses Google Photos app
[ https://issues.apache.org/jira/browse/CB-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10984: - Labels: android (was: android google-photos) > Camera crop UI is not shown when user chooses Google Photos app > --- > > Key: CB-10984 > URL: https://issues.apache.org/jira/browse/CB-10984 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.1.0 > Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on > Marshmellow 6.0.1 >Reporter: Ray Shan >Priority: Minor > Labels: android, reproduced, triaged > > Please see Environment field. With below options, if user chooses system > Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is > not shown. > navigator.camera.getPicture( > this._handleCameraSuccess.bind(this), > this._handleCameraError.bind(this), > { > quality: 80, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: true, > targetWidth: 336, > targetHeight: 336 > } > ); -- 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-10984) Camera crop UI is not shown when user chooses Google Photos app
[ https://issues.apache.org/jira/browse/CB-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10984: - Description: Please see Environment field. With below options, if user chooses system Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is not shown. {code:javascript} navigator.camera.getPicture( this._handleCameraSuccess.bind(this), this._handleCameraError.bind(this), { quality: 80, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, destinationType: Camera.DestinationType.DATA_URL, allowEdit: true, targetWidth: 336, targetHeight: 336 } ); {code} was: Please see Environment field. With below options, if user chooses system Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is not shown. navigator.camera.getPicture( this._handleCameraSuccess.bind(this), this._handleCameraError.bind(this), { quality: 80, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, destinationType: Camera.DestinationType.DATA_URL, allowEdit: true, targetWidth: 336, targetHeight: 336 } ); > Camera crop UI is not shown when user chooses Google Photos app > --- > > Key: CB-10984 > URL: https://issues.apache.org/jira/browse/CB-10984 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.1.0 > Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on > Marshmellow 6.0.1 >Reporter: Ray Shan >Priority: Minor > Labels: android, reproduced, triaged > > Please see Environment field. With below options, if user chooses system > Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is > not shown. > {code:javascript} > navigator.camera.getPicture( > this._handleCameraSuccess.bind(this), > this._handleCameraError.bind(this), > { > quality: 80, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: true, > targetWidth: 336, > targetHeight: 336 > } > ); > {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-10984) Camera crop UI is not shown when user chooses Google Photos app
[ https://issues.apache.org/jira/browse/CB-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10984: - Labels: android google-photos (was: android android6.0 google-photos) > Camera crop UI is not shown when user chooses Google Photos app > --- > > Key: CB-10984 > URL: https://issues.apache.org/jira/browse/CB-10984 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.1.0 > Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on > Marshmellow 6.0.1 >Reporter: Ray Shan >Priority: Minor > Labels: android, reproduced, triaged > > Please see Environment field. With below options, if user chooses system > Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is > not shown. > navigator.camera.getPicture( > this._handleCameraSuccess.bind(this), > this._handleCameraError.bind(this), > { > quality: 80, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: true, > targetWidth: 336, > targetHeight: 336 > } > ); -- 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-10984) Camera crop UI is not shown when user chooses Google Photos app
[ https://issues.apache.org/jira/browse/CB-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard B Knoll updated CB-10984: - Labels: android reproduced triaged (was: android) > Camera crop UI is not shown when user chooses Google Photos app > --- > > Key: CB-10984 > URL: https://issues.apache.org/jira/browse/CB-10984 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 6.1.0 > Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on > Marshmellow 6.0.1 >Reporter: Ray Shan >Priority: Minor > Labels: android, reproduced, triaged > > Please see Environment field. With below options, if user chooses system > Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is > not shown. > navigator.camera.getPicture( > this._handleCameraSuccess.bind(this), > this._handleCameraError.bind(this), > { > quality: 80, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: true, > targetWidth: 336, > targetHeight: 336 > } > ); -- 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-10933) Windows-store-8 crash while running tests
[ https://issues.apache.org/jira/browse/CB-10933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Blotsky updated CB-10933: Description: Build results cannot be retrieved: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/running-tests/logs/stdio {noformat} Success: Your app was successfully installed. Starting application... ActivateApplication: org.apache.mobilespec_h35559jr9hy9m!org.apache.mobilespec Setting debug mode for application: org.apache.mobilespec -2147467262 [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] Finished waiting for run command [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] started waiting for test results [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Finished polling for mobilespec results. [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Results Found: false [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Total attempts: 144 [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Failed attempts: 0 [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] FATAL: Could not find test results. Check the output of medic-log to see if the app crashed before it could upload them to couchdb. program finished with exit code 1 elapsedTime=1473.147000 {noformat} Probably due to the following issue: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/gathering-logs/logs/stdio {noformat} Channel: Microsoft-Windows-AppHost/Admin Time Created: 2016-03-22T12:16:52.183701000Z Process ID:12100 Document File: /www/cdvtests/index.html Display Name: mobilespec Error Description: {"exception":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"error":null,"promise":{"_value":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"_isException":true,"_errorId":2},"id":2} Stack Trace: Error: Expected a spy, but got Function. at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11) at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7) at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25) at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9) at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38) at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9) at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17) at Anonymous function
[jira] [Updated] (CB-10933) Windows-store-8 crash while running tests
[ https://issues.apache.org/jira/browse/CB-10933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Blotsky updated CB-10933: Description: Build results cannot be retrieved: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/running-tests/logs/stdio {noformat} === Success: Your app was successfully installed. Starting application... ActivateApplication: org.apache.mobilespec_h35559jr9hy9m!org.apache.mobilespec Setting debug mode for application: org.apache.mobilespec -2147467262 [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] Finished waiting for run command [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] started waiting for test results [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Finished polling for mobilespec results. [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Results Found: false [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Total attempts: 144 [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Failed attempts: 0 [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] FATAL: Could not find test results. Check the output of medic-log to see if the app crashed before it could upload them to couchdb. program finished with exit code 1 elapsedTime=1473.147000 === Probably due to the following issue: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/gathering-logs/logs/stdio Channel: Microsoft-Windows-AppHost/Admin Time Created: 2016-03-22T12:16:52.183701000Z Process ID:12100 Document File: /www/cdvtests/index.html Display Name: mobilespec Error Description: {"exception":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"error":null,"promise":{"_value":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"_isException":true,"_errorId":2},"id":2} Stack Trace: Error: Expected a spy, but got Function. at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11) at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7) at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25) at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9) at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38) at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9) at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17) at Anonymous function
[jira] [Commented] (CB-10670) Media Capture on Android 6.0.1 fails
[ https://issues.apache.org/jira/browse/CB-10670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216412#comment-15216412 ] ASF GitHub Bot commented on CB-10670: - Github user riknoll commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media-capture/pull/59#discussion_r57764840 --- Diff: src/android/Capture.java --- @@ -250,13 +304,17 @@ private static void createWritableFile(File file) throws IOException { * Sets up an intent to capture video. Result handled by onActivityResult() */ private void captureVideo(int duration, int quality) { -Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE); +if(cameraPermissionInManifest && !PermissionHelper.hasPermission(this, Manifest.permission.CAMERA)) { +PermissionHelper.requestPermission(this, CAPTURE_VIDEO_SEC, Manifest.permission.CAMERA); +} else { +Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE); -if(Build.VERSION.SDK_INT > 7){ -intent.putExtra("android.intent.extra.durationLimit", duration); -intent.putExtra("android.intent.extra.videoQuality", quality); +if(Build.VERSION.SDK_INT > 7){ --- End diff -- Oh, wow, I think I glanced over that! I agree that we should remove it. I'll update the PR > Media Capture on Android 6.0.1 fails > > > Key: CB-10670 > URL: https://issues.apache.org/jira/browse/CB-10670 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture >Affects Versions: 5.1.0 >Reporter: Christoph Brosdau >Assignee: Richard B Knoll >Priority: Critical > Labels: Android, triaged > > Although this should work, I cannot make it work - on android 6.0, i always > have the same issue concerning permissions - maybe I overlooked something, > but I dont know what :) > Whith the following super simple demo JS and latest Cordova and latest > version of all plugins, I get: > navigator.device.capture.captureVideo(function(){},function(e){console.log(e);},{limit:1}); > In the console, I get: > Permission Denial: starting Intent { act=android.media.action.VIDEO_CAPTURE > cmp=com.google.android.GoogleCamera/com.android.camera.VideoCamera (has > extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > In Android Studio I get: > Uncaught exception from plugin > > java.lang.SecurityException: Permission Denial: starting Intent { > act=android.media.action.IMAGE_CAPTURE flg=0x3 > cmp=com.google.android.GoogleCamera/com.android.camera.CaptureActivity > clip={text/uri-list > U:file:///storage/emulated/0/Android/data/tv.nexx.android.gdtv/cache/.Pic.jpg} > (has extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > at > android.os.Parcel.readException(Parcel.java:1620) > at > android.os.Parcel.readException(Parcel.java:1573) > at > android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2658) > at > android.app.Instrumentation.execStartActivity(Instrumentation.java:1507) > at > android.app.Activity.startActivityForResult(Activity.java:3930) > at > org.apache.cordova.CordovaActivity.startActivityForResult(CordovaActivity.java:332) > at > android.app.Activity.startActivityForResult(Activity.java:3890) > at > org.apache.cordova.CordovaInterfaceImpl.startActivityForResult(CordovaInterfaceImpl.java:65) > at > org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:262) > at > org.apache.cordova.camera.CameraLauncher.callTakePicture(CameraLauncher.java:236) > at > org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:168) >
[jira] [Commented] (CB-10670) Media Capture on Android 6.0.1 fails
[ https://issues.apache.org/jira/browse/CB-10670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216406#comment-15216406 ] ASF GitHub Bot commented on CB-10670: - Github user infil00p commented on the pull request: https://github.com/apache/cordova-plugin-media-capture/pull/59#issuecomment-203012656 LGTM. Don't be afraid to delete conditionals that check for things that are below the minimum supported API. > Media Capture on Android 6.0.1 fails > > > Key: CB-10670 > URL: https://issues.apache.org/jira/browse/CB-10670 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture >Affects Versions: 5.1.0 >Reporter: Christoph Brosdau >Assignee: Richard B Knoll >Priority: Critical > Labels: Android, triaged > > Although this should work, I cannot make it work - on android 6.0, i always > have the same issue concerning permissions - maybe I overlooked something, > but I dont know what :) > Whith the following super simple demo JS and latest Cordova and latest > version of all plugins, I get: > navigator.device.capture.captureVideo(function(){},function(e){console.log(e);},{limit:1}); > In the console, I get: > Permission Denial: starting Intent { act=android.media.action.VIDEO_CAPTURE > cmp=com.google.android.GoogleCamera/com.android.camera.VideoCamera (has > extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > In Android Studio I get: > Uncaught exception from plugin > > java.lang.SecurityException: Permission Denial: starting Intent { > act=android.media.action.IMAGE_CAPTURE flg=0x3 > cmp=com.google.android.GoogleCamera/com.android.camera.CaptureActivity > clip={text/uri-list > U:file:///storage/emulated/0/Android/data/tv.nexx.android.gdtv/cache/.Pic.jpg} > (has extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > at > android.os.Parcel.readException(Parcel.java:1620) > at > android.os.Parcel.readException(Parcel.java:1573) > at > android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2658) > at > android.app.Instrumentation.execStartActivity(Instrumentation.java:1507) > at > android.app.Activity.startActivityForResult(Activity.java:3930) > at > org.apache.cordova.CordovaActivity.startActivityForResult(CordovaActivity.java:332) > at > android.app.Activity.startActivityForResult(Activity.java:3890) > at > org.apache.cordova.CordovaInterfaceImpl.startActivityForResult(CordovaInterfaceImpl.java:65) > at > org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:262) > at > org.apache.cordova.camera.CameraLauncher.callTakePicture(CameraLauncher.java:236) > at > org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:168) > at > org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98) > at > org.apache.cordova.PluginManager.exec(PluginManager.java:133) > at > org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59) > at > org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) > at > org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) > at > org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37) > at > android.os.Handler.dispatchMessage(Handler.java:102) >
[jira] [Commented] (CB-10670) Media Capture on Android 6.0.1 fails
[ https://issues.apache.org/jira/browse/CB-10670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216399#comment-15216399 ] ASF GitHub Bot commented on CB-10670: - Github user infil00p commented on a diff in the pull request: https://github.com/apache/cordova-plugin-media-capture/pull/59#discussion_r57764130 --- Diff: src/android/Capture.java --- @@ -250,13 +304,17 @@ private static void createWritableFile(File file) throws IOException { * Sets up an intent to capture video. Result handled by onActivityResult() */ private void captureVideo(int duration, int quality) { -Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE); +if(cameraPermissionInManifest && !PermissionHelper.hasPermission(this, Manifest.permission.CAMERA)) { +PermissionHelper.requestPermission(this, CAPTURE_VIDEO_SEC, Manifest.permission.CAMERA); +} else { +Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE); -if(Build.VERSION.SDK_INT > 7){ -intent.putExtra("android.intent.extra.durationLimit", duration); -intent.putExtra("android.intent.extra.videoQuality", quality); +if(Build.VERSION.SDK_INT > 7){ --- End diff -- You could have gotten away with deleting this. SDK level 7? Wow, the Cordova codebase is OLD > Media Capture on Android 6.0.1 fails > > > Key: CB-10670 > URL: https://issues.apache.org/jira/browse/CB-10670 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture >Affects Versions: 5.1.0 >Reporter: Christoph Brosdau >Assignee: Richard B Knoll >Priority: Critical > Labels: Android, triaged > > Although this should work, I cannot make it work - on android 6.0, i always > have the same issue concerning permissions - maybe I overlooked something, > but I dont know what :) > Whith the following super simple demo JS and latest Cordova and latest > version of all plugins, I get: > navigator.device.capture.captureVideo(function(){},function(e){console.log(e);},{limit:1}); > In the console, I get: > Permission Denial: starting Intent { act=android.media.action.VIDEO_CAPTURE > cmp=com.google.android.GoogleCamera/com.android.camera.VideoCamera (has > extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > In Android Studio I get: > Uncaught exception from plugin > > java.lang.SecurityException: Permission Denial: starting Intent { > act=android.media.action.IMAGE_CAPTURE flg=0x3 > cmp=com.google.android.GoogleCamera/com.android.camera.CaptureActivity > clip={text/uri-list > U:file:///storage/emulated/0/Android/data/tv.nexx.android.gdtv/cache/.Pic.jpg} > (has extras) } from ProcessRecord{7481fe2 17042:tv.nexx.android.gdtv/u0a183} > (pid=17042, uid=10183) with revoked permission android.permission.CAMERA > at > android.os.Parcel.readException(Parcel.java:1620) > at > android.os.Parcel.readException(Parcel.java:1573) > at > android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2658) > at > android.app.Instrumentation.execStartActivity(Instrumentation.java:1507) > at > android.app.Activity.startActivityForResult(Activity.java:3930) > at > org.apache.cordova.CordovaActivity.startActivityForResult(CordovaActivity.java:332) > at > android.app.Activity.startActivityForResult(Activity.java:3890) > at > org.apache.cordova.CordovaInterfaceImpl.startActivityForResult(CordovaInterfaceImpl.java:65) > at > org.apache.cordova.camera.CameraLauncher.takePicture(CameraLauncher.java:262) > at > org.apache.cordova.camera.CameraLauncher.callTakePicture(CameraLauncher.java:236) > at > org.apache.cordova.camera.CameraLauncher.execute(CameraLauncher.java:168) >
[jira] [Created] (CB-10984) Camera crop UI is not shown when user chooses Google Photos app
Ray Shan created CB-10984: - Summary: Camera crop UI is not shown when user chooses Google Photos app Key: CB-10984 URL: https://issues.apache.org/jira/browse/CB-10984 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin Camera Affects Versions: 6.1.0 Environment: Cordova 6.1.0, Cordova Android 5.1.1, Samsung Note 5 on Marshmellow 6.0.1 Reporter: Ray Shan Priority: Minor Please see Environment field. With below options, if user chooses system Gallery app, crop UI is shown. If user chooses Google Photos app, crop UI is not shown. navigator.camera.getPicture( this._handleCameraSuccess.bind(this), this._handleCameraError.bind(this), { quality: 80, sourceType: Camera.PictureSourceType.PHOTOLIBRARY, destinationType: Camera.DestinationType.DATA_URL, allowEdit: true, targetWidth: 336, targetHeight: 336 } ); -- 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=15216375#comment-15216375 ] Ray Shan commented on CB-7668: -- Thanks for your notes Richard. Will create new issue. > 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 > > 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-10977) Overlapping permission requests in Android can cause errors
[ https://issues.apache.org/jira/browse/CB-10977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216373#comment-15216373 ] ASF GitHub Bot commented on CB-10977: - Github user riknoll commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file/pull/174#discussion_r57762270 --- Diff: src/android/FileUtils.java --- @@ -1151,51 +1140,55 @@ private long truncateFile(String srcURLstr, long size) throws FileNotFoundExcept public void onRequestPermissionResult(int requestCode, String[] permissions, int[] grantResults) throws JSONException { -for(int r:grantResults) -{ -if(r == PackageManager.PERMISSION_DENIED) + +final PendingRequests.Request req = pendingRequests.getAndRemove(requestCode); +if (req != null) { +for(int r:grantResults) { -callback.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, SECURITY_ERR)); +if(r == PackageManager.PERMISSION_DENIED) +{ +req.getCallbackContext().sendPluginResult(new PluginResult(PluginResult.Status.ERROR, SECURITY_ERR)); --- End diff -- Ha, yep! Good catch! It doesn't look like there was a return there before either so I wonder how that worked. > Overlapping permission requests in Android can cause errors > --- > > Key: CB-10977 > URL: https://issues.apache.org/jira/browse/CB-10977 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: Marshmallow >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android, mustfix, reproduced, triaged > > We use global state for permission requests in the file plugin that gets > overwritten on each call to the plugin. That means that if multiple > writes/reads are performed while the permission request is pending, the > global state will get overwritten and callbacks will not be returned > correctly. For example, > {code} > getFile('test1', {create:true}, function(){}, function(){}); > getDirectory('test2', {create:true}, function(){}, function(){}); > {code} > In the above code block, only the second call ({{getDirectory}}) would get a > success or error callback. Furthermore, this code will attempt to create both > a directory and a file named {{test1}} because the permission callback for > the first call will be executed using the arguments from the second call. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-10977) Overlapping permission requests in Android can cause errors
[ https://issues.apache.org/jira/browse/CB-10977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216358#comment-15216358 ] ASF GitHub Bot commented on CB-10977: - Github user jasongin commented on a diff in the pull request: https://github.com/apache/cordova-plugin-file/pull/174#discussion_r57761716 --- Diff: src/android/FileUtils.java --- @@ -1151,51 +1140,55 @@ private long truncateFile(String srcURLstr, long size) throws FileNotFoundExcept public void onRequestPermissionResult(int requestCode, String[] permissions, int[] grantResults) throws JSONException { -for(int r:grantResults) -{ -if(r == PackageManager.PERMISSION_DENIED) + +final PendingRequests.Request req = pendingRequests.getAndRemove(requestCode); +if (req != null) { +for(int r:grantResults) { -callback.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, SECURITY_ERR)); +if(r == PackageManager.PERMISSION_DENIED) +{ +req.getCallbackContext().sendPluginResult(new PluginResult(PluginResult.Status.ERROR, SECURITY_ERR)); --- End diff -- Should there be a return after this line? > Overlapping permission requests in Android can cause errors > --- > > Key: CB-10977 > URL: https://issues.apache.org/jira/browse/CB-10977 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: Marshmallow >Reporter: Richard B Knoll >Assignee: Richard B Knoll >Priority: Critical > Labels: android, mustfix, reproduced, triaged > > We use global state for permission requests in the file plugin that gets > overwritten on each call to the plugin. That means that if multiple > writes/reads are performed while the permission request is pending, the > global state will get overwritten and callbacks will not be returned > correctly. For example, > {code} > getFile('test1', {create:true}, function(){}, function(){}); > getDirectory('test2', {create:true}, function(){}, function(){}); > {code} > In the above code block, only the second call ({{getDirectory}}) would get a > success or error callback. Furthermore, this code will attempt to create both > a directory and a file named {{test1}} because the permission callback for > the first call will be executed using the arguments from the second call. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-10983) File Plugin content URL tests fail in mobile-spec on Android N
Karen Tran created CB-10983: --- Summary: File Plugin content URL tests fail in mobile-spec on Android N Key: CB-10983 URL: https://issues.apache.org/jira/browse/CB-10983 Project: Apache Cordova Issue Type: Bug Components: Plugin File Affects Versions: Master Environment: Android N alpha, Nexus 6, moblie-spec create with master branch repos Reporter: Karen Tran Fix For: Master In the automated File plugin tests in mobile-spec, file.spec 138, 139, and 140 all fail with the same error. They also all use content:// scheme. {noformat} resolveLocalFileSystemURL failed for content provider {"code":5}: ENCODING_ERR Error: resolveLocalFileSystemURL failed for content provider {"code":5}: ENCODING_ERR at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14) at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21) at Expectation.toFailWithMessage (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12) at failed (file:///android_asset/www/plugins/cordova-plugin-file-tests/tests.js:178:26) at fail (file:///android_asset/www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js:53:17) at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1081:17) {noformat} Not sure if content scheme is something changing in Android N, but it's worth tracking. -- 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-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)
[ https://issues.apache.org/jira/browse/CB-10857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216321#comment-15216321 ] Richard B Knoll commented on CB-10857: -- [~dparnas] Thanks for doing that! I'll try and review/test it soon. > Camera.getPicture return null for Google Drive (camera 2.1.1) > - > > Key: CB-10857 > URL: https://issues.apache.org/jira/browse/CB-10857 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 2.1.1 > Environment: Android - Tested on 6.0.1 >Reporter: Dagfinn Parnas > Labels: android, mustfix, reproduced, triaged > Attachments: Filepicker_google_drive.png > > > Camera.getPicture returns null for pictures and other files when using Google > Drive in version 2.1.1. Other sources in the generic file picker such as > Images, Photos and Astro File Manager works. > The camera plugin gets a null value in processResultFromGallery > 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null > The return value from the file picker is > content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 > (see android log below) > Code sample: > {code} > navigator.camera.getPicture(onPhotoURISuccess, onFail, { > quality: 50, > correctOrientation: true, > destinationType: destinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > mediaType: Camera.MediaType.ALLMEDIA, > }); > {code} > Android log: > {code} > 03-14 10:48:31.969: I/ActivityManager(914): Displayed > com.android.documentsui/.DocumentsActivity: +146ms (total +172ms) > 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=2, sortOrder=2 > 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:44.279: D/NetlinkSocketObserver(914): > NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, > NUD_STALE} > 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 55 > 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - > Exhausted retry attempts - :6 > 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1 ,Init step :2 > ,qmiErrorCode: 0 > 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for > NetworkAgentInfo [WIFI () - 148] to 56 > 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> > mode=1, sortOrder=1 > 03-14 10:48:52.028: D/Documents(19828): onFinished() > [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000] > 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to > plugin > 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null > 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: > null", source: > file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js > (39) > {code} > Related to https://issues.apache.org/jira/browse/CB-10270 > PS Updated android log -- 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-10927) Framework references in plugin.xml file prevent Windows Universal projects from being used on other machines
[ https://issues.apache.org/jira/browse/CB-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216301#comment-15216301 ] ASF GitHub Bot commented on CB-10927: - Github user csantanapr commented on the pull request: https://github.com/apache/cordova-windows/pull/163#issuecomment-202988290 ping @rakatyal can you review this PR and merge if its good > Framework references in plugin.xml file prevent Windows Universal projects > from being used on other machines > > > Key: CB-10927 > URL: https://issues.apache.org/jira/browse/CB-10927 > Project: Apache Cordova > Issue Type: Bug > Components: Windows >Reporter: James Dubee > Labels: triaged > > For Windows Universal, a framework reference in plugin.xml files results in a > hardcoded path being written to CordovaApp.sln, and CordovaApp.Phone.jsproj. > This hardcoded path is specific to the user's machine in which the plugin was > installed on. This prevents moving a project from one machine to another > without manually editing CordovaApp.sln, and CordovaApp.Phone.jsproj. -- 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-10906) OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1
[ https://issues.apache.org/jira/browse/CB-10906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216068#comment-15216068 ] jdat82 commented on CB-10906: - Since I still have the same issue in my app, I modified the demo app to have 5 iframes per page (for demonstratiion purposes of course) and the issue is then obvious. So not using the debugging tools will just delay the out of memory error. Are you sure this is not cordova related ? > OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1 > -- > > Key: CB-10906 > URL: https://issues.apache.org/jira/browse/CB-10906 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Environment: - cordova 6 > - cordova-windows 4.3.1 > - ionic 1.2.4 > - Windows Phone SDK 8.1 > - Visual Studio 2015 Community > - Windows 10 >Reporter: jdat82 >Assignee: Sergey Shakhnazarov > Labels: reproduced, triaged, wfc > Attachments: outofmemory.zip > > > Hi, > I'm testing a simple scenario : > - an ionic project with a side menu containing 3 items > - first item open a remote page in an iframe > - second item open another page on same domain in another iframe > - third item do the same > Generally it takes 3 to 10 navigations to crash the app : OUT OF MEMORY ERROR. > I dit the same test with plugin inappbrowser. Same result. It is probably not > specific to iframes. > I seems to me it might be a cordova bug. Does anyone have an idea or a fix ? > I'm out of option right now. > Thanks. -- 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-10906) OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1
[ https://issues.apache.org/jira/browse/CB-10906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jdat82 reopened CB-10906: - Since I still have the same issue in my app, I modified the demo app to have 5 iframes per page (for demonstratiion purposes of course) and the issue is then obvious. So not using the debugging tools will just delay the out of memory error. Are you sure this is not cordova related ? > OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1 > -- > > Key: CB-10906 > URL: https://issues.apache.org/jira/browse/CB-10906 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Environment: - cordova 6 > - cordova-windows 4.3.1 > - ionic 1.2.4 > - Windows Phone SDK 8.1 > - Visual Studio 2015 Community > - Windows 10 >Reporter: jdat82 >Assignee: Sergey Shakhnazarov > Labels: reproduced, triaged, wfc > Attachments: outofmemory.zip > > > Hi, > I'm testing a simple scenario : > - an ionic project with a side menu containing 3 items > - first item open a remote page in an iframe > - second item open another page on same domain in another iframe > - third item do the same > Generally it takes 3 to 10 navigations to crash the app : OUT OF MEMORY ERROR. > I dit the same test with plugin inappbrowser. Same result. It is probably not > specific to iframes. > I seems to me it might be a cordova bug. Does anyone have an idea or a fix ? > I'm out of option right now. > Thanks. -- 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-10906) OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1
[ https://issues.apache.org/jira/browse/CB-10906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jdat82 updated CB-10906: Comment: was deleted (was: Since I still have the same issue in my app, I modified the demo app to have 5 iframes per page (for demonstratiion purposes of course) and the issue is then obvious. So not using the debugging tools will just delay the out of memory error. Are you sure this is not cordova related ?) > OUTOFMEMORY ERROR — when creating several iframes on Windows Phone 8.1 > -- > > Key: CB-10906 > URL: https://issues.apache.org/jira/browse/CB-10906 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Environment: - cordova 6 > - cordova-windows 4.3.1 > - ionic 1.2.4 > - Windows Phone SDK 8.1 > - Visual Studio 2015 Community > - Windows 10 >Reporter: jdat82 >Assignee: Sergey Shakhnazarov > Labels: reproduced, triaged, wfc > Attachments: outofmemory.zip > > > Hi, > I'm testing a simple scenario : > - an ionic project with a side menu containing 3 items > - first item open a remote page in an iframe > - second item open another page on same domain in another iframe > - third item do the same > Generally it takes 3 to 10 navigations to crash the app : OUT OF MEMORY ERROR. > I dit the same test with plugin inappbrowser. Same result. It is probably not > specific to iframes. > I seems to me it might be a cordova bug. Does anyone have an idea or a fix ? > I'm out of option right now. > Thanks. -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216069#comment-15216069 ] ASF subversion and git services commented on CB-10961: -- Commit 107e2736479e8a0a42c1faf2b49902c0ec2f62a7 in cordova-lib's branch refs/heads/6.1.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=107e273 ] CB-10961 Fix failing tests > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216055#comment-15216055 ] ASF subversion and git services commented on CB-10961: -- Commit 9d8124bef20af07cbf1517270bf1f6860694d658 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=9d8124b ] CB-10961 Fix failing tests > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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-10884) Inappbrowser breaks UI while Screen orientation changes from landscape to portrait on iOS
[ https://issues.apache.org/jira/browse/CB-10884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15216021#comment-15216021 ] ASF GitHub Bot commented on CB-10884: - GitHub user daserge opened a pull request: https://github.com/apache/cordova-plugin-statusbar/pull/53 CB-10884 Inappbrowser breaks UI while Screen orientation changes from… … landscape to portrait on iOS [Jira issue](https://issues.apache.org/jira/browse/CB-10884) You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-statusbar CB-10884 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-statusbar/pull/53.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 #53 commit 244eb717fda536adad073b727fd4af1dd3cd58fd Author: dasergeDate: 2016-03-29T13:49:29Z CB-10884 Inappbrowser breaks UI while Screen orientation changes from landscape to portrait on iOS > Inappbrowser breaks UI while Screen orientation changes from landscape to > portrait on iOS > - > > Key: CB-10884 > URL: https://issues.apache.org/jira/browse/CB-10884 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser, Plugin Statusbar >Affects Versions: 2.3.0 > Environment: iOS >Reporter: Mangesh Kurve >Assignee: Sergey Shakhnazarov > Labels: iOS, orientation, performance, reproduced, triaged > Original Estimate: 48h > Remaining Estimate: 48h > > I am developing app using cordova 5.4.1, Also I am using latest InAppBrowser > plugin. Below are the steps to reproduce the issue. > Open the URL in InAppBrowser > Change the app orientation from portrait to landscape > Press done button of InAppBrowser and check the app in landscape mode only, > you will get some blank portion > I am using iOS 9.2.1 > Also I did some modifications and I figured out that this happens when we are > using status bar plugin. If i run the app without status bar plugin, it works > fine. So issue is occurred when you are using status bar plugin > Please let me know if some one has faced same issue and got fixed. > Thank you in advance. -- 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-10982) Plugin for ios platform didn't copy custom Framework to Application
[ https://issues.apache.org/jira/browse/CB-10982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergei Alexandrovich Maslov updated CB-10982: - Attachment: scr2.png scr1.png scr1 - Empty "Embedded Section" cause Error scr2 - Manually Fixed. > Plugin for ios platform didn't copy custom Framework to Application > --- > > Key: CB-10982 > URL: https://issues.apache.org/jira/browse/CB-10982 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaCommon, CordovaJS, CordovaLib >Affects Versions: 6.0.0, 6.1.0 > Environment: Iphone 6S Simulator ios 9.3 >Reporter: Sergei Alexandrovich Maslov >Priority: Critical > Attachments: scr1.png, scr2.png, test.zip > > > Custom ios framework from custom plugin didn't add to Embedded Binaries > section on target project. This causes an error on runtime " Reason: image > not found" > Steps to reproduce - > 1) Create empty Custom ios Framework. (MyFramework) > 2) Create ios Plugin. > I include MyFramework using this line in plugin.xml > > 3) Create project using Cordova. Add ios platform and ios plugin. > 4) Compile and Run. > 5) Get Error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-10982) Plugin for ios platform didn't copy custom Framework to Application
[ https://issues.apache.org/jira/browse/CB-10982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergei Alexandrovich Maslov updated CB-10982: - Attachment: test.zip Here you can find MyFramework, ios plugin and Cordova project. > Plugin for ios platform didn't copy custom Framework to Application > --- > > Key: CB-10982 > URL: https://issues.apache.org/jira/browse/CB-10982 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaCommon, CordovaJS, CordovaLib >Affects Versions: 6.0.0, 6.1.0 > Environment: Iphone 6S Simulator ios 9.3 >Reporter: Sergei Alexandrovich Maslov >Priority: Critical > Attachments: test.zip > > > Custom ios framework from custom plugin didn't add to Embedded Binaries > section on target project. This causes an error on runtime " Reason: image > not found" > Steps to reproduce - > 1) Create empty Custom ios Framework. (MyFramework) > 2) Create ios Plugin. > I include MyFramework using this line in plugin.xml > > 3) Create project using Cordova. Add ios platform and ios plugin. > 4) Compile and Run. > 5) Get Error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-10982) Plugin for ios platform didn't copy custom Framework to Application
Sergei Alexandrovich Maslov created CB-10982: Summary: Plugin for ios platform didn't copy custom Framework to Application Key: CB-10982 URL: https://issues.apache.org/jira/browse/CB-10982 Project: Apache Cordova Issue Type: Bug Components: CordovaCommon, CordovaJS, CordovaLib Affects Versions: 6.0.0, 6.1.0 Environment: Iphone 6S Simulator ios 9.3 Reporter: Sergei Alexandrovich Maslov Priority: Critical Custom ios framework from custom plugin didn't add to Embedded Binaries section on target project. This causes an error on runtime " Reason: image not found" Steps to reproduce - 1) Create empty Custom ios Framework. (MyFramework) 2) Create ios Plugin. I include MyFramework using this line in plugin.xml 3) Create project using Cordova. Add ios platform and ios plugin. 4) Compile and Run. 5) Get Error. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Closed] (CB-6318) Statusbar can't blend into the background when embedding CDVViewController in a NavigationController
[ https://issues.apache.org/jira/browse/CB-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-6318. Resolution: Won't Fix Assignee: jcesarmobile If using a NavigationController, you shouldn't use the statusbar plugin, the plugin you use for the NavigationController should take care of the statusbar to behave the way you want. > Statusbar can't blend into the background when embedding CDVViewController in > a NavigationController > > > Key: CB-6318 > URL: https://issues.apache.org/jira/browse/CB-6318 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Statusbar > Environment: iOS >Reporter: glmnbeyond >Assignee: jcesarmobile > Attachments: compare.png, expected.png, navigationbar.png, result.png > > > Please refer to the attached screenshots. > -navigationbar.png indicates that CDVViewController is embedded in a > NavigationController, and the navigation bar is visible. > -result.png indicates that when navigation bar is hiding, the status bar > can't blend into the background. > -expected.png is expected result. -- 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-10981) Cordova-lib should not bundle cordova-common anymore
Vladimir Kotikov created CB-10981: - Summary: Cordova-lib should not bundle cordova-common anymore Key: CB-10981 URL: https://issues.apache.org/jira/browse/CB-10981 Project: Apache Cordova Issue Type: Task Components: CordovaLib Affects Versions: 6.1.1 Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Cordova-lib specifies cordova-common as a bundled dependency. This is something that was necessary before cordova-common had been published to NPM. At this moment this is unnecessary and causes increased package size. -- 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215941#comment-15215941 ] ASF subversion and git services commented on CB-10980: -- Commit 016e496e4eb9cfdc172d73edb8475e46fbc2c7d3 in cordova-plugman's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=016e496 ] CB-10980 Set VERSION to 1.3.0-dev (via coho) > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215938#comment-15215938 ] ASF subversion and git services commented on CB-10980: -- Commit aa4e3b3f3dfa06d33f6201bf09ea8b54f4df4e06 in cordova-cli's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=aa4e3b3 ] CB-10980 Set VERSION to 6.2.0-dev (via coho) > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215939#comment-15215939 ] ASF subversion and git services commented on CB-10980: -- Commit 4946b6b8f834e9f4dcc7db543ffb56a7ed4abce9 in cordova-plugman's branch refs/heads/1.2.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4946b6b ] CB-10980 Updated RELEASENOTES.md for release 1.2.1 > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215940#comment-15215940 ] ASF subversion and git services commented on CB-10980: -- Commit f05a7ef8cf6c0b755090f4b666b54905fb3c21ac in cordova-plugman's branch refs/heads/1.2.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=f05a7ef ] CB-10980 Set VERSION to 1.2.1 (via coho) > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215934#comment-15215934 ] ASF subversion and git services commented on CB-10980: -- Commit ddc7638f056cc355ebf378b754b57a65a65ca79e in cordova-cli's branch refs/heads/6.1.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=ddc7638 ] CB-10980 Updated RELEASENOTES.md for release 6.1.1 > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215935#comment-15215935 ] ASF subversion and git services commented on CB-10980: -- Commit 8e730ac376fee9014e822e3f007e357384e77fcd in cordova-cli's branch refs/heads/6.1.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=8e730ac ] CB-10980 Set VERSION to 6.1.1 (via coho) > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215894#comment-15215894 ] ASF subversion and git services commented on CB-10980: -- Commit 210e806da44638e64649170c6049e27999536794 in cordova-lib's branch refs/heads/master from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=210e806 ] CB-10980 Set VERSION to 6.2.0-dev (via coho) > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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-10980) Tools Release Mar 29, 2014
[ https://issues.apache.org/jira/browse/CB-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215893#comment-15215893 ] ASF subversion and git services commented on CB-10980: -- Commit d18ee2c0a07cb666f788eadcc8d45b8c15c597d1 in cordova-lib's branch refs/heads/6.1.x from [~vladimir.kotikov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d18ee2c ] CB-10980 Updated RELEASENOTES.md for release 6.1.1 > Tools Release Mar 29, 2014 > -- > > Key: CB-10980 > URL: https://issues.apache.org/jira/browse/CB-10980 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, CordovaLib, Plugman >Reporter: Vladimir Kotikov >Assignee: Vladimir Kotikov > Fix For: 6.1.1 > > > 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] [Created] (CB-10980) Tools Release Mar 29, 2014
Vladimir Kotikov created CB-10980: - Summary: Tools Release Mar 29, 2014 Key: CB-10980 URL: https://issues.apache.org/jira/browse/CB-10980 Project: Apache Cordova Issue Type: Bug Components: CLI, CordovaLib, Plugman Reporter: Vladimir Kotikov Assignee: Vladimir Kotikov Fix For: 6.1.1 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-10908) Add a plugin with the --save flag clubbers data that is written a plugin's install hook
[ https://issues.apache.org/jira/browse/CB-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215883#comment-15215883 ] ASF subversion and git services commented on CB-10908: -- Commit 9d54bd094a089f80725c22d2bb6d310d9266b645 in cordova-lib's branch refs/heads/6.1.x from [~dubee] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=9d54bd0 ] CB-10908 Reload the config.xml before writing the saved plugin This closes #415 > Add a plugin with the --save flag clubbers data that is written a plugin's > install hook > --- > > Key: CB-10908 > URL: https://issues.apache.org/jira/browse/CB-10908 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Environment: Any >Reporter: James Dubee > Labels: triaged > > When adding a plugin with the --save flag, any data that that plugin's > install hook writes to the config.xml will be erased resulting in data > corruption. -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215884#comment-15215884 ] ASF subversion and git services commented on CB-10961: -- Commit b15a9fdcb928b2b3504fd408d30f7b72900f4d74 in cordova-lib's branch refs/heads/6.1.x from [~csantana] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=b15a9fd ] CB-10961 Error no such file or directory adding ios platform when plugins present or required This closes #416 > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact // (Make sure the contact has more than two phoneNumberFields) var myContact = contacts[4]; // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. I have created a demo script, which reproduces the issue. You can use it for testing: http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact // (Make sure the contact has more than two phoneNumberFields) var myContact = contacts[4]; // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > // Pick a contact > // (Make sure the contact has more than two phoneNumberFields) > var myContact = contacts[4]; > // Remove the second phone number > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields. When I remove one of the both contact fields from > the phoneNumbers array and then save the contact, *it still has all numbers > on the device*. When I re-retrieve the contact it has both numbers again. > (Tested on iOS 9.3 with plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > I have created a demo script, which reproduces the issue. You can use it for > testing: > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related
[jira] [Updated] (CB-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact // (Make sure the contact has more than two phoneNumberFields) var myContact = contacts[4]; // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) *I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong.* I have created a demo script, which reproduces the issue. You can use it for testing: http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact // (Make sure the contact has more than two phoneNumberFields) var myContact = contacts[4]; // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. I have created a demo script, which reproduces the issue. You can use it for testing: http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > // Pick a contact > // (Make sure the contact has more than two phoneNumberFields) > var myContact = contacts[4]; > // Remove the second phone number > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields. When I remove one of the both contact fields from > the phoneNumbers array and then save the contact, *it still has all numbers > on the device*. When I re-retrieve the contact it has both numbers again. > (Tested on iOS 9.3 with plugin version 2.0.1) > *I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong.* > I have created a demo script, which reproduces the issue. You can use it for > testing: > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be
[jira] [Commented] (CB-9618) icon parameter should not be relative to the www directory on Ubuntu
[ https://issues.apache.org/jira/browse/CB-9618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215870#comment-15215870 ] Sebastien Lorber commented on CB-9618: -- According to my tests, icons path are not relative to project root but they are relative to path of config.xml (and this file can be in root or www) > icon parameter should not be relative to the www directory on Ubuntu > > > Key: CB-9618 > URL: https://issues.apache.org/jira/browse/CB-9618 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib, Ubuntu >Reporter: David Barth >Assignee: David Barth > > On Ubuntu, the icon parameter is supposed to be relative to the project > directory, not the www directory. > This is documented for example on > https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/ -- 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-10979) Fix splashscreen ios native tests
[ https://issues.apache.org/jira/browse/CB-10979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215852#comment-15215852 ] ASF GitHub Bot commented on CB-10979: - GitHub user daserge opened a pull request: https://github.com/apache/cordova-plugin-splashscreen/pull/96 CB-10979 Fix splashscreen ios native tests Added jshintignore for tests/ios [Jira issue](https://issues.apache.org/jira/browse/CB-10979) You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-splashscreen CB-10979 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-splashscreen/pull/96.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #96 commit 99ce77910f7aef20ea8f2ac28cc9ebb08c9092ea Author: dasergeDate: 2016-03-29T11:05:49Z CB-10979 Fix splashscreen ios native tests Added jshintignore for tests/ios > Fix splashscreen ios native tests > - > > Key: CB-10979 > URL: https://issues.apache.org/jira/browse/CB-10979 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Reporter: Sergey Shakhnazarov >Assignee: Sergey Shakhnazarov > > {noformat} > In file included from > /Users/travis/build/apache/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:20: > /Users/travis/build/apache/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h:21:9: > fatal error: 'Cordova/CDVPlugin.h' file not found > #import > ^ > 1 error generated. > Testing failed: > 'Cordova/CDVPlugin.h' file not found > ** TEST FAILED ** > {noformat} -- 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-10979) Fix splashscreen ios native tests
Sergey Shakhnazarov created CB-10979: Summary: Fix splashscreen ios native tests Key: CB-10979 URL: https://issues.apache.org/jira/browse/CB-10979 Project: Apache Cordova Issue Type: Bug Components: Plugin SplashScreen Reporter: Sergey Shakhnazarov Assignee: Sergey Shakhnazarov {noformat} In file included from /Users/travis/build/apache/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.m:20: /Users/travis/build/apache/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h:21:9: fatal error: 'Cordova/CDVPlugin.h' file not found #import ^ 1 error generated. Testing failed: 'Cordova/CDVPlugin.h' file not found ** TEST FAILED ** {noformat} -- 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-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact // (Make sure the contact has more than two phoneNumberFields) var myContact = contacts[4]; // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > // Pick a contact > // (Make sure the contact has more than two phoneNumberFields) > var myContact = contacts[4]; > // Remove the second phone number > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields. When I remove one of the both contact fields from > the phoneNumbers array and then save the contact, *it still has all numbers > on the device*. When I re-retrieve the contact it has both numbers again. > (Tested on iOS 9.3 with plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > *I have created a demo script, which reproduces the issue. You can use it for > testing:* > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related to
[jira] [Updated] (CB-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { // Pick a contact var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields // Remove the second phone number delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > // Pick a contact > var myContact = contacts[4]; // Make sure the contact has more than > two phoneNumberFields > // Remove the second phone number > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields. When I remove one of the both contact fields from > the phoneNumbers array and then save the contact, *it still has all numbers > on the device*. When I re-retrieve the contact it has both numbers again. > (Tested on iOS 9.3 with plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > *I have created a demo script, which reproduces the issue. You can use it for > testing:* > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related to the issue: >
[jira] [Updated] (CB-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} Let's say a existing contact that I've retrieved from the system has two or more phone number fields. When I remove one of the both contact fields from the phoneNumbers array and then save the contact, *it still has all numbers on the device*. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Let's say a existing contact that I've retrieved from the system has two or more phone number fields: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} When I remove one of the both contact fields from the phoneNumbers array and then save the contact, it still has both numbers on the device. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > var myContact = contacts[4]; // Make sure the contact has more than > two phoneNumberFields > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields. When I remove one of the both contact fields from > the phoneNumbers array and then save the contact, *it still has all numbers > on the device*. When I re-retrieve the contact it has both numbers again. > (Tested on iOS 9.3 with plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > *I have created a demo script, which reproduces the issue. You can use it for > testing:* > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related to the issue: > http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CB-10865) Run ios native tests on Travis
[ https://issues.apache.org/jira/browse/CB-10865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov resolved CB-10865. -- Resolution: Fixed > Run ios native tests on Travis > -- > > Key: CB-10865 > URL: https://issues.apache.org/jira/browse/CB-10865 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Camera >Reporter: Sergey Shakhnazarov >Assignee: Sergey Shakhnazarov > -- 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-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Let's say a existing contact that I've retrieved from the system has two or more phone number fields: Shortened version of the contact's object: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} When I remove one of the both contact fields from the phoneNumbers array and then save the contact, it still has both numbers on the device. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Let's say a existing contact that I've retrieved from the system has two or more phone number fields: Shortened version of the contact's object: {code:javascript} { phoneNumbers: [{id: 0, type: "work", value: "123123123"}, {id: 1, type: "home", value: "3216532425"}] } {code} When I remove one of the both contact fields from the phoneNumbers array and then save the contact, it still has both numbers on the device. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields: > Shortened version of the contact's object: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > var myContact = contacts[4]; // Make sure the contact has more than > two phoneNumberFields > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > When I remove one of the both contact fields from the phoneNumbers array and > then save the contact, it still has both numbers on the device. When I > re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with > plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > *I have created a demo script, which reproduces the issue. You can use it for > testing:* > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related to the issue: > http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-10976) Can't remove contact field
[ https://issues.apache.org/jira/browse/CB-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Mücksch updated CB-10976: Description: Let's say a existing contact that I've retrieved from the system has two or more phone number fields: Short demo script: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} When I remove one of the both contact fields from the phoneNumbers array and then save the contact, it still has both numbers on the device. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 was: Let's say a existing contact that I've retrieved from the system has two or more phone number fields: Shortened version of the contact's object: {code:javascript} navigator.contacts.find(["*"], function (contacts) { var myContact = contacts[4]; // Make sure the contact has more than two phoneNumberFields delete myContact.phoneNumbers[1]; myContact.save(function () { console.log("Success"); /// You will see, that the contact still has all it's previous phone numbers }, function () { console.error("error while saving"); }); }, function () { console.error("Could not access conacts."); }); {code} When I remove one of the both contact fields from the phoneNumbers array and then save the contact, it still has both numbers on the device. When I re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with plugin version 2.0.1) I can't find any hint in the documentation if I do something wrong or if the plugin is behaving wrong. *I have created a demo script, which reproduces the issue. You can use it for testing:* http://pastebin.com/XRdREL3Y You might want to remove line 25 which removes the contact in the end. This SO Question might be related to the issue: http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 > Can't remove contact field > -- > > Key: CB-10976 > URL: https://issues.apache.org/jira/browse/CB-10976 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts >Affects Versions: 2.0.0 > Environment: iOS 9.3 >Reporter: Tobias Mücksch >Priority: Blocker > > Let's say a existing contact that I've retrieved from the system has two or > more phone number fields: > Short demo script: > {code:javascript} > navigator.contacts.find(["*"], function (contacts) { > var myContact = contacts[4]; // Make sure the contact has more than > two phoneNumberFields > delete myContact.phoneNumbers[1]; > myContact.save(function () { > console.log("Success"); > /// You will see, that the contact still has all it's previous > phone numbers > }, function () { > console.error("error while saving"); > }); > > }, function () { > console.error("Could not access conacts."); > }); > {code} > When I remove one of the both contact fields from the phoneNumbers array and > then save the contact, it still has both numbers on the device. When I > re-retrieve the contact it has both numbers again. (Tested on iOS 9.3 with > plugin version 2.0.1) > I can't find any hint in the documentation if I do something wrong or if the > plugin is behaving wrong. > *I have created a demo script, which reproduces the issue. You can use it for > testing:* > http://pastebin.com/XRdREL3Y > You might want to remove line 25 which removes the contact in the end. > This SO Question might be related to the issue: > http://stackoverflow.com/questions/35698798/cordova-contacts-plugin-contact-data-is-duplicating-instead-of-overwriting-conta?rq=1 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CB-9618) icon parameter should not be relative to the www directory on Ubuntu
[ https://issues.apache.org/jira/browse/CB-9618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215813#comment-15215813 ] Sebastien Lorber commented on CB-9618: -- [~dbarth] I just upgraged from To And cli from 5.3.3 to 6.1.0 I can assure you that previously my icons were relative to project root, and are now relative to www Moving my icons folder from . to ./www solved the problem. It does not seem related to Android or IOS because I got cp errors in logs for both platforms. I also use Ubuntu BTW So, for me it was working before, and now does not work (or at least not like it's documented) > icon parameter should not be relative to the www directory on Ubuntu > > > Key: CB-9618 > URL: https://issues.apache.org/jira/browse/CB-9618 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib, Ubuntu >Reporter: David Barth >Assignee: David Barth > > On Ubuntu, the icon parameter is supposed to be relative to the project > directory, not the www directory. > This is documented for example on > https://developer.ubuntu.com/en/apps/html-5/tutorials/cordova-camera-app-tutorial/ -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215793#comment-15215793 ] ASF GitHub Bot commented on CB-10961: - Github user vladimir-kotikov commented on the pull request: https://github.com/apache/cordova-lib/pull/416#issuecomment-202818205 @csantanapr, i merged a bit different change, which uses `preparePlatforms` method instead of `prepare` .It is a subset of `prepare` but doesn't include the actions that are not expected to ran at this moment, like restoring platforms, plugins, fire hooks. Tested it with the case described in JIRA and it works. > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215782#comment-15215782 ] ASF subversion and git services commented on CB-10961: -- Commit 183495d4a8a195ac55a70419186e3093a5750d4f in cordova-lib's branch refs/heads/master from [~csantana] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=183495d ] CB-10961 Error no such file or directory adding ios platform when plugins present or required This closes #416 > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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-10961) CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml
[ https://issues.apache.org/jira/browse/CB-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15215783#comment-15215783 ] ASF GitHub Bot commented on CB-10961: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/416 > CLI 6.1.0 Error when adding ios platform and plugin declare in config.xml > - > > Key: CB-10961 > URL: https://issues.apache.org/jira/browse/CB-10961 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 6.1.0 >Reporter: Carlos Santana >Priority: Critical > Labels: cli, ios, regresion > > New CLI 6.1.0 has a regression when adding platform ios, not using > HelloCordova name for the app and plugins are present or declare in config.xml > To reproduce there are multiple use cases: > 1. Create new app with name app1, add a plugin then add ios platform > 2, Create new app with a template with a plugin in config.xml and that > specifies a name app1 in config.xml or create cli, then add ios platform > 3. Create new app with name app1 add a plugin declaration in config.xml > globally or under ios platform and then add ios platform > Initial investigation is that ios xcode project is always created with > HelloCordova and the name specified in config.xml > $ cordova create app1 com.app1 app1 > Creating a new cordova project. > ~/dev/cordova/cli-6.1.0 > $ cd app1/ > ~/dev/cordova/cli-6.1.0/app1 > $ cordova plugin add cordova-plugin-camera --save > Fetching plugin "cordova-plugin-camera" via npm > Saved plugin info for "cordova-plugin-camera" to config.xml > ~/dev/cordova/cli-6.1.0/app1 > $ cat config.xml > > http://www.w3.org/ns/widgets; > xmlns:cdv="http://cordova.apache.org/ns/1.0;> > app1 > > A sample Apache Cordova application that responds to the deviceready > event. > > http://cordova.io;> > Apache Cordova Team > > > > > http://*/*; /> > https://*/*; /> > > > mailto:*; /> > > > > > > > > > > > ~/dev/cordova/cli-6.1.0/app1 > $ cordova platform add ios > Adding ios project... > iOS project created with cordova-ios@4.1.0 > Installing "cordova-plugin-camera" for ios > Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the > project > Fetching plugin "cordova-plugin-whitelist@1" via npm > Installing "cordova-plugin-whitelist" for ios > Failed to install 'cordova-plugin-whitelist':Error: ENOENT: no such file or > directory, open > '/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/app1.xcodeproj/project.pbxproj' > at Error (native) > at Object.fs.openSync (fs.js:584:18) > at Object.fs.writeFileSync (fs.js:1224:33) > at Object.cachedProjectFiles.(anonymous function).write > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/projectFile.js:73:16) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/lib/plugman/Plugman.js:85:21 > at _fulfilled > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:796:13) > at > /Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:857:14 > at runSingle > (/Users/csantana23/Documents/dev/cordova/cli-6.1.0/app1/platforms/ios/cordova/node_modules/q/q.js:137:13) > ~/dev/cordova/cli-6.1.0/app1 -- 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