[jira] [Commented] (CB-3208) contacts
[ https://issues.apache.org/jira/browse/CB-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864071#comment-13864071 ] Piotr Zalewa commented on CB-3208: -- Read-only name.formatted added to my repository. contacts Key: CB-3208 URL: https://issues.apache.org/jira/browse/CB-3208 Project: Apache Cordova Issue Type: Sub-task Components: FirefoxOS Affects Versions: 2.6.0 Reporter: Herm Wong Assignee: Herm Wong Fix For: 3.3.0 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-3208) contacts
[ https://issues.apache.org/jira/browse/CB-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864163#comment-13864163 ] Piotr Zalewa commented on CB-3208: -- https://github.com/apache/cordova-plugin-contacts/pull/16 contacts Key: CB-3208 URL: https://issues.apache.org/jira/browse/CB-3208 Project: Apache Cordova Issue Type: Sub-task Components: FirefoxOS Affects Versions: 2.6.0 Reporter: Herm Wong Assignee: Herm Wong Fix For: 3.3.0 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-3208) contacts
[ https://issues.apache.org/jira/browse/CB-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864169#comment-13864169 ] Piotr Zalewa commented on CB-3208: -- Updated tests: https://github.com/apache/cordova-mobile-spec/pull/44 manifest.webapp { launch_path: /index.html, version: 0.0.1, name: Mobile Spec, pkgName: io.cordova.mobilespec, type: privileged, permissions: { contacts: { access: readwrite, description: testing } } } contacts Key: CB-3208 URL: https://issues.apache.org/jira/browse/CB-3208 Project: Apache Cordova Issue Type: Sub-task Components: FirefoxOS Affects Versions: 2.6.0 Reporter: Herm Wong Assignee: Herm Wong Fix For: 3.3.0 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen
[ https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864326#comment-13864326 ] Jan-Dirk Schuitemaker commented on CB-3397: --- Also wondering if there is any progress on this? I think this would be a very nice feature to have. A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen --- Key: CB-3397 URL: https://issues.apache.org/jira/browse/CB-3397 Project: Apache Cordova Issue Type: Improvement Components: Plugin InAppBrowser Affects Versions: 2.7.0 Reporter: Jan-Dirk Schuitemaker Assignee: David Kemp Priority: Minor Labels: Cordova, InAppBrowser Currently the inAppBrowser overlays your app. If you were able to set position and heigth/width for the InAppBrowser UIWebView you could make it look as if you are still in the app -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4976) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json
[ https://issues.apache.org/jira/browse/CB-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864329#comment-13864329 ] ASF subversion and git services commented on CB-4976: - Commit 4b9269abbc7cff68e87db52b3f7948636bf796d8 in branch refs/heads/master from [~drkemp] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=4b9269a ] CB-4976 fix tests to handle local dir case Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json --- Key: CB-4976 URL: https://issues.apache.org/jira/browse/CB-4976 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: Braden Shepherdson Priority: Minor The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json. I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-4976) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json
[ https://issues.apache.org/jira/browse/CB-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Kemp resolved CB-4976. Resolution: Fixed Fix Version/s: Master now will not use the cache for a local directory Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json --- Key: CB-4976 URL: https://issues.apache.org/jira/browse/CB-4976 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor Fix For: Master The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json. I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Assigned] (CB-4976) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json
[ https://issues.apache.org/jira/browse/CB-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Kemp reassigned CB-4976: -- Assignee: David Kemp (was: Braden Shepherdson) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json --- Key: CB-4976 URL: https://issues.apache.org/jira/browse/CB-4976 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor Fix For: Master The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json. I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen
[ https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864348#comment-13864348 ] Andrew Grieve commented on CB-3397: --- No progress. Don't think it's on anyone of the the core team's near-term priorities either. A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen --- Key: CB-3397 URL: https://issues.apache.org/jira/browse/CB-3397 Project: Apache Cordova Issue Type: Improvement Components: Plugin InAppBrowser Affects Versions: 2.7.0 Reporter: Jan-Dirk Schuitemaker Assignee: David Kemp Priority: Minor Labels: Cordova, InAppBrowser Currently the inAppBrowser overlays your app. If you were able to set position and heigth/width for the InAppBrowser UIWebView you could make it look as if you are still in the app -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864344#comment-13864344 ] ASF subversion and git services commented on CB-5733: - Commit 57d14da151739fc2cfef3fcd3fc94f8c92c9af68 in branch refs/heads/dev from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=57d14da ] CB-5733 Fix IAB.close() not working if called before show() animation is done Also attempts to fix some thread warnings by doing show/hide on separate event loop cycles. Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5685) Video Capture Plugin Internal Error on Blackberry10
[ https://issues.apache.org/jira/browse/CB-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864349#comment-13864349 ] ASF subversion and git services commented on CB-5685: - Commit 89a36b15e408e6ecfc524fe7440e53542962a2e1 in branch refs/heads/dev from [~bhigg...@blackberry.com] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=89a36b1 ] CB-5685 [BlackBerry10] Add access_shared permission Video Capture Plugin Internal Error on Blackberry10 --- Key: CB-5685 URL: https://issues.apache.org/jira/browse/CB-5685 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, Plugin Media Capture Environment: Blackberry10 Reporter: Matthew Keable Labels: blackberry, capture, video In Cordova 3.3.1 with the latest versions of Media Capture and File plugins, calling the Video Capture plugin like this: navigator.device.capture.captureVideo(onVideoCaptureSuccess, onVideoCaptureError, { limit : 1, duration : 3000 }); On a Blackberry Z10 running Blackberry 10.2.0.1791 with a project built against the Blackberry 10.2.0.15 NDK results in a CaptureError.CAPTURE_INTERNAL_ERR Videos are being recorded because they can be found in the device video gallery, but it seems that the plugin does not receive them. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve updated CB-5733: -- Component/s: Plugin InAppBrowser iOS Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani Assignee: Andrew Grieve I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5733. --- Resolution: Fixed Assignee: Andrew Grieve Fix applied to v0.3.1-dev Thanks for pointing this out. I think the issue is that .close() didn't work if called too quickly (maybe you want to use the hidden=yes option?). I believe my patch fixes it anyways. Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani Assignee: Andrew Grieve I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Closed] (CB-5685) Video Capture Plugin Internal Error on Blackberry10
[ https://issues.apache.org/jira/browse/CB-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins closed CB-5685. - Resolution: Fixed Video Capture Plugin Internal Error on Blackberry10 --- Key: CB-5685 URL: https://issues.apache.org/jira/browse/CB-5685 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, Plugin Media Capture Environment: Blackberry10 Reporter: Matthew Keable Labels: blackberry, capture, video In Cordova 3.3.1 with the latest versions of Media Capture and File plugins, calling the Video Capture plugin like this: navigator.device.capture.captureVideo(onVideoCaptureSuccess, onVideoCaptureError, { limit : 1, duration : 3000 }); On a Blackberry Z10 running Blackberry 10.2.0.1791 with a project built against the Blackberry 10.2.0.15 NDK results in a CaptureError.CAPTURE_INTERNAL_ERR Videos are being recorded because they can be found in the device video gallery, but it seems that the plugin does not receive them. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4976) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json
[ https://issues.apache.org/jira/browse/CB-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864370#comment-13864370 ] ASF subversion and git services commented on CB-4976: - Commit 190e72c2eaeaea74062af0b7027b032c79ca8624 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=190e72c ] CB-4976 Don't fire download hooks for local paths in lazy_load Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json --- Key: CB-4976 URL: https://issues.apache.org/jira/browse/CB-4976 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor Fix For: Master The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json. I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5734) Android - Correct Orientation OutOfMemoryError
Matthew Keable created CB-5734: -- Summary: Android - Correct Orientation OutOfMemoryError Key: CB-5734 URL: https://issues.apache.org/jira/browse/CB-5734 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Affects Versions: 3.2.0 Environment: Android 4.1 Reporter: Matthew Keable The Samsung Galaxy S3 takes very very large photographs, but seemingly does not have enough memory to effectively process them. Unfortunately this can cause the camera code to throw an OutOfMemory Error when trying to correct the orientation of the image. Because the OutOfMemory error is not caught, the app will crash. This happens both from the Camera itself or retrieving camera images from the Gallery. Suggest either catching the OutOfMemory error on calls to bitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), bitmap.getHeight(), matrix, true); or attempting to optimise the code such that the app can handle the rotations of larger images. Whilst we have only been able to confirm the existence of this bug on a Galaxy S3 running Android 4.1, given the fragmentation of the Android market it is likely that this might occur on other devices. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5735) cordova create --link should use ID and name from template
Andrew Grieve created CB-5735: - Summary: cordova create --link should use ID and name from template Key: CB-5735 URL: https://issues.apache.org/jira/browse/CB-5735 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Priority: Minor e.g. for mobile-spec: {code} cordova create f --link cordova-mobile-spec {code} Should not change the ID and name within config.xml to: {code} widget id=io.cordova.hellocordova version=0.0.1 xmlns=http://www.w3.org/ns/widgets; xmlns:cdv=http://cordova.apache.org/ns/1.0; nameHelloCordova/name {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4910) Request to reorganise configuration files
[ https://issues.apache.org/jira/browse/CB-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864395#comment-13864395 ] ASF subversion and git services commented on CB-4910: - Commit 7d3557c59660532a08668b3dc27fda3527b83542 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=7d3557c ] CB-4910 Default config.xml to the root instead of within www/ Logic should still be backwards-compatible with project that have config.xml within www/ Request to reorganise configuration files - Key: CB-4910 URL: https://issues.apache.org/jira/browse/CB-4910 Project: Apache Cordova Issue Type: Wish Components: CLI Reporter: Matt Gaunt What would be useful for future versions of Cordova projects built with the cordova-cli is: 1.) Rename .cordova folder to simply cordova this means hosting projects on github will more that likely include the cordova directory 2.) Move the config.xml file from the www diretory into the cordova directory allowing build steps / tasks / tools to replace the contents of www without breaking the build -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Assigned] (CB-5735) cordova create --link should use ID and name from template
[ https://issues.apache.org/jira/browse/CB-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve reassigned CB-5735: - Assignee: Andrew Grieve cordova create --link should use ID and name from template Key: CB-5735 URL: https://issues.apache.org/jira/browse/CB-5735 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor e.g. for mobile-spec: {code} cordova create f --link cordova-mobile-spec {code} Should not change the ID and name within config.xml to: {code} widget id=io.cordova.hellocordova version=0.0.1 xmlns=http://www.w3.org/ns/widgets; xmlns:cdv=http://cordova.apache.org/ns/1.0; nameHelloCordova/name {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5735) cordova create --link should use ID and name from template
[ https://issues.apache.org/jira/browse/CB-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864405#comment-13864405 ] ASF subversion and git services commented on CB-5735: - Commit f7b093db5d7d53f8564705627c9344214b5208a5 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=f7b093d ] CB-5735 Don't write out id name if config file already exists Applicable to create --link and create --source cordova create --link should use ID and name from template Key: CB-5735 URL: https://issues.apache.org/jira/browse/CB-5735 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor e.g. for mobile-spec: {code} cordova create f --link cordova-mobile-spec {code} Should not change the ID and name within config.xml to: {code} widget id=io.cordova.hellocordova version=0.0.1 xmlns=http://www.w3.org/ns/widgets; xmlns:cdv=http://cordova.apache.org/ns/1.0; nameHelloCordova/name {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5735) cordova create --link should use ID and name from template
[ https://issues.apache.org/jira/browse/CB-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5735. --- Resolution: Fixed Fix will land in next release after: 3.3.1-0.1.2 cordova create --link should use ID and name from template Key: CB-5735 URL: https://issues.apache.org/jira/browse/CB-5735 Project: Apache Cordova Issue Type: Bug Components: CLI Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor e.g. for mobile-spec: {code} cordova create f --link cordova-mobile-spec {code} Should not change the ID and name within config.xml to: {code} widget id=io.cordova.hellocordova version=0.0.1 xmlns=http://www.w3.org/ns/widgets; xmlns:cdv=http://cordova.apache.org/ns/1.0; nameHelloCordova/name {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5736) [BlackBerry10] Target command should support host names
Bryan Higgins created CB-5736: - Summary: [BlackBerry10] Target command should support host names Key: CB-5736 URL: https://issues.apache.org/jira/browse/CB-5736 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.4.0 blackberry-deploy supports DNS names but Cordova only supports IP addresses -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5736) [BlackBerry10] Target command should support host names
[ https://issues.apache.org/jira/browse/CB-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864495#comment-13864495 ] ASF subversion and git services commented on CB-5736: - Commit 9ae84e6fbbc94dce1ae2ca9d46c1e032731bf002 in branch refs/heads/master from [~bhigg...@blackberry.com] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=9ae84e6 ] CB-5736 Support host names for target command [BlackBerry10] Target command should support host names --- Key: CB-5736 URL: https://issues.apache.org/jira/browse/CB-5736 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.4.0 blackberry-deploy supports DNS names but Cordova only supports IP addresses -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McLear updated CB-5737: Description: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. was: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5737) Installing device plugin causes Android app to exception error on exit.
John McLear created CB-5737: --- Summary: Installing device plugin causes Android app to exception error on exit. Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Priority: Critical To replicate: cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McLear updated CB-5737: Description: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. was: To replicate: cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McLear updated CB-5737: Description: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. was: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5736) [BlackBerry10] Target command should support host names
[ https://issues.apache.org/jira/browse/CB-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864522#comment-13864522 ] ASF subversion and git services commented on CB-5736: - Commit 048fda1186a724378e4ed12125a714002670b9a0 in branch refs/heads/master from [~bhigg...@blackberry.com] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=048fda1 ] CB-5736 - target host is a required field [BlackBerry10] Target command should support host names --- Key: CB-5736 URL: https://issues.apache.org/jira/browse/CB-5736 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.4.0 blackberry-deploy supports DNS names but Cordova only supports IP addresses -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5738) add 'Docs' to header
Brian LeRoux created CB-5738: Summary: add 'Docs' to header Key: CB-5738 URL: https://issues.apache.org/jira/browse/CB-5738 Project: Apache Cordova Issue Type: Bug Components: Website Reporter: Brian LeRoux Assignee: Brian LeRoux Fix For: 3.3.0 -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5736) [BlackBerry10] Target command should support host names
[ https://issues.apache.org/jira/browse/CB-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins resolved CB-5736. --- Resolution: Fixed [BlackBerry10] Target command should support host names --- Key: CB-5736 URL: https://issues.apache.org/jira/browse/CB-5736 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Bryan Higgins Assignee: Bryan Higgins Fix For: 3.4.0 blackberry-deploy supports DNS names but Cordova only supports IP addresses -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5204) remove extra FirefoxOS column header in compatibility table
[ https://issues.apache.org/jira/browse/CB-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-5204. - Resolution: Fixed remove extra FirefoxOS column header in compatibility table --- Key: CB-5204 URL: https://issues.apache.org/jira/browse/CB-5204 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Minor an extra column head got inserted, with no corresponding content in the rest of the table. Insert column comment it out throughout -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-4932) new doc reference section for icon/splashscreen configuration
[ https://issues.apache.org/jira/browse/CB-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-4932. - Resolution: Fixed New Icons and Splash Screens section new doc reference section for icon/splashscreen configuration - Key: CB-4932 URL: https://issues.apache.org/jira/browse/CB-4932 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Minor problem: cordova doc currently has no doc detailing where app icon source lives. Similar info on splash screens is in the API ref. PG Build uses a different mechanism to specify icons, which needs to be distinguished from Cordova. So it makes sense to collect all the info so that it's parallel with content about config.xml. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Assigned] (CB-5730) Cordova update does not work
[ https://issues.apache.org/jira/browse/CB-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins reassigned CB-5730: - Assignee: Josh Soref Cordova update does not work Key: CB-5730 URL: https://issues.apache.org/jira/browse/CB-5730 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.2.0 Reporter: JennyGee Assignee: Josh Soref jgee$ ~/.cordova/lib/blackberry10/cordova/3.3.0/bin/update -h Usage: ../../../../.cordova/lib/blackberry10/cordova/3.3.0/bin/lib/update path_to_project jgee$ ls -l ../../../../.cordova/lib/blackberry10/cordova/3.3.0/bin/lib/update ls: ../../../../.cordova/lib/blackberry10/cordova/3.3.0/bin/lib/update: No such file or directory File doesn't exist so update work work. Also the usage message needs to be corrected. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-4080) modify CSS to improve presentation
[ https://issues.apache.org/jira/browse/CB-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-4080. - Resolution: Fixed overly vague metabug modify CSS to improve presentation -- Key: CB-4080 URL: https://issues.apache.org/jira/browse/CB-4080 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Minor Metabug for anything that improves the skin -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3937) configure CSS for compatibility tables
[ https://issues.apache.org/jira/browse/CB-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3937. - Resolution: Fixed looks good configure CSS for compatibility tables -- Key: CB-3937 URL: https://issues.apache.org/jira/browse/CB-3937 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Minor For Overview section, format embedded HTML table cells classed y/n with green/red background, check/X mark, etc. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3816) Add CLI Guide
[ https://issues.apache.org/jira/browse/CB-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3816. - Resolution: Fixed Add CLI Guide - Key: CB-3816 URL: https://issues.apache.org/jira/browse/CB-3816 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Reader wants to be able to use CLI for as much of the development cycle as possible, or bootstrap a project to hand off to SDK(s), or some combo. Clarify: which platforms are supported under which OS you can run each. Tutorial should generate default HelloCordova app, adds platforms, view in emulator(s), then view on device(s). -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3817) Organize Reference content
[ https://issues.apache.org/jira/browse/CB-3817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3817. - Resolution: Fixed Organize Reference content -- Key: CB-3817 URL: https://issues.apache.org/jira/browse/CB-3817 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra metabug for all tasks relating to reference content -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3811) Add Overview Page to Guides area
[ https://issues.apache.org/jira/browse/CB-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3811. - Resolution: Fixed Add Overview Page to Guides area -- Key: CB-3811 URL: https://issues.apache.org/jira/browse/CB-3811 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Reader needs high-level messaging: Why cordova? What problem does it solve? What does an app look like, and how does it execute? What are the different development paths? Overview clarifies basic terminology such as CLI, SDK, plug-in, what does hybrid mean, etc. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3828) Add API and Configuration Guide
[ https://issues.apache.org/jira/browse/CB-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3828. - Resolution: Fixed Add API and Configuration Guide - Key: CB-3828 URL: https://issues.apache.org/jira/browse/CB-3828 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Reader needs short tutorials about how to use APIs in real-world contexts. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3824) Adapt Embedding a WebView section
[ https://issues.apache.org/jira/browse/CB-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3824. - Resolution: Fixed Adapt Embedding a WebView section --- Key: CB-3824 URL: https://issues.apache.org/jira/browse/CB-3824 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Adapt existing Embedding WebView sections -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3849) review, reference, and expose new content
[ https://issues.apache.org/jira/browse/CB-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3849. - Resolution: Fixed review, reference, and expose new content - Key: CB-3849 URL: https://issues.apache.org/jira/browse/CB-3849 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Critical Once new section of doc is mature, review it for accuracy. If it's OK, make sure any otherwise commented cross references are enabled. Also make sure the top-level splash screen references the content. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3810) Rework Guide content
[ https://issues.apache.org/jira/browse/CB-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3810. - Resolution: Fixed Rework Guide content --- Key: CB-3810 URL: https://issues.apache.org/jira/browse/CB-3810 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Critical Current guide content assumes an SDK-centered workflow, which needs to be modified to address CLI audience. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3815) Add Compatability Table to Overview
[ https://issues.apache.org/jira/browse/CB-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3815. - Resolution: Fixed Add Compatability Table to Overview --- Key: CB-3815 URL: https://issues.apache.org/jira/browse/CB-3815 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra For at-a-glance overview, readers need a single-page table, where X = each platform; Y = each feature or development option. In addition to APIs, include support for CLI, WebView, plug-ins, or any other option a developer might value. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3823) Add Extended Hybrid Applications section
[ https://issues.apache.org/jira/browse/CB-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3823. - Resolution: Fixed Add Extended Hybrid Applications section -- Key: CB-3823 URL: https://issues.apache.org/jira/browse/CB-3823 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Metabug to clarify various out-of-app options in doc -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5577) Platform name attribute inconsistency (plugin.xml)
[ https://issues.apache.org/jira/browse/CB-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins resolved CB-5577. --- Resolution: Fixed Fix Version/s: 3.4.0 Platform name attribute inconsistency (plugin.xml) -- Key: CB-5577 URL: https://issues.apache.org/jira/browse/CB-5577 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI, Plugman Reporter: Lee Crossley Priority: Minor Fix For: 3.4.0 Documentation states the platform names should be: (http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md): `amazon-fireos, android, bb10, ios, wp7, wp8` However, bb10 contradicts what I see the the core apache cordova plugins, e.g. contacts plugin (https://raw.github.com/apache/cordova-plugin-contacts/master/plugin.xml): `platform name=blackberry10` Which is correct bb10 | blackberry10? We need to either accept both or fix the plugins, as both are in use. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5577) Platform name attribute inconsistency (plugin.xml)
[ https://issues.apache.org/jira/browse/CB-5577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864549#comment-13864549 ] ASF subversion and git services commented on CB-5577: - Commit 539342c309ff98b83cebaa78f4b2af24ae71aefd in branch refs/heads/master from [~bhigg...@blackberry.com] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=539342c ] CB-5577 Fix blackberry10 platform name inconsistency Platform name attribute inconsistency (plugin.xml) -- Key: CB-5577 URL: https://issues.apache.org/jira/browse/CB-5577 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, CLI, Plugman Reporter: Lee Crossley Priority: Minor Fix For: 3.4.0 Documentation states the platform names should be: (http://cordova.apache.org/docs/en/edge/plugin_ref_spec.md): `amazon-fireos, android, bb10, ios, wp7, wp8` However, bb10 contradicts what I see the the core apache cordova plugins, e.g. contacts plugin (https://raw.github.com/apache/cordova-plugin-contacts/master/plugin.xml): `platform name=blackberry10` Which is correct bb10 | blackberry10? We need to either accept both or fix the plugins, as both are in use. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McLear updated CB-5737: Description: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness was: cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3839) clarify blackberry vs blackberry 10 getting started sections
[ https://issues.apache.org/jira/browse/CB-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3839. - Resolution: Fixed pre-10 blackberry is a goner clarify blackberry vs blackberry 10 getting started sections Key: CB-3839 URL: https://issues.apache.org/jira/browse/CB-3839 Project: Apache Cordova Issue Type: Improvement Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Recommend retitling blackberry 9 if appropriate -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3905) revamp getting started splash page; consolidate common requirements
[ https://issues.apache.org/jira/browse/CB-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3905. - Resolution: Fixed revamp getting started splash page; consolidate common requirements - Key: CB-3905 URL: https://issues.apache.org/jira/browse/CB-3905 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Current Getting Started page is a list of platform-specific topics. Provide intro text move info common to these sub-pages to the splash, e.g. instructions to install cordova. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4899) [Blackberry 10] / [FileTransfer plugin]: download is not binary safe
[ https://issues.apache.org/jira/browse/CB-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864552#comment-13864552 ] Bryan Higgins commented on CB-4899: --- See details here as well: https://issues.apache.org/jira/browse/CB-5576 [Blackberry 10] / [FileTransfer plugin]: download is not binary safe Key: CB-4899 URL: https://issues.apache.org/jira/browse/CB-4899 Project: Apache Cordova Issue Type: Bug Components: BlackBerry, Plugin File Transfer Affects Versions: 3.0.0, 3.1.0 Environment: Platform: BlackBerry 10 Reporter: Ev Download an image file, using FileTransfer.download method on BlackBerry 10 platform. Once it's done, the image file can't be viewed and not recognized as a valid format. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5576) Filet
[ https://issues.apache.org/jira/browse/CB-5576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Higgins resolved CB-5576. --- Resolution: Duplicate Filet - Key: CB-5576 URL: https://issues.apache.org/jira/browse/CB-5576 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Affects Versions: 3.2.0 Reporter: Vijaya Lakshmi Filetransfer download and upload are not working in Blackberry10 (Z10) phone we have used below api for image upload From capture api we are taking fileuri var options = new FileUploadOptions(); options.fileKey=images[0]; options.fileName=fileURI.substr(fileURI.lastIndexOf('/')+1); options.mimeType=image/jpeg; ft.upload(imageURI, serverURI, win, fail, options) It is not working. Even download image from server also not working Normal filetransfer.download not working. So we have tried below code that is also not working window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; var xhr = new XMLHttpRequest(); console.log(uri = +uri); xhr.open('GET', uri, true); xhr.responseType = 'blob'; xhr.onload = function(e) { console.log(xhr onload funcation e+e); window.requestFileSystem(PERSISTENT, 1024 * 1024 * 10, function(fs) { console.log(fs = +fs); fs.root.getFile('/accounts/1000/shared/downloads/image.jpg', {create: true}, function(fileEntry) { console.log(file entry+fileEntry); fileEntry.createWriter(function(writer) { console.log(writer created); writer.onwrite = function(e) { console.log(writer on write = +e.toString()); }; writer.onerror = function(e) { console.log(writer on error = +e); }; console.log(resp = +xhr.response); var blob = new Blob([xhr.response], {type: 'image/jpg'}); console.log(blob size is := +blob.size); writer.write(blob); }, onError); }, onError); }, onError); }; xhr.send(); Actually image.jpg file is created under '/accounts/1000/shared/downloads/' folder but not writing the blob cobntent into the file -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3946) suppress doc until platforms are supported
[ https://issues.apache.org/jira/browse/CB-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3946. - Resolution: Fixed suppress doc until platforms are supported -- Key: CB-3946 URL: https://issues.apache.org/jira/browse/CB-3946 Project: Apache Cordova Issue Type: Wish Components: Docs Reporter: Mike Sierra Priority: Minor Current doc prematurely implies support for FirefoxOS, making doc unreliable. OK to populate project settings page, but don't expose it with a link until the platform is fully supported. Related: do not link to empty stub pages. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3818) Organize API Reference
[ https://issues.apache.org/jira/browse/CB-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3818. - Resolution: Fixed Organize API Reference -- Key: CB-3818 URL: https://issues.apache.org/jira/browse/CB-3818 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra metabug for all API ref doc -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3820) Adapt Configuration Reference
[ https://issues.apache.org/jira/browse/CB-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3820. - Resolution: Fixed Adapt Configuration Reference - Key: CB-3820 URL: https://issues.apache.org/jira/browse/CB-3820 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra adapt existing Project Settings. In addition to platform-specific settings, include Shared Settings e.g. for orientation -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3962) document and implement editorial guidelines
[ https://issues.apache.org/jira/browse/CB-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3962. - Resolution: Fixed document and implement editorial guidelines --- Key: CB-3962 URL: https://issues.apache.org/jira/browse/CB-3962 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Critical The top-level STYLESHEET.md file collects editorial guidelines to help standardize the doc. Keep updating to reflect any site-side conventions. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3827) Modify content structure; reflect on home page
[ https://issues.apache.org/jira/browse/CB-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3827. - Resolution: Fixed Modify content structure; reflect on home page -- Key: CB-3827 URL: https://issues.apache.org/jira/browse/CB-3827 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Restructure as follows: 1 Guides 1.1 Overview 1.1a Platform Support 1.2 The Command-line Interface 1.3 Platform Guides 1.3.1 FOO Platform Guide 1.3.2 FOO Configuration 1.3.3 FOO Plugins 1.3.4 FOO Webviews 1.3.5 FOO Command-line Tools 1.3.6 Upgrading FOO 1.4 Application Development Guide 1.4.1 Modifying Preferences 1.4.2 Basic Interaction 1.4.3 Device Sensors 1.4.4 Data Access 1.4.5 Network and Storage 1.4.6 Globalization 1.4.7 Domain Whitelisting 1.4.8 Privacy Guidelines 1.5 Hybrid Application Guide 1.5.1 Opening a Browser Window 1.5.2 Embedding a WebView [references various FOO WebViews] 1.5.3 Adding a Plug-in [references various FOO Plugins] 1.6 Distributing Applications 2 Reference 2.1 API Reference 2.1.x [each API...] 2.2 Configuration Reference 2.2.1 Shared Configuration Settings 2.2.2 Icons and Splash Screens 2.2.3 [reference various FOO configurations] 2.3 Plugin Reference 2.3.1 Plugin Specification 2.3.2 Using Plugman to Manage Plugins On home page: * strip out Guide/Reference levels * #.# should be formatted as top-level h1 heads * #.#.# should be formatted as h2 subheads * Under Platform Tools, only FOO Platform Guide should appear on home page * Current skin doesn't link from top-level headings; modified version would Would prefer collapsible B-heads in navbar -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3822) Rework SDK-specific content
[ https://issues.apache.org/jira/browse/CB-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3822. - Resolution: Fixed Rework SDK-specific content --- Key: CB-3822 URL: https://issues.apache.org/jira/browse/CB-3822 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Organize platform-specific content as fixed set of unnumbered subheads listed below. Remove or move information extraneous to that core set of content. Remove out-of-scope redundant references to installing cordova or creating projects; link CLI doc. For platforms not covered by the CLI, remove any unnecessary references to non-CLI command-line tools from main exposition; append summary in Command-line Utilities. Subheads: Requirements and Support Install the SDK Open a Project in the SDK Deploy to Emulator [from CLI within SDK] Deploy to Device [from CLI within SDK] Common Problems [hopefully optional] Command-line Utilities -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3808) Rework Documentation
[ https://issues.apache.org/jira/browse/CB-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3808. - Resolution: Fixed Rework Documentation Key: CB-3808 URL: https://issues.apache.org/jira/browse/CB-3808 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Priority: Critical Labels: doc Metabug for doc re-org. Current doc is a combination of confusing, incomplete, disorganized, or outdated. Users need doc that details development alternatives such as the CLI, and clarifies high-level messages. Target audience is a web-aware developer potentially unfamiliar with details of native SDKs. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3826) add Opening a Browser Window Section
[ https://issues.apache.org/jira/browse/CB-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3826. - Resolution: Fixed add Opening a Browser Window Section -- Key: CB-3826 URL: https://issues.apache.org/jira/browse/CB-3826 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Detail behavior of inAppBrowser API: Does it open a browser instance? Does the view have a location bar? Does it work with browser history? Etc -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-3821) Rework SDK Section
[ https://issues.apache.org/jira/browse/CB-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra resolved CB-3821. - Resolution: Fixed Rework SDK Section -- Key: CB-3821 URL: https://issues.apache.org/jira/browse/CB-3821 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra Retitle Getting Started as SDK Guide to accomodate larger context. Add top-level splash-screen content discussing need to install SDKs for target platforms, even for development in CLI. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5739) Rewrite Windows/WP8 Platform Guides
Mike Sierra created CB-5739: --- Summary: Rewrite Windows/WP8 Platform Guides Key: CB-5739 URL: https://issues.apache.org/jira/browse/CB-5739 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5740) Make iOS Scroll Like Other Native Apps
Andrew Grieve created CB-5740: - Summary: Make iOS Scroll Like Other Native Apps Key: CB-5740 URL: https://issues.apache.org/jira/browse/CB-5740 Project: Apache Cordova Issue Type: New Feature Components: Docs, iOS Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor UIWebView has a higher than normal deceleration rate. Easily fixed with: {code} [[[self webView] scrollView] setDecelerationRate:UIScrollViewDecelerationRateNormal]; {code} I'm going to set this as the default so that apps feel more native, and add a preference: preference name=UIWebViewDecelerationSpeed value=fast / -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5739) Rewrite Windows/WP8 Platform Guides
[ https://issues.apache.org/jira/browse/CB-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864586#comment-13864586 ] Mike Sierra commented on CB-5739: - Task includes: * Flesh out the content, e.g., with more/better screen shots, especially to show device emulators. The current platform guide doc for iOS/Android should serve as a baseline. Fix the various formatting errors on these pages, align it with the editorial style sheet, etc. * Upgrade platform guide doc to present information about the CLI workflow along with the existing shell-tool workflow. incorporate what are currently separate Command-line Tools pages into each platform guide * Look for opportunities to merge any relevant info about outdated wp7 platform into wp8 topic * Upgrade various Windows platform guides to support development on Mac via VMWare, Parallels, or BootCamp. Leverage this content: http://bit.ly/1jqMKhz. Avoid distracting readers with all available options in main platform guide. Rewrite Windows/WP8 Platform Guides --- Key: CB-5739 URL: https://issues.apache.org/jira/browse/CB-5739 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5102) Memory leaks when resizing the photo on WP8
[ https://issues.apache.org/jira/browse/CB-5102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-5102: Fix Version/s: (was: 3.3.0) 3.4.0 Memory leaks when resizing the photo on WP8 --- Key: CB-5102 URL: https://issues.apache.org/jira/browse/CB-5102 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, WP7, WP8 Affects Versions: 3.1.0 Environment: Nokia Lumia 925 running WP8 Reporter: Jonathan Naguin Assignee: Jesse MacFadyen Priority: Critical Labels: camera, memory-leak, wp7, wp8 Fix For: 3.4.0 I was testing the Camera on WP8 and I found memory problems using this code several times (5 to 10): {code} var _options = { quality: 50, destinationType: Camera.DestinationType.DATA_URL, sourceType: Camera.PictureSourceType.CAMERA, allowEdit: false, encodingType: Camera.EncodingType.PNG, saveToPhotoAlbum: false, correctOrientation: true, targetWidth: 1024, targetHeight: 768 }; navigator.camera.getPicture(cameraSuccess, cameraError, _options); {code} I realized the problem is on GetImageContent and ResizePhoto. It contains several problems disposing Streams and Bitmaps. This is my re-implementation, which I tested and it works fine so far: {code} /// summary /// Returns image content in a form of base64 string /// /summary /// param name=streamImage stream/param /// returnsBase64 representation of the image/returns private string GetImageContent(Stream stream) { byte[] imageContent = null; try { //use photo's actual width height if user doesn't provide width height if (cameraOptions.TargetWidth 0 cameraOptions.TargetHeight 0) { int streamLength = (int)stream.Length; imageContent = new byte[streamLength + 1]; stream.Read(imageContent, 0, streamLength); } else { // resize photo imageContent = ResizePhoto(stream); } } finally { stream.Dispose(); } return Convert.ToBase64String(imageContent); } /// summary /// Resize image /// /summary /// param name=streamImage stream/param /// returnsresized image/returns private byte[] ResizePhoto(Stream stream) { //output byte[] resizedFile; BitmapImage objBitmap = new BitmapImage(); objBitmap.SetSource(stream); objBitmap.CreateOptions = BitmapCreateOptions.None; WriteableBitmap objWB = new WriteableBitmap(objBitmap); objBitmap.UriSource = null; //Keep proportionally double ratio = Math.Min((double)cameraOptions.TargetWidth / objWB.PixelWidth, (double)cameraOptions.TargetHeight / objWB.PixelHeight); int width = Convert.ToInt32( ratio * objWB.PixelWidth ); int height = Convert.ToInt32( ratio * objWB.PixelHeight ); //Hold the result stream using (MemoryStream objBitmapStreamResized = new MemoryStream()) { try { // resize the photo with user defined TargetWidth TargetHeight Extensions.SaveJpeg(objWB, objBitmapStreamResized, width, height, 0, cameraOptions.Quality); } finally { //Dispose bitmaps immediately, they are memory expensive DisposeImage(objBitmap); DisposeImage(objWB); GC.Collect(); } //Convert the resized stream to a byte array. int streamLength = (int)objBitmapStreamResized.Length; resizedFile = new Byte[streamLength]; //-1 objBitmapStreamResized.Position = 0; //for some reason we have to set Position to zero, but we don't have to earlier when we get the bytes from the chosen photo... objBitmapStreamResized.Read(resizedFile, 0, streamLength); } return resizedFile; } /// summary /// Util: Dispose a bitmap resource /// /summary /// param name=imageBitmapSource subclass to dispose/param private void DisposeImage(BitmapSource image) { if (image != null) { try { using (var ms = new MemoryStream(new byte[] { 0x0 })) { image.SetSource(ms); } } catch (Exception) { } } } {code} NOTE: - It contains a solution for: https://issues.apache.org/jira/browse/CB-2737 -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5739) Rewrite Win/WP8 Platform Guides
[ https://issues.apache.org/jira/browse/CB-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Sierra updated CB-5739: Summary: Rewrite Win/WP8 Platform Guides (was: Rewrite Windows/WP8 Platform Guides) Rewrite Win/WP8 Platform Guides --- Key: CB-5739 URL: https://issues.apache.org/jira/browse/CB-5739 Project: Apache Cordova Issue Type: Task Components: Docs Reporter: Mike Sierra Assignee: Mike Sierra -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864604#comment-13864604 ] Anant Sajnani commented on CB-5733: --- Actually, I am trying to close the child window if the child url has the word close at some point in it and have included the code below. It works on android and not iOS7. Any ideas why? Code- function windowOpen(urlLink) { url = urlLink; reopenWindow = 'true'; ref = window.open(encodeURI(url), '_blank'); ref.addEventListener('loadstop', LoadStop); ref.addEventListener('exit', Close); } function LoadStop(event) { if (event.url.match(close)) { ref.close(); reloadPage = true localStorage.setItem(openWindow, url); } } function Close(event) { ref.removeEventListener('loadstop', LoadStop); ref.removeEventListener('exit', Close); if (reloadPage == true) { reloadPage = false; Appery.navigateTo('StartScreen', { allowSamePageTransition: true, transition: 'slideup', reloadPage: true }); } } Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani Assignee: Andrew Grieve I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5740) Make iOS Scroll Like Other Native Apps
[ https://issues.apache.org/jira/browse/CB-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864613#comment-13864613 ] ASF subversion and git services commented on CB-5740: - Commit b58b6b16a9ec95487d10e8b0648c359a338484b5 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=b58b6b1 ] CB-5740 Add docs for UIWebViewDecelerationSpeed preference Make iOS Scroll Like Other Native Apps -- Key: CB-5740 URL: https://issues.apache.org/jira/browse/CB-5740 Project: Apache Cordova Issue Type: New Feature Components: Docs, iOS Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor Fix For: 3.4.0 UIWebView has a higher than normal deceleration rate. Easily fixed with: {code} [[[self webView] scrollView] setDecelerationRate:UIScrollViewDecelerationRateNormal]; {code} I'm going to set this as the default so that apps feel more native, and add a preference: preference name=UIWebViewDecelerationSpeed value=fast / -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5740) Make iOS Scroll Like Other Native Apps
[ https://issues.apache.org/jira/browse/CB-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864612#comment-13864612 ] ASF subversion and git services commented on CB-5740: - Commit 92165bddb3dda162b339f08e732cb0343d223a21 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=92165bd ] CB-5740 Use UIScrollViewDecelerationRateNormal by default. Make iOS Scroll Like Other Native Apps -- Key: CB-5740 URL: https://issues.apache.org/jira/browse/CB-5740 Project: Apache Cordova Issue Type: New Feature Components: Docs, iOS Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor Fix For: 3.4.0 UIWebView has a higher than normal deceleration rate. Easily fixed with: {code} [[[self webView] scrollView] setDecelerationRate:UIScrollViewDecelerationRateNormal]; {code} I'm going to set this as the default so that apps feel more native, and add a preference: preference name=UIWebViewDecelerationSpeed value=fast / -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5740) Make iOS Scroll Like Other Native Apps
[ https://issues.apache.org/jira/browse/CB-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5740. --- Resolution: Fixed Fix Version/s: 3.4.0 Make iOS Scroll Like Other Native Apps -- Key: CB-5740 URL: https://issues.apache.org/jira/browse/CB-5740 Project: Apache Cordova Issue Type: New Feature Components: Docs, iOS Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor Fix For: 3.4.0 UIWebView has a higher than normal deceleration rate. Easily fixed with: {code} [[[self webView] scrollView] setDecelerationRate:UIScrollViewDecelerationRateNormal]; {code} I'm going to set this as the default so that apps feel more native, and add a preference: preference name=UIWebViewDecelerationSpeed value=fast / -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5731) Windows Phone 8 fails to access remote urls
[ https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-5731. - Resolution: Cannot Reproduce Your posted code worked fine for me after adding this to the index.html document head. script src=http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js;/script Windows Phone 8 fails to access remote urls --- Key: CB-5731 URL: https://issues.apache.org/jira/browse/CB-5731 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.3.0 Reporter: John McLear Assignee: Jesse MacFadyen Doing a very simple: {code:javascript} $.get(http://google.com;, function(){alert(yay)}); {code} Fails on Windows Phone 8. Basically Cross domain requests don't work, this includes when an explicit and/or wildcard exclusion is set in config.xml allowed domains -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864621#comment-13864621 ] Andrew Grieve commented on CB-5733: --- Likely this is the same issue that is fixed by the attached commit. You can try it out by: {code} cordova plugin rm org.apache.cordova.inappbrowser cordova plugin add 'https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git#dev' {code} Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani Assignee: Andrew Grieve I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5731) Windows Phone 8 fails to access remote urls
[ https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864623#comment-13864623 ] John McLear commented on CB-5731: - Really, you get a yay alert? Windows Phone 8 fails to access remote urls --- Key: CB-5731 URL: https://issues.apache.org/jira/browse/CB-5731 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.3.0 Reporter: John McLear Assignee: Jesse MacFadyen Doing a very simple: {code:javascript} $.get(http://google.com;, function(){alert(yay)}); {code} Fails on Windows Phone 8. Basically Cross domain requests don't work, this includes when an explicit and/or wildcard exclusion is set in config.xml allowed domains -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Assigned] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve reassigned CB-5737: - Assignee: Andrew Grieve Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (CB-5741) Unable to change app name
Kristoffer Flores created CB-5741: - Summary: Unable to change app name Key: CB-5741 URL: https://issues.apache.org/jira/browse/CB-5741 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Kristoffer Flores Priority: Minor 1. Deploy a cordova application 2. Repackage with an alternate app name using cordova/run Expected: Application name has changed in navigator. Actual Result: Application name is unchanged. Further using blackberry-deploy will not change the name in navigator. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864626#comment-13864626 ] Andrew Grieve commented on CB-5737: --- Reproduced. Thanks for bumping. Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5733) Cannot close child window in iOS7
[ https://issues.apache.org/jira/browse/CB-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864631#comment-13864631 ] Anant Sajnani commented on CB-5733: --- thanks. I am using appery to develop and build the app. Appery abstracts it for me. Not sure how i can test it out using appery. Will email their support :) Cannot close child window in iOS7 - Key: CB-5733 URL: https://issues.apache.org/jira/browse/CB-5733 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin InAppBrowser Environment: iPhone 4s iOS 7 Reporter: Anant Sajnani Assignee: Andrew Grieve I can't close child window in iOS7. Works on android refTest= window.open(http://www.cnn.com,_blank;); refTest.close(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5731) Windows Phone 8 fails to access remote urls
[ https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864633#comment-13864633 ] John McLear commented on CB-5731: - I'm sorry Jesse but I double checked this on a clean app and the issue persists on this device.. Are you 100% sure you meant to close this? Windows Phone 8 fails to access remote urls --- Key: CB-5731 URL: https://issues.apache.org/jira/browse/CB-5731 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.3.0 Reporter: John McLear Assignee: Jesse MacFadyen Doing a very simple: {code:javascript} $.get(http://google.com;, function(){alert(yay)}); {code} Fails on Windows Phone 8. Basically Cross domain requests don't work, this includes when an explicit and/or wildcard exclusion is set in config.xml allowed domains -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864645#comment-13864645 ] Tommy-Carlos Williams commented on CB-5737: --- Also reproduced on 3.3.1-0.1.2 Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864646#comment-13864646 ] Andrew Grieve commented on CB-5737: --- Looks like it is caused by some telephony logic that got left in after CB-5504 Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864649#comment-13864649 ] ASF subversion and git services commented on CB-5504: - Commit 6b40b60f7f7aa3c8ed955fbed8add8498b9cb062 in branch refs/heads/dev from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=6b40b60 ] CB-5737 Fix exception on close caused by left over telephony code from CB-5504 Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Components: Android, Docs, Plugin Device, Plugin Media Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams Assignee: Joe Bowser There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864647#comment-13864647 ] ASF subversion and git services commented on CB-5737: - Commit 6b40b60f7f7aa3c8ed955fbed8add8498b9cb062 in branch refs/heads/dev from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=6b40b60 ] CB-5737 Fix exception on close caused by left over telephony code from CB-5504 Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5719) Plugins Release Jan 2, 2013
[ https://issues.apache.org/jira/browse/CB-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864658#comment-13864658 ] ASF subversion and git services commented on CB-5719: - Commit 7a4d8d0d76359a5824b8b0669a00dc2e38f01388 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=7a4d8d0 ] CB-5719 Incremented plugin version on dev branch. Plugins Release Jan 2, 2013 --- Key: CB-5719 URL: https://issues.apache.org/jira/browse/CB-5719 Project: Apache Cordova Issue Type: Bug Components: Plugins Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864661#comment-13864661 ] ASF subversion and git services commented on CB-5504: - Commit 6b40b60f7f7aa3c8ed955fbed8add8498b9cb062 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=6b40b60 ] CB-5737 Fix exception on close caused by left over telephony code from CB-5504 Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Components: Android, Docs, Plugin Device, Plugin Media Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams Assignee: Joe Bowser There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864660#comment-13864660 ] ASF subversion and git services commented on CB-5737: - Commit 6b40b60f7f7aa3c8ed955fbed8add8498b9cb062 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-device.git;h=6b40b60 ] CB-5737 Fix exception on close caused by left over telephony code from CB-5504 Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Reopened] (CB-5731) Windows Phone 8 fails to access remote urls
[ https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John McLear reopened CB-5731: - I'm not convinced this is working, I think the test Jesse did was incomplete, various people in IRC seem to be able to replicate. Windows Phone 8 fails to access remote urls --- Key: CB-5731 URL: https://issues.apache.org/jira/browse/CB-5731 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.3.0 Reporter: John McLear Assignee: Jesse MacFadyen Doing a very simple: {code:javascript} $.get(http://google.com;, function(){alert(yay)}); {code} Fails on Windows Phone 8. Basically Cross domain requests don't work, this includes when an explicit and/or wildcard exclusion is set in config.xml allowed domains -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5737. --- Resolution: Fixed Did a device plugin release, so this change is now in 0.2.7. (which at least right now isn't appearing yet on http://plugins.cordova.io/#/org.apache.cordova.device) Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5737) Installing device plugin causes Android app to exception error on exit.
[ https://issues.apache.org/jira/browse/CB-5737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864679#comment-13864679 ] John McLear commented on CB-5737: - Confirm fix in 0.2.7 thanks to @Andrew Grieve Installing device plugin causes Android app to exception error on exit. --- Key: CB-5737 URL: https://issues.apache.org/jira/browse/CB-5737 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.2.0 Reporter: John McLear Assignee: Andrew Grieve Priority: Critical cordova -v = 3.3.1-0.1.2 To replicate: {code:javascript} cordova create foo cd foo cordova platform add android cordova plugin add org.apache.cordova.device cordova run android {code} Press back button once app has loaded, you will see an error. Problem exists at 0.2.2.. cordova plugin add org.apache.cordova.device@0.2.2 Fetching plugin from org.apache.cordova.device@0.2.2 So possible it's a Cordova issue.. Will try older versions of Cordova.. Problem exists in Cordova 3.3.0-rc1, can't test earlier due to brokenness -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5446) Custom URLs not supported since Cordova 3.0
[ https://issues.apache.org/jira/browse/CB-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-5446: --- Priority: Minor (was: Major) Custom URLs not supported since Cordova 3.0 --- Key: CB-5446 URL: https://issues.apache.org/jira/browse/CB-5446 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.0.0, 3.1.0 Environment: Any Android device! Tested on Nexus S (2.3.6), Nexus 4 (4.3), Samsung Galaxy S (2.3.3), HTC One X (4.1.2) Reporter: Steve Assignee: Joe Bowser Priority: Minor When I add a custom URL in my html page, for example: a href=myapp://test/testing.htmlLink that opens another Android app/a If I click on the link, I am getting an error Application Error with the content: The protocol isn't supported. (myapp://test/testing.html) This issue does not exist in Cordova 2.x. You can try this by cloning the following github repo (https://github.com/Icenium/sample-custom-url-scheme) and install the app on your Android device. Then from another Android app, create a hyperlink that uses the custom URL scheme that the first app listens to e.g. myapp://. Note: The sample app uses WebIntent plugin. The plugin itself works fine with Cordova 3.0 and can be downloaded from https://github.com/Initsogar/cordova-webintent. P.S. I saw similar problem in this Jira issue https://issues.apache.org/jira/browse/CB-3902. The fix to hardcode market:// seems to avoid fixing this GENERAL problem. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5446) Custom URLs not supported since Cordova 3.0
[ https://issues.apache.org/jira/browse/CB-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864760#comment-13864760 ] Joe Bowser commented on CB-5446: This is directly related to the whitelist implementation. This will probably not be changed. Custom URLs not supported since Cordova 3.0 --- Key: CB-5446 URL: https://issues.apache.org/jira/browse/CB-5446 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.0.0, 3.1.0 Environment: Any Android device! Tested on Nexus S (2.3.6), Nexus 4 (4.3), Samsung Galaxy S (2.3.3), HTC One X (4.1.2) Reporter: Steve Assignee: Joe Bowser Priority: Minor When I add a custom URL in my html page, for example: a href=myapp://test/testing.htmlLink that opens another Android app/a If I click on the link, I am getting an error Application Error with the content: The protocol isn't supported. (myapp://test/testing.html) This issue does not exist in Cordova 2.x. You can try this by cloning the following github repo (https://github.com/Icenium/sample-custom-url-scheme) and install the app on your Android device. Then from another Android app, create a hyperlink that uses the custom URL scheme that the first app listens to e.g. myapp://. Note: The sample app uses WebIntent plugin. The plugin itself works fine with Cordova 3.0 and can be downloaded from https://github.com/Initsogar/cordova-webintent. P.S. I saw similar problem in this Jira issue https://issues.apache.org/jira/browse/CB-3902. The fix to hardcode market:// seems to avoid fixing this GENERAL problem. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Assigned] (CB-4813) Media.seekTo on first play. Again
[ https://issues.apache.org/jira/browse/CB-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-4813: -- Assignee: Joe Bowser Media.seekTo on first play. Again - Key: CB-4813 URL: https://issues.apache.org/jira/browse/CB-4813 Project: Apache Cordova Issue Type: Bug Components: Android, iOS, Plugin Media Affects Versions: 2.7.0, 2.9.0, 3.0.0 Environment: Mac OS X Reporter: Snr Assignee: Joe Bowser It is impossible to use Media.seekTo before the sound is played the first time. There was the same issue previously which was fixed in 2.1.0: https://issues.apache.org/jira/browse/CB-403 However, I still can replicate the problem: the sound always starts playing from the beginning of the file. var audio = new Media(data/q.mp3,function(){},function(){},function(){}); audio.seekTo(3); audio.play(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4813) Media.seekTo on first play. Again
[ https://issues.apache.org/jira/browse/CB-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864767#comment-13864767 ] Joe Bowser commented on CB-4813: Do you have a patch to contribute? Media.seekTo on first play. Again - Key: CB-4813 URL: https://issues.apache.org/jira/browse/CB-4813 Project: Apache Cordova Issue Type: Bug Components: Android, iOS, Plugin Media Affects Versions: 2.7.0, 2.9.0, 3.0.0 Environment: Mac OS X Reporter: Snr It is impossible to use Media.seekTo before the sound is played the first time. There was the same issue previously which was fixed in 2.1.0: https://issues.apache.org/jira/browse/CB-403 However, I still can replicate the problem: the sound always starts playing from the beginning of the file. var audio = new Media(data/q.mp3,function(){},function(){},function(){}); audio.seekTo(3); audio.play(); -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5670) Build script crash
[ https://issues.apache.org/jira/browse/CB-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-5670: --- Component/s: (was: Android) This is a different issue than the previous one, and is based on the CLI. How are you updating your project to use Google APIs in the first place? Build script crash --- Key: CB-5670 URL: https://issues.apache.org/jira/browse/CB-5670 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.3.0 Environment: Win 7 64-bit Reporter: James Wong The error as described in this issue CB-5255 (marked as fixed) has not yet been reflected in the latest PhoneGap 3.3.0 release. {code} c:\Development\egsphonegap build android -V [phonegap] detecting Android SDK environment... [phonegap] using the local environment [phonegap] compiling Android... [phonegap] Installing cordova library for android... [phonegap] missing library cordova/android/3.3.0 [phonegap] downloading https://git-wip-us.apache.org/repos/asf?p=cordova-android .git;a=snapshot;h=3.3.0;sf=tgz... [phonegap] Downloading cordova library for android... [phonegap] Download complete [phonegap] Installing cordova library for android... [phonegap] Generating config.xml from defaults for platform android [phonegap] Compiling app on platform android via command cmd /c c:\Developme nt\egs\platforms\android\cordova\build [error] An error occurred while building the android project. c:\Development\egs\platforms\android\cordova\lib\check_reqs.js:37 return target.split('=')[1].replace('\n', '').replace('\r', '').replac ^ TypeError: Cannot call method 'replace' of undefined at Object.module.exports.get_target (c:\Development\egs\platforms\android\co rdova\lib\check_reqs.js:37:37) at Object.module.exports.check_android (c:\Development\egs\platforms\android \cordova\lib\check_reqs.js:67:29) at Object.module.exports.run (c:\Development\egs\platforms\android\cordova\l ib\check_reqs.js:90:61) at Object.anonymous (c:\Development\egs\platforms\android\cordova\build:31 :10) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) c:\Development\egsphonegap version 3.3.0-0.17.1 {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5664) AppCache's checking event fired more than once per App startup.
[ https://issues.apache.org/jira/browse/CB-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-5664: --- Priority: Minor (was: Major) AppCache's checking event fired more than once per App startup. - Key: CB-5664 URL: https://issues.apache.org/jira/browse/CB-5664 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.3.0 Environment: Android 4.1.2 (SDK 16) Reporter: Godric Kwok Priority: Minor +Expected Behavior:+ 1) AppCache is checked only *once* per App startup. +Observed Behavior:+ 1) AppCache is checked *multiple times* randomly per App startup. +Steps to repeat:+ 0) WebView loading a site with manifest. 1) console.log() AppCache's checking event. 2) Start App, see checking once. 3) *navigator.app.exitApp()*, then re-launches App. 4) First relaunch leads to a single checking still. 5) Repeat the relaunch *a few times*. 6) Then you'll see sometimes it's a double, a triple, or a quadruple (but never 5x). 7) Only a *KILL* from task switcher will reset these accumulations. +Unwanted Results:+ 1) Multiple checking triggers multiple subsequent events (download, updateready, etc...) that renders the App slow. 2) Multiple updateready triggers multiple swapCache()/reload() that renders the App appeared broken. +Code Snippet:+ super.loadUrl( 'http://my.site.with.manifest/' ); document.addEventListener('deviceready', function(){ function logEvent(event) { console.log('appcache: '+event.type); } window.applicationCache.addEventListener('checking', logEvent, false); window.applicationCache.addEventListener('noupdate', logEvent, false); window.applicationCache.addEventListener('downloading', logEvent, false); window.applicationCache.addEventListener('progress', logEvent, false); window.applicationCache.addEventListener('cached', logEvent, false); window.applicationCache.addEventListener('updateready', logEvent, false); window.applicationCache.addEventListener('obsolete', logEvent, false); window.applicationCache.addEventListener('error', logEvent, false); document.addEventListener('backbutton', function(){ navigator.app.exitApp(); }, false); }, false); +LogCat pattern:+ *(1x)* 12-17 21:11:13.470: I/Web Console(2142): appcache: checking:23 12-17 21:11:13.478: I/Web Console(2142): appcache: noupdate:23 *(1x, but +double+ updateready)* 12-17 21:11:47.775: I/Web Console(2142): appcache: checking:23 12-17 21:11:50.072: I/Web Console(2142): appcache: downloading:23 12-17 21:11:50.072: I/Web Console(2142): appcache: progress:23 12-17 21:11:50.166: I/Web Console(2142): appcache: progress:23 12-17 21:11:50.197: I/Web Console(2142): appcache: progress:23 12-17 21:11:50.697: I/Web Console(2142): appcache: progress:23 12-17 21:11:50.697: I/Web Console(2142): appcache: progress:23 12-17 21:11:50.697: I/Web Console(2142): appcache: updateready:23 12-17 21:11:50.697: I/Web Console(2142): appcache: updateready:23 *(2x)* 12-17 21:12:27.283: I/Web Console(2142): appcache: checking:23 12-17 21:12:27.283: I/Web Console(2142): appcache: checking:23 12-17 21:12:29.759: I/Web Console(2142): appcache: noupdate:23 12-17 21:12:29.759: I/Web Console(2142): appcache: noupdate:23 *(2x)* 12-17 21:12:35.447: I/Web Console(2142): appcache: checking:23 12-17 21:12:35.447: I/Web Console(2142): appcache: checking:23 12-17 21:12:38.025: I/Web Console(2142): appcache: noupdate:23 12-17 21:12:38.025: I/Web Console(2142): appcache: noupdate:23 *(3x)* 12-17 21:12:45.322: I/Web Console(2142): appcache: checking:23 12-17 21:12:45.322: I/Web Console(2142): appcache: checking:23 12-17 21:12:45.322: I/Web Console(2142): appcache: checking:23 12-17 21:12:47.345: I/Web Console(2142): appcache: noupdate:23 12-17 21:12:47.345: I/Web Console(2142): appcache: noupdate:23 12-17 21:12:47.345: I/Web Console(2142): appcache: noupdate:23 -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5656) config.xml: preference android-installLocation doesn't works
[ https://issues.apache.org/jira/browse/CB-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-5656: --- Priority: Minor (was: Major) Issue Type: New Feature (was: Bug) This isn't currently supported in Cordova currently, making this a feature request. config.xml: preference android-installLocation doesn't works Key: CB-5656 URL: https://issues.apache.org/jira/browse/CB-5656 Project: Apache Cordova Issue Type: New Feature Components: Android Affects Versions: 3.2.0 Environment: Windows 7 Reporter: Stefano Storti Priority: Minor Using CLI, building from a www/config.xml with preference name=android-installLocation value=auto / doesn't copy the installLocation=auto to AndroidManifest.xml. So after launched the app to device with the install command, the Move to SD Card button in Android Installed Apps is disabled. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Resolved] (CB-4051) Splashscreen rotation problem
[ https://issues.apache.org/jira/browse/CB-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-4051. -- Resolution: Fixed Splashscreen rotation problem - Key: CB-4051 URL: https://issues.apache.org/jira/browse/CB-4051 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.7.0 Reporter: Estelle Assignee: Shazron Abdullah On Cordova 2.7 I have made an application iPhone with Cordova, my application is only on landscape mode. I have added splashscreens on the app and seen a bug. When I launch app, I see correctly the good splashscreen but after view seconds the splashscreen rotate on 90° I think it's a bug because all params in XML, Xcode and plist are in landscape mode. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5663) Geolocation minTime on Android is 60s, preventing realtime updates
[ https://issues.apache.org/jira/browse/CB-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864783#comment-13864783 ] Joe Bowser commented on CB-5663: Why aren't you using the built-in Geolocation on Android? Geolocation minTime on Android is 60s, preventing realtime updates -- Key: CB-5663 URL: https://issues.apache.org/jira/browse/CB-5663 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.3.0 Environment: Android 4.2, Intel Yolo phone Reporter: Clayton Grassick cordova-plugin-geolocation / src / android / GPSListener.java has the minTime parameter on the locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 6, 0, this) set to 60 seconds. On Android platforms that respect that parameter, it means that the GPS location will only update every 60 seconds, making it less useful. I suggest changing it to 1000ms instead. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-4274) File uploading with more than 2 GB from device is being terminated from device side
[ https://issues.apache.org/jira/browse/CB-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-4274: --- Component/s: Plugin File Transfer File uploading with more than 2 GB from device is being terminated from device side --- Key: CB-4274 URL: https://issues.apache.org/jira/browse/CB-4274 Project: Apache Cordova Issue Type: Bug Components: Android, Plugin File Transfer Reporter: Shahid Nawaz Assignee: Joe Bowser Priority: Minor Android cordova FileTransfer.java in upload function is using int data type to keep bytes size of file to be uploaded, it works fine as long file size is less than or equal to 2 GB (i.e. int range 2147483647) Problem in FileTransfer.java line 290, and 379: fixedLength = (int) ((FileInputStream)sourceInputStream).getChannel().size() + stringLength; Where fixedLength is int and upload fails with 0 bytes. Remedy: change fixedLength to long should work. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5006) Allow installing plugins by ID to resolve to local plugin directories
[ https://issues.apache.org/jira/browse/CB-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13864827#comment-13864827 ] ASF subversion and git services commented on CB-5006: - Commit c8e1cb9982c243e6c0674e8c7bb799062c109d05 in branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=c8e1cb9 ] CB-5006: Add --searchpath option for local plugin search path Allow installing plugins by ID to resolve to local plugin directories - Key: CB-5006 URL: https://issues.apache.org/jira/browse/CB-5006 Project: Apache Cordova Issue Type: Bug Components: Plugman Reporter: Andrew Grieve Assignee: Mark Koudritsky Priority: Minor ML: http://markmail.org/thread/3w77elhdnidcdyxq Instead of always hitting the registry when installing a plugin by ID, first see if it exists within the plugin search path. The plugin search path should be specified in the same way as other plugman registry settings: https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/registry/registry.js;h=ccdd45ab672abe99a731b9fe0aed8837db40d6f0;hb=f240acc532f93bdf16761836d9b7418373afebec#l239 The search path should point to directories that contain directories that contain plugin.xml files. E.g., on start-up, plugman will need to scan on level deep in all search paths for plugin.xml files and parse out their IDs. We should be sure to have a console message upon installation that says where plugins are being installed from. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-5473) EXC_BAD_ACCESS on CDVPlugin that is re-opened after being closed
[ https://issues.apache.org/jira/browse/CB-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-5473: - Fix Version/s: 3.4.0 EXC_BAD_ACCESS on CDVPlugin that is re-opened after being closed Key: CB-5473 URL: https://issues.apache.org/jira/browse/CB-5473 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.1.0 Environment: iOS 5.1 (possibly more) Reporter: Shane Carr Assignee: Shazron Abdullah Priority: Critical Labels: camera, crash, plugin Fix For: 3.4.0 We've been having an issue involving Cordova crashing as the modal view for our plugin opens. We have been able to reproduce the issue, and the steps are shown below. The null pointer seems to come from the {{WebCore::TimerBase::setNextFireTime}} method. h2. Source Code The source code for the project exhibiting this behavior can be cloned from BitBucket: https://bitbucket.org/vote539/shopeel-camera/downloads#tag-downloads Download the tag named simple-camera. This tag strips out nonessential details. Please do not use the latest commit when debugging. If the app runs slowly even when you use the above commit, try removing (or modifying) the weinre line on your local machine. h2. Steps to Reproduce The following steps have, without fail, reproduced the error for me. I am unsure whether this is the minimal set of steps. # Build and run the app through XCode on a real iOS device. # Tap the Open Shopeel Camera button. The plugin view opens. # Tap the Cancel button to close the plugin view. # Wait at least 30 seconds. # Tap the Open Shopeel Camera button again. # Tap the Cancel button again. # Wait at least 30 seconds. # Tap the Open Shopeel Camera button a third time. The app crashes. h2. Error Log The app always crashes on the following line: {code} 0x32e6379e: ldr.w r0, [r0, r5, lsl #2] {code} The trace indicates that this occurs on the thread labeled {{com.apple.camera.avcapturesession}} in the method named {{WebCore::TimerBase::setNextFireTime(double)}}. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-2934) Add a ./cordova/build project-level script for OSX
[ https://issues.apache.org/jira/browse/CB-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2934: - Assignee: (was: Shazron Abdullah) Add a ./cordova/build project-level script for OSX -- Key: CB-2934 URL: https://issues.apache.org/jira/browse/CB-2934 Project: Apache Cordova Issue Type: Improvement Components: OSX Reporter: Filip Maj Fix For: 3.3.0 {code} build [--debug] [--release] {code} Builds the application and compiles to the platform's appropriate binary format. By default builds a debug release: {code} build --debug {code} Supports building a release (possibly signed) build using: {code} build --release {code} Implicitly calls {{./cordova/clean}} first (see CB-2920). If both {{release}} and {{debug}} parameters are specified, error out with exit code 2 and an appropriate error message. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (CB-2802) add a ./bin/check_reqs script to OS X
[ https://issues.apache.org/jira/browse/CB-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2802: - Assignee: (was: Shazron Abdullah) add a ./bin/check_reqs script to OS X - Key: CB-2802 URL: https://issues.apache.org/jira/browse/CB-2802 Project: Apache Cordova Issue Type: Bug Components: OSX Reporter: Filip Maj Fix For: 3.3.0 Add a script to check if the machine supports creating/running/compiling cordova-osx projects. -- This message was sent by Atlassian JIRA (v6.1.5#6160)