[jira] [Created] (CB-3736) navigator.globalization.getDatePattern always returns dd/MM/yyyy HH:mm
Jamie Clarke created CB-3736: Summary: navigator.globalization.getDatePattern always returns dd/MM/ HH:mm Key: CB-3736 URL: https://issues.apache.org/jira/browse/CB-3736 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Test device version: 4.2.1 Reporter: Jamie Clarke Assignee: Joe Bowser Priority: Critical Using the snippet from the cordova documentation the result is always dd/MM/ HH:mm no matter what options are provided. In comparison dateToString works fine. Snippet: {code:javascript} navigator.globalization.getDatePattern( function (date) {alert('pattern: ' + date.pattern + '\n');}, function () {alert('Error getting pattern\n');}, {formatLength:'short', selector:'date'} ); {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3736) navigator.globalization.getDatePattern always returns dd/MM/yyyy HH:mm
[ https://issues.apache.org/jira/browse/CB-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie Clarke updated CB-3736: - Priority: Major (was: Critical) navigator.globalization.getDatePattern always returns dd/MM/ HH:mm Key: CB-3736 URL: https://issues.apache.org/jira/browse/CB-3736 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Test device version: 4.2.1 Reporter: Jamie Clarke Assignee: Joe Bowser Using the snippet from the cordova documentation the result is always dd/MM/ HH:mm no matter what options are provided. In comparison dateToString works fine. Snippet: {code:javascript} navigator.globalization.getDatePattern( function (date) {alert('pattern: ' + date.pattern + '\n');}, function () {alert('Error getting pattern\n');}, {formatLength:'short', selector:'date'} ); {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3737) Review platform parser specs
Filip Maj created CB-3737: - Summary: Review platform parser specs Key: CB-3737 URL: https://issues.apache.org/jira/browse/CB-3737 Project: Apache Cordova Issue Type: Task Components: CLI Reporter: Filip Maj Assignee: Filip Maj Priority: Minor Fix For: 3.0.0 Go through parser code with a fine toothed comb and see if we can improve the specs and clean anything up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Kwan updated CB-3534: -- Component/s: CordovaJS App Hello World Priority: Critical (was: Major) Description: Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. was: Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (1000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example
[jira] [Created] (CB-3738) Update Tizen Port to Tizen SDK 2.1 Nectarine
Paul Plaquette created CB-3738: -- Summary: Update Tizen Port to Tizen SDK 2.1 Nectarine Key: CB-3738 URL: https://issues.apache.org/jira/browse/CB-3738 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 Nectarine realese by tizen.org Reporter: Paul Plaquette Assignee: Anis Kadri Priority: Minor Fix For: Master Update tizen port of cordova to Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3739) Tizen SDK 2.1 port Extending APIs
Paul Plaquette created CB-3739: -- Summary: Tizen SDK 2.1 port Extending APIs Key: CB-3739 URL: https://issues.apache.org/jira/browse/CB-3739 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 (tizen.org) Reporter: Paul Plaquette Assignee: Anis Kadri Fix For: Master adding support to new apis that were added in COrdova and are missing from port on Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3740) Tizen SDK 2.1 fulfilling APIs
Paul Plaquette created CB-3740: -- Summary: Tizen SDK 2.1 fulfilling APIs Key: CB-3740 URL: https://issues.apache.org/jira/browse/CB-3740 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux - Tizen SDK 2.1 (tizen.org) Reporter: Paul Plaquette Assignee: Anis Kadri Priority: Minor Fix For: Master fulfill APIs. adding more features improve Cordova and Tizen integration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678046#comment-13678046 ] Mike Kwan commented on CB-3534: --- The issue seems to be that the me.getInfo (leading to exec(..., ..., 'Device', 'getDeviceInfo', [])) for the top page does not get through to the native side. This means the callback from channel.join() never gets invoked. Investigating further... Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3738) Update Tizen Port to Tizen SDK 2.1 Nectarine
[ https://issues.apache.org/jira/browse/CB-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Plaquette resolved CB-3738. Resolution: Fixed Assignee: Paul Plaquette (was: Anis Kadri) [Tizen][Tizen SDK, 2.1 - Nectarine] - Device.js, NetworkStatus.js 7ac3024fb6def9c8fb9b4dca1faf266812b51292 [Tizen][Tizen 2.1 - Nectarine] - Device.js 8a84454f364260c666a5e2c26920b7a70b295f39 [TIZEN][SDK 2.1 - NECTARINE] 523d9106f9dc1c4cec735893c87081ba3deeb57c Update Tizen Port to Tizen SDK 2.1 Nectarine Key: CB-3738 URL: https://issues.apache.org/jira/browse/CB-3738 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 Nectarine realese by tizen.org Reporter: Paul Plaquette Assignee: Paul Plaquette Priority: Minor Fix For: Master Update tizen port of cordova to Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3738) Update Tizen Port to Tizen SDK 2.1 Nectarine
[ https://issues.apache.org/jira/browse/CB-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678047#comment-13678047 ] Paul Plaquette commented on CB-3738: [Tizen][Tizen SDK, 2.1 - Nectarine] - Device.js, NetworkStatus.js 7ac3024fb6def9c8fb9b4dca1faf266812b51292 Update Tizen Port to Tizen SDK 2.1 Nectarine Key: CB-3738 URL: https://issues.apache.org/jira/browse/CB-3738 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 Nectarine realese by tizen.org Reporter: Paul Plaquette Assignee: Anis Kadri Priority: Minor Fix For: Master Update tizen port of cordova to Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678046#comment-13678046 ] Mike Kwan edited comment on CB-3534 at 6/7/13 2:06 PM: --- The issue seems to be that the *me.getInfo* (leading to *exec(..., ..., 'Device', 'getDeviceInfo', []))* for the top page does not get through to the native side. This means the callback from *channel.join()* never gets invoked. Investigating further... was (Author: mike kwan): The issue seems to be that the me.getInfo (leading to exec(..., ..., 'Device', 'getDeviceInfo', [])) for the top page does not get through to the native side. This means the callback from channel.join() never gets invoked. Investigating further... Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3739) Tizen SDK 2.1 port Extending APIs
[ https://issues.apache.org/jira/browse/CB-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678050#comment-13678050 ] Paul Plaquette commented on CB-3739: adding squeletton for api to add is in progress Tizen SDK 2.1 port Extending APIs - Key: CB-3739 URL: https://issues.apache.org/jira/browse/CB-3739 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 (tizen.org) Reporter: Paul Plaquette Assignee: Paul Plaquette Fix For: Master adding support to new apis that were added in COrdova and are missing from port on Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3740) Tizen SDK 2.1 fulfilling APIs
[ https://issues.apache.org/jira/browse/CB-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Plaquette reassigned CB-3740: -- Assignee: Paul Plaquette (was: Anis Kadri) Tizen SDK 2.1 fulfilling APIs - Key: CB-3740 URL: https://issues.apache.org/jira/browse/CB-3740 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux - Tizen SDK 2.1 (tizen.org) Reporter: Paul Plaquette Assignee: Paul Plaquette Priority: Minor Fix For: Master fulfill APIs. adding more features improve Cordova and Tizen integration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CB-3738) Update Tizen Port to Tizen SDK 2.1 Nectarine
[ https://issues.apache.org/jira/browse/CB-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Plaquette closed CB-3738. -- Update Tizen Port to Tizen SDK 2.1 Nectarine Key: CB-3738 URL: https://issues.apache.org/jira/browse/CB-3738 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 Nectarine realese by tizen.org Reporter: Paul Plaquette Assignee: Paul Plaquette Priority: Minor Fix For: Master Update tizen port of cordova to Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3739) Tizen SDK 2.1 port Extending APIs
[ https://issues.apache.org/jira/browse/CB-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Plaquette reassigned CB-3739: -- Assignee: Paul Plaquette (was: Anis Kadri) Tizen SDK 2.1 port Extending APIs - Key: CB-3739 URL: https://issues.apache.org/jira/browse/CB-3739 Project: Apache Cordova Issue Type: Bug Components: Tizen Affects Versions: Master Environment: GNU/Linux (Ubuntu) - Tizen SDK 2.1 (tizen.org) Reporter: Paul Plaquette Assignee: Paul Plaquette Fix For: Master adding support to new apis that were added in COrdova and are missing from port on Tizen SDK 2.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678046#comment-13678046 ] Mike Kwan edited comment on CB-3534 at 6/7/13 2:35 PM: --- The issue seems to be that the *me.getInfo* (leading to *exec(..., ..., 'Device', 'getDeviceInfo', []))* for the top page does not get through to the native side. This means the callback from *channel.join()* never gets invoked. *fetchCommandsFromJs* never gets called for the top page which so *nativeFetchMessages* never drains the command queue. Investigating further... was (Author: mike kwan): The issue seems to be that the *me.getInfo* (leading to *exec(..., ..., 'Device', 'getDeviceInfo', []))* for the top page does not get through to the native side. This means the callback from *channel.join()* never gets invoked. Investigating further... Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3741) [BlackBerry10] Integration tests failing for target and create scripts
[ https://issues.apache.org/jira/browse/CB-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Audino updated CB-3741: -- Summary: [BlackBerry10] Integration tests failing for target and create scripts (was: [BlackBerry10] Integration tests failing for targer and create scripts) [BlackBerry10] Integration tests failing for target and create scripts -- Key: CB-3741 URL: https://issues.apache.org/jira/browse/CB-3741 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Daniel Audino Assignee: Lorin Beer Fix For: 2.9.0 Multiple integration test failures for create and target scripts -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3741) [BlackBerry10] Integration tests failing for targer and create scripts
Daniel Audino created CB-3741: - Summary: [BlackBerry10] Integration tests failing for targer and create scripts Key: CB-3741 URL: https://issues.apache.org/jira/browse/CB-3741 Project: Apache Cordova Issue Type: Bug Components: BlackBerry Reporter: Daniel Audino Assignee: Lorin Beer Fix For: 2.9.0 Multiple integration test failures for create and target scripts -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678086#comment-13678086 ] Mike Kwan commented on CB-3534: --- I have an embarrassingly terrible workaround for this issue... {code} - (void)viewDidLoad { [super viewDidLoad]; [self flushCordovaBridge]; } - (void)flushCordovaBridge { [self.commandDelegate evalJs:@cordova.fireDocumentEvent('resign'); scheduledOnRunLoop:NO]; [self performSelector:_cmd withObject:nil afterDelay:0.1]; } {code} This probably drains the battery and also will also prevent the *CDVViewController* being released if it is no longer being used so if you use this put some login to only do the *performSelector* if your *CDVViewController* still needs to be alive. Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel commented on CB-2787: I have the same problem. code 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more code I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigget timeouts My code looks like this: code var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } code PhoneGap FileTransfer.Download more than 300 files -- Key: CB-2787 URL: https://issues.apache.org/jira/browse/CB-2787 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.5.0 Reporter: Cho Assignee: Ian Clelland I had tried to download more than 300 files and then it hit error after that. Seems like some IO Connection was not properly closed. I wrote a small code to test it out. Any idea? How to file a report or get a source of phonegap to check the real cause? {code} var counter = 500; function DownloadFile() { if (counter == 0) { DownloadComplete(); return; } var ft = new FileTransfer(); var downloadUrl = source; var dlPath = target ft.download(downloadUrl, dlPath, function(entry) { counter--; UpdateProgress(); DownloadFile(); }, function(error) { DownloadFailed(); }, true); } {code} note: target and source is alright because it was it failed when the counter goes until 300+. {code} 03-14 08:35:09.706: E/FileTransfer(24867): {target:target,source:source,http_status:200,code:1} 03-14 08:35:09.706: E/FileTransfer(24867): java.io.FileNotFoundException: source: open failed: EMFILE (Too many open files) 03-14 08:35:09.706: E/FileTransfer(24867): at
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel edited comment on CB-2787 at 6/7/13 3:54 PM: I have the same problem. {code:xml} 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more {code} I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigget timeouts My code looks like this: {code:javascript} var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } {code} was (Author: ggabriel): I have the same problem. code 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel edited comment on CB-2787 at 6/7/13 3:57 PM: I have the same problem. {code:xml} ... about 300 downloads worked well ... 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more {code} I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigger timeouts My code looks like this: {code:javascript} var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } {code} was (Author: ggabriel): I have the same problem. {code:xml} 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548):
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel edited comment on CB-2787 at 6/7/13 3:55 PM: I have the same problem. {code:xml} 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more {code} I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigger timeouts My code looks like this: {code:javascript} var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } {code} was (Author: ggabriel): I have the same problem. {code:xml} 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel edited comment on CB-2787 at 6/7/13 3:59 PM: I have the same problem. {code:none} ... about 300 downloads worked well ... 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more {code} I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigger timeouts My code looks like this: {code:javascript} var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } {code} was (Author: ggabriel): I have the same problem. {code:log} ... about 300 downloads worked well ... 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88)
[jira] [Comment Edited] (CB-2787) PhoneGap FileTransfer.Download more than 300 files
[ https://issues.apache.org/jira/browse/CB-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678106#comment-13678106 ] Gregor Gabriel edited comment on CB-2787 at 6/7/13 3:58 PM: I have the same problem. {code:log} ... about 300 downloads worked well ... 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:73) 06-07 16:18:29.643: E/FileTransfer(6548): at org.apache.cordova.FileTransfer$4.run(FileTransfer.java:808) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 06-07 16:18:29.643: E/FileTransfer(6548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 06-07 16:18:29.643: E/FileTransfer(6548): at java.lang.Thread.run(Thread.java:856) 06-07 16:18:29.643: E/FileTransfer(6548): Caused by: libcore.io.ErrnoException: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.Posix.open(Native Method) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:400) 06-07 16:18:29.643: E/FileTransfer(6548): ... 6 more {code} I use cordova 2.7 (same effect with cordova 2.2) My app worked fine on Android 2.3, 3.x With Android 4.0 I got this issue, but using a timeout of 1 millisecond solved my problem. This workaround also worked for Android 4.1.x. But now with Android 4.2.2 (Nexus 7) I can't get rid of this problem, even with bigger timeouts My code looks like this: {code:javascript} var urls=['http://foo', ..., 'http://bar']; var loader = new FileTransfer(); function loader(){ var url = window.urls.pop(); if(url === undefined) return; window.loader.download( url, window.getAbsoluteFileNameForUrl(url), function(e){setTimeout(loader,100)}, function(e){setTimeout(loader,100)} ); } {code} was (Author: ggabriel): I have the same problem. {code:xml} ... about 300 downloads worked well ... 06-07 16:18:29.533: D/FileTransfer(6548): download https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 to file:///storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.603: D/FileTransfer(6548): Download file:https://elearning-mobile.de.tuv.com:443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3 06-07 16:18:29.643: E/FileTransfer(6548): {target:file:\/\/\/storage\/emulated\/0\/content\/https\/elearning-mobile.de.tuv.com443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,source:https:\/\/elearning-mobile.de.tuv.com:443\/content\/ada\/ada06\/ada06q01-6\/sounds\/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3,http_status:200,code:1} 06-07 16:18:29.643: E/FileTransfer(6548): java.io.FileNotFoundException: /storage/emulated/0/content/https/elearning-mobile.de.tuv.com443/content/ada/ada06/ada06q01-6/sounds/26B73D46-072B-43AB-ADFB-31ECBA18A975.mp3: open failed: EMFILE (Too many open files) 06-07 16:18:29.643: E/FileTransfer(6548): at libcore.io.IoBridge.open(IoBridge.java:416) 06-07 16:18:29.643: E/FileTransfer(6548): at java.io.FileOutputStream.init(FileOutputStream.java:88)
[jira] [Comment Edited] (CB-3534) Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding
[ https://issues.apache.org/jira/browse/CB-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678086#comment-13678086 ] Mike Kwan edited comment on CB-3534 at 6/7/13 5:32 PM: --- I have an embarrassingly terrible workaround for this issue... {code} - (void)viewDidLoad { [super viewDidLoad]; [self flushCordovaBridge]; } - (void)flushCordovaBridge { [self.commandDelegate evalJs:@cordova.fireDocumentEvent('resign'); scheduledOnRunLoop:NO]; [self performSelector:_cmd withObject:nil afterDelay:0.1]; } {code} This probably drains the battery and also will also prevent the *CDVViewController* being released if it is no longer being used so if you use this put some logic to only do the *performSelector* if your *CDVViewController* still needs to be alive. was (Author: mike kwan): I have an embarrassingly terrible workaround for this issue... {code} - (void)viewDidLoad { [super viewDidLoad]; [self flushCordovaBridge]; } - (void)flushCordovaBridge { [self.commandDelegate evalJs:@cordova.fireDocumentEvent('resign'); scheduledOnRunLoop:NO]; [self performSelector:_cmd withObject:nil afterDelay:0.1]; } {code} This probably drains the battery and also will also prevent the *CDVViewController* being released if it is no longer being used so if you use this put some login to only do the *performSelector* if your *CDVViewController* still needs to be alive. Multiple CDVViewControllers - deviceready not fired and cordova.exec events queued up till backgrounding Key: CB-3534 URL: https://issues.apache.org/jira/browse/CB-3534 Project: Apache Cordova Issue Type: Bug Components: App Hello World, CordovaJS, iOS Affects Versions: 2.3.0, 2.7.0 Environment: Reproducible on iPhone/iPad 6.1 Simulator and Device. Reporter: Mike Kwan Assignee: Shazron Abdullah Priority: Critical Attachments: CordovaBug.zip, Screen Shot 2013-05-29 at 13.55.42.png, Screen Shot 2013-05-29 at 14.31.44.png Minimal example reproducing the problem is attached and set up as follows: # Custom container view controller split into two halves each containing a _CDVViewController_ # Top half loads and after a delay (3000ms) fires a _NSNotification_ # In response to the _NSNotification_ the top half loads a green page and the bottom half loads a red page Both red pages and green pages have an event listener for *deviceready*: {code} function onDeviceReady() { alert('deviceready from X'); // colour here cordova.exec(null, null, 'Echo', 'echo', ['hello']); }; {code} {panel:title=Observed Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} - _deviceready_ is fired only for the red page (bottom) - The _cordova.exec_ succeeds for the red page (bottom) - _deviceready_ is not fired for the green page (top) {panel} {panel:title=Expected Behaviour|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} _deviceready_ should be fired for both the green and red page simultaneously and the _cordova.exec_ events should go through immediately. {panel} {panel:title=Extra Details|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#CE} This bug reproduces the first time the app is launched (reset the simulator to reproduce). On subsequent launches the app behaves as expected. The _deviceready_ can be triggered by certain events for the top page: - Pulling down the notification bar - Backgrounding If _deviceready_ is triggered by pulling down the notification bar, the _cordova.exec_ is still not fired for the green page. The _cordova.exec_ message is queued up and finally does go through when the app is backgrounded. {panel} This bug is remarkably similar to the following: https://issues.apache.org/jira/browse/CB-2094 Perhaps it is an edge case which was overlooked? This bug reproduces on 2.3.0 and 2.7.0 - I have not tried other versions yet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3647) Breakout Device Motion Plugin for Android
[ https://issues.apache.org/jira/browse/CB-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3647: --- Issue Type: Improvement (was: Bug) Breakout Device Motion Plugin for Android - Key: CB-3647 URL: https://issues.apache.org/jira/browse/CB-3647 Project: Apache Cordova Issue Type: Improvement Components: Android, Plugin Device Motion Reporter: Steve Gill Assignee: Steve Gill Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3607) Make manifest - appcache file on server to work with a phonegap build app
[ https://issues.apache.org/jira/browse/CB-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-3607: -- Assignee: Simon MacDonald (was: Joe Bowser) This should already work. BTW: We don't officially support this use case. Make manifest - appcache file on server to work with a phonegap build app - Key: CB-3607 URL: https://issues.apache.org/jira/browse/CB-3607 Project: Apache Cordova Issue Type: Bug Components: Android, iOS Affects Versions: 2.7.0 Reporter: Claes Gustavsson Assignee: Simon MacDonald Why? - To make an app offline and still be able to update the content without having to submit the hole app again. The app can be updated and you just have to update the manifest file on the server and it can be offline. If you can make a manifest - appcache file to work with phonegap build without having to change anything in the app code would be great. So it would work the same way as with an webapp. Simon MacDonald said the I could assign it to him. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3742) Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined
Dan Moore created CB-3742: - Summary: Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined Key: CB-3742 URL: https://issues.apache.org/jira/browse/CB-3742 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.7.0 Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). Reporter: Dan Moore Assignee: Filip Maj I've successfully installed cordova-cli (thanks for this, by the way!) and can create a project and add the android platform. These all work: 'cordova create kewlapp kewlapp' 'cordova -d platform android' 'cordova build android' The emulator works (with a started 2.3.3 emulator): 'cordova emulate android' However, when I run 'cordova serve android' I get this error: [TypeError: Cannot call method 'update_project' of undefined] 'cordova -d serve android' has the same output. From digging around in the node src, it seems that the parser created on line 125 of node_modules/cordova/src/serve.js is undefined for some reason. I can't imagine why, though I did notice that node_modules/cordova/platforms.js has the android url pointing to cordova-ios.git. Changing that to android.git didn't resolve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3742) Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined
[ https://issues.apache.org/jira/browse/CB-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678317#comment-13678317 ] Dan Moore commented on CB-3742: --- I installed cordova-cli via http://photokandy.tumblr.com/post/46289610781/getting-started-with-cordova-cli No results found when searching for this error on google or in the phonegap google group. Thanks. Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined --- Key: CB-3742 URL: https://issues.apache.org/jira/browse/CB-3742 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.7.0 Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). Reporter: Dan Moore Assignee: Filip Maj I've successfully installed cordova-cli (thanks for this, by the way!) and can create a project and add the android platform. These all work: 'cordova create kewlapp kewlapp' 'cordova -d platform android' 'cordova build android' The emulator works (with a started 2.3.3 emulator): 'cordova emulate android' However, when I run 'cordova serve android' I get this error: [TypeError: Cannot call method 'update_project' of undefined] 'cordova -d serve android' has the same output. From digging around in the node src, it seems that the parser created on line 125 of node_modules/cordova/src/serve.js is undefined for some reason. I can't imagine why, though I did notice that node_modules/cordova/platforms.js has the android url pointing to cordova-ios.git. Changing that to android.git didn't resolve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3743) Remove compatibility headers folder
Shazron Abdullah created CB-3743: Summary: Remove compatibility headers folder Key: CB-3743 URL: https://issues.apache.org/jira/browse/CB-3743 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: Shazron Abdullah Assignee: Shazron Abdullah Fix For: 2.9.0 https://github.com/apache/cordova-ios/tree/master/CordovaLib/Classes/compatibility I doubt its being used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3463) bin/create should copy cordova.js into the project's CordovaLib
[ https://issues.apache.org/jira/browse/CB-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3463: - Fix Version/s: (was: Master) 2.9.0 bin/create should copy cordova.js into the project's CordovaLib --- Key: CB-3463 URL: https://issues.apache.org/jira/browse/CB-3463 Project: Apache Cordova Issue Type: Bug Components: iOS, OSX Reporter: Shazron Abdullah Assignee: Shazron Abdullah Priority: Minor Fix For: 2.9.0 Right now the cordova.js is not copied in, but copied into www only. This would be good for debugging reasons etc -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2938) Input in area where where accessory bar was when HideKeyboardFormAccessoryBar causes app to stall
[ https://issues.apache.org/jira/browse/CB-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2938: - Assignee: (was: Shazron Abdullah) Input in area where where accessory bar was when HideKeyboardFormAccessoryBar causes app to stall - Key: CB-2938 URL: https://issues.apache.org/jira/browse/CB-2938 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.6.0 Environment: IOS 6.1 / 5.0 simulators. And IPhone 5 with IOS 6.1 Reporter: Scott MacKenzie Priority: Minor When HideKeyboardFormAccessoryBar is enabled and there is a textarea or text input in the area where the accessory bar was, any input in the text box will cause the app to completely stall and the text won't show up until typing has stopped. Steps to Reproduce: 1) set in config.xml: {code} preference name=HideKeyboardFormAccessoryBar value=true / {code} 2) In the included index.html of a new phonegap app add a textfield at the bottom of the screen like this: {code} div class=app h1Apache Cordova/h1 div id=deviceready class=blink p class=event listeningConnecting to Device/p p class=event receivedDevice is Ready/p /div /div !-- add this -- div style=bottom: 0; position: absolute; textarea/textarea /div {code} 3) Click on the textarea to give it focus and the keyboard will popup, start typing and you will notice that the text doesn't show up while you type and the blinking DEVICE IS READY text will stop blinking. 4) Now if we turn HideKeyboardFormAccessoryBar off, it will work fine. Also, if we raise the textfield higher by setting bottom:40px, then it will also work. I have absolutely no idea on how to work around this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3359) File.readAsArrayBuffer() is slow on iOS
[ https://issues.apache.org/jira/browse/CB-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3359: - Assignee: (was: Shazron Abdullah) File.readAsArrayBuffer() is slow on iOS --- Key: CB-3359 URL: https://issues.apache.org/jira/browse/CB-3359 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.7.0 Reporter: Daniel Haas Labels: performance Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds! Is there anything that we can do to improve performance for this? (I'm not expecting to read a 3 MB file in 10ms, but something below 0.5 seconds). If needed I could also provide a small testcase app. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3552) Change project settings at runtime
[ https://issues.apache.org/jira/browse/CB-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3552: - Assignee: (was: Shazron Abdullah) Change project settings at runtime -- Key: CB-3552 URL: https://issues.apache.org/jira/browse/CB-3552 Project: Apache Cordova Issue Type: New Feature Components: iOS Reporter: Ariel Erlijman Labels: features I think that KeyboardShrinksView and HideKeyboardFromAccesoryBar are great settings. However, as far as I understand, I set those values in the config and they are used in the app.My question is if they can be changed to true and false when app is running... and extend this feature to any other project setting -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3175) Change plugin to feature in config.xml and remove deprecation notice in iOS
[ https://issues.apache.org/jira/browse/CB-3175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678362#comment-13678362 ] Shazron Abdullah commented on CB-3175: -- plugin to feature done in 2.8.0. deprecation notice still in code, until 3.0.0 Change plugin to feature in config.xml and remove deprecation notice in iOS --- Key: CB-3175 URL: https://issues.apache.org/jira/browse/CB-3175 Project: Apache Cordova Issue Type: Sub-task Components: iOS Reporter: Filip Maj Assignee: Shazron Abdullah Fix For: 3.0.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3045) Set delay to stop audio in Media API
[ https://issues.apache.org/jira/browse/CB-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3045: - Assignee: (was: Shazron Abdullah) Set delay to stop audio in Media API Key: CB-3045 URL: https://issues.apache.org/jira/browse/CB-3045 Project: Apache Cordova Issue Type: Wish Components: iOS Affects Versions: 2.5.0 Environment: n/a Reporter: Adam Ware Priority: Minor Labels: audio, ios, media Would like to see ability to set time delay (in seconds) to stop audio play when using the Media API (for audio) - similar to number of loops currently used with IOS. This would be handy when app uses audio in the background. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3619) ./cordova/run script does not always call ./cordova/build first
[ https://issues.apache.org/jira/browse/CB-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3619: - Fix Version/s: 2.9.0 ./cordova/run script does not always call ./cordova/build first --- Key: CB-3619 URL: https://issues.apache.org/jira/browse/CB-3619 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.8.0 Environment: Mac OSX 10.7.5, XCode 4.6.2 Reporter: Filip Maj Assignee: Shazron Abdullah Fix For: 2.9.0 According to the [Command Line Tooling Design document|http://wiki.apache.org/cordova/CommandLineToolingDesign], {{run}} should always call {{build}} first. Currently, it looks like {{build}} is only called if the application has not been built. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3420) InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3420: - Fix Version/s: 2.9.0 InAppBrowser Option to Start Hidden --- Key: CB-3420 URL: https://issues.apache.org/jira/browse/CB-3420 Project: Apache Cordova Issue Type: Improvement Components: CordovaJS, mobile-spec Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor Fix For: 2.9.0 One common use-case for the InAppBrowser is to handle an OAuth flow. Some flows can be done without any user interaction, so it would be great if the InAppBrowser had an option where it would start hidden, and could later be reveals through a JS call. E.g. var iab = window.open('$OAUTH_URL', 'hidden=yes'); //some time later. iab.show(); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3420) InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3420: - Component/s: WP8 WP7 iOS BlackBerry Android InAppBrowser Option to Start Hidden --- Key: CB-3420 URL: https://issues.apache.org/jira/browse/CB-3420 Project: Apache Cordova Issue Type: Improvement Components: Android, BlackBerry, CordovaJS, iOS, mobile-spec, WP7, WP8 Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor Fix For: 2.9.0 One common use-case for the InAppBrowser is to handle an OAuth flow. Some flows can be done without any user interaction, so it would be great if the InAppBrowser had an option where it would start hidden, and could later be reveals through a JS call. E.g. var iab = window.open('$OAUTH_URL', 'hidden=yes'); //some time later. iab.show(); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3421) iOS - InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-3421. -- Resolution: Fixed iOS - InAppBrowser Option to Start Hidden - Key: CB-3421 URL: https://issues.apache.org/jira/browse/CB-3421 Project: Apache Cordova Issue Type: Sub-task Components: iOS Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3421) iOS - InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678370#comment-13678370 ] Shazron Abdullah commented on CB-3421: -- I believe this is resolved in the parent task: Commit fde980a492ae96ff11ccb77ad8b9aae3bed55322 in branch refs/heads/master from David Kemp [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=fde980a ] CB-3420: add hidden option to InAppBrowser iOS - InAppBrowser Option to Start Hidden - Key: CB-3421 URL: https://issues.apache.org/jira/browse/CB-3421 Project: Apache Cordova Issue Type: Sub-task Components: iOS Reporter: Andrew Grieve Assignee: David Kemp Priority: Minor -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3574) Unable to access keyboard after lookup in Dictionary
[ https://issues.apache.org/jira/browse/CB-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3574: - Fix Version/s: 2.9.0 Unable to access keyboard after lookup in Dictionary Key: CB-3574 URL: https://issues.apache.org/jira/browse/CB-3574 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.4.0 Reporter: Greg Assignee: Shazron Abdullah Priority: Minor Fix For: 2.9.0 After trying to define a word in a TextArea and viewing the OS Dictionary and closing it - I am unable to use the keyboard again. Steps: Pre Step: Download Untappd for iOS (http://untpd.it/iphoneapp) 1. Type a word in any text field (check in comment box is where I noticed it first) 2. Select word 3. Define word with built in iOS dictionary 4. Exit definition 5. Keyboard will no longer respond 5a. If the keyboard is exited it will never pop back up 6. To fix: go back to home screen, double-click home button, force quit Untappd, re-open Untappd Thanks, Greg -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2422) iOS 6 Facebook Linked Contact Problem.
[ https://issues.apache.org/jira/browse/CB-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-2422: Assignee: (was: Shazron Abdullah) iOS 6 Facebook Linked Contact Problem. -- Key: CB-2422 URL: https://issues.apache.org/jira/browse/CB-2422 Project: Apache Cordova Issue Type: Bug Components: iOS Environment: Present on iOS 6. I'm using Phonegap 2.2.0. Reporter: Michael Marchment Labels: contacts, facebook, ios, ios6 I've just written an app that uses the (undocumented) navigator.contacts.chooseContact, which when a contact was selected, would pull their id, displayName phoneNumbers and arrange them nicely into a table -- BUT! I started to realise that I wasn't adding every contact. console.log(contacts.length + contact(s) found); would tell me a contact was there and that there is a contact being chosen, it just (for whatever reason) chooses to ignore the phone numbers and spit out an error. If I remove for (var j=0; jcontacts[i].phoneNumbers.length; j++) { and any reference to calling, say, contactsPhoneNumber = contacts[i].phoneNumbers[j].value; and calling contactsPhoneNumber, the function will work! (Code is identical to that in the Phonegap documentation) The issue happens when a contact is automatically linked with Facebook. Facebook doesn't always syc phone numbers to the contact as some people don't put them up, but it will syc it with contacts with matching names to friends in your address book. For instance, my sister's name is Jessica in my address book but her Facebook name is Jesska so there are 2 contacts in my address book. Phonegap will only insert Jessica, not Jesska even though both have the same phone number. Using native code is not my forte, so I thought I might just bring this up here and see if people are having troubles with phone numbers when doing the same thing and perhaps someone who knows native code well could come up with a solution for the next release of Phonegap... If you follow :) Thanks all, Michael. Update: After writing all of this out and double checking to see if it worked, iOS put back in all of the facebook info. I just deleted the linked facebook contact permanently and it worked for that contact again. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2236) DebugConsole plugin.xml plugin name has a space in it
[ https://issues.apache.org/jira/browse/CB-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-2236. -- Resolution: Fixed This was removed in 2.7.0 I believe DebugConsole plugin.xml plugin name has a space in it - Key: CB-2236 URL: https://issues.apache.org/jira/browse/CB-2236 Project: Apache Cordova Issue Type: Bug Components: CordovaJS, iOS Reporter: Jesse MacFadyen Assignee: Shazron Abdullah I am attempting to use the whitelist/config.xml verbatim, however, having a space in 'Debug Console' makes the mapping difficult. I think we should change iOS-cordova-js to call exec with 'DebugConsole' instead of 'Debug Console'. In the iOS repo we should also deprecate the plugin key-name of 'Debug Console' and add 'DebugConsole' mapped to the same native functionality. ie. {code:xml} plugin name=Debug Console value=CDVDebugConsole / plugin name=DebugConsole value=CDVDebugConsole / {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3353) No Media.MEDIA_STARTING status when using media player in iOS
[ https://issues.apache.org/jira/browse/CB-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-3353: Assignee: (was: Shazron Abdullah) No Media.MEDIA_STARTING status when using media player in iOS - Key: CB-3353 URL: https://issues.apache.org/jira/browse/CB-3353 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.6.0, 2.7.0 Environment: iPhone 5 running iOS version 6.1.3 and 6.1.2 Reporter: Jeff Que After creating a media player object in iOS and calling play() method, the provided mediaStatus function never gets called with the status Media.MEDIA_STARTING. This differs from the Android functionality. The issue is in class CDVSound, method prepareToPlay:withId: does not send a notification for MEDIA_STARTING -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3303) Accessing a remote page on startup freezes the app
[ https://issues.apache.org/jira/browse/CB-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-3303: - Fix Version/s: 2.9.0 Accessing a remote page on startup freezes the app -- Key: CB-3303 URL: https://issues.apache.org/jira/browse/CB-3303 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.5.0, 2.6.0 Reporter: Laurent Perez Assignee: Shazron Abdullah Fix For: 2.9.0 Hi We are setting the src attribute of config.xml content tag to load a remote page on application startup : we simply edited the config.xml of the HelloWorld tutorial application. On iOS6, when that remote page includes cordova.js, it freezes the application. No crash log is visible under xcode. Is it possible at all to use a remote starting page ? Or is it following the W3C widgets spec where it says the src attribute must point to a local file. Thanks laurent -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2233) command line tools are not applicable for iOS devices that arch is set to armv7/armv6
[ https://issues.apache.org/jira/browse/CB-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-2233. -- Resolution: Not A Problem command line tools are not applicable for iOS devices that arch is set to armv7/armv6 - Key: CB-2233 URL: https://issues.apache.org/jira/browse/CB-2233 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.3.0 Reporter: Ray Liu Assignee: Shazron Abdullah Through version 2.0~2.3 Still and still and still that Cordova/CDVViewController.h file not found; my command is: xcodebuild -project iost.xcodeproj -target iost -configuration Release -sdk iphoneos ARCHS=armv7 clean build CONFIGURATION_BUILD_DIR=./build although works if arch set to i386. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3742) Android CLI 'serve' command fails with 'cannot call method update_project' of undefined
[ https://issues.apache.org/jira/browse/CB-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Moore updated CB-3742: -- Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). cordova --version returns 2.8.13. I have a colleague who is running macos 10.7.5 who received the same error for 'cordova serve ios' was: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). Affects Version/s: (was: 2.7.0) 2.8.0 Summary: Android CLI 'serve' command fails with 'cannot call method update_project' of undefined (was: Android CLI 'serve' command fails on CentOS 6 with 'cannot call method update_project' of undefined) Changed some version information around, and added info about a mac issue. Android CLI 'serve' command fails with 'cannot call method update_project' of undefined --- Key: CB-3742 URL: https://issues.apache.org/jira/browse/CB-3742 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). cordova --version returns 2.8.13. I have a colleague who is running macos 10.7.5 who received the same error for 'cordova serve ios' Reporter: Dan Moore Assignee: Filip Maj I've successfully installed cordova-cli (thanks for this, by the way!) and can create a project and add the android platform. These all work: 'cordova create kewlapp kewlapp' 'cordova -d platform android' 'cordova build android' The emulator works (with a started 2.3.3 emulator): 'cordova emulate android' However, when I run 'cordova serve android' I get this error: [TypeError: Cannot call method 'update_project' of undefined] 'cordova -d serve android' has the same output. From digging around in the node src, it seems that the parser created on line 125 of node_modules/cordova/src/serve.js is undefined for some reason. I can't imagine why, though I did notice that node_modules/cordova/platforms.js has the android url pointing to cordova-ios.git. Changing that to android.git didn't resolve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3742) Android CLI 'serve' command fails with 'cannot call method update_project' of undefined
[ https://issues.apache.org/jira/browse/CB-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678389#comment-13678389 ] Filip Maj commented on CB-3742: --- When you run {{cordova -v}}, what version does it say it is running? Android CLI 'serve' command fails with 'cannot call method update_project' of undefined --- Key: CB-3742 URL: https://issues.apache.org/jira/browse/CB-3742 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.8.0 Environment: I'm running 64 bit CentOS6.4 in virtual box (host system is windows 7). I'm using node 0.10.10, jdk 1.7, ant 1.8, the latest and greatest android sdk 22.0.1/version 17 of the build and platform tools). cordova --version returns 2.8.13. I have a colleague who is running macos 10.7.5 who received the same error for 'cordova serve ios' Reporter: Dan Moore Assignee: Filip Maj I've successfully installed cordova-cli (thanks for this, by the way!) and can create a project and add the android platform. These all work: 'cordova create kewlapp kewlapp' 'cordova -d platform android' 'cordova build android' The emulator works (with a started 2.3.3 emulator): 'cordova emulate android' However, when I run 'cordova serve android' I get this error: [TypeError: Cannot call method 'update_project' of undefined] 'cordova -d serve android' has the same output. From digging around in the node src, it seems that the parser created on line 125 of node_modules/cordova/src/serve.js is undefined for some reason. I can't imagine why, though I did notice that node_modules/cordova/platforms.js has the android url pointing to cordova-ios.git. Changing that to android.git didn't resolve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3604) target create script from project level to repo level
[ https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678491#comment-13678491 ] ASF subversion and git services commented on CB-3604: - Commit be2970ef6acd3742ff7f99536c2a40f766afc5ac in branch refs/heads/CB-3604 from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=be2970e ] [CB-3604] removed project level target scripts target create script from project level to repo level - Key: CB-3604 URL: https://issues.apache.org/jira/browse/CB-3604 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 as per the dev list discussion: 1. the target create script to be moved from project level to repo level 2. targets to be exposed from repo to projects created from said repo 3. project bar name to be migrated out of project.json and into config.xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3604) target create script from project level to repo level
[ https://issues.apache.org/jira/browse/CB-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678492#comment-13678492 ] ASF subversion and git services commented on CB-3604: - Commit 13891d6203ec2bff78321019bd3ea9bd1a058520 in branch refs/heads/CB-3604 from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=13891d6 ] [CB-3604] target script changed from project level to repo level script target create script from project level to repo level - Key: CB-3604 URL: https://issues.apache.org/jira/browse/CB-3604 Project: Apache Cordova Issue Type: Improvement Components: BlackBerry Reporter: Lorin Beer Assignee: Lorin Beer Fix For: 2.9.0 as per the dev list discussion: 1. the target create script to be moved from project level to repo level 2. targets to be exposed from repo to projects created from said repo 3. project bar name to be migrated out of project.json and into config.xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3005) Argument not supported if the start page URL contains argument
[ https://issues.apache.org/jira/browse/CB-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-3005: Assignee: (was: Shazron Abdullah) Argument not supported if the start page URL contains argument -- Key: CB-3005 URL: https://issues.apache.org/jira/browse/CB-3005 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.5.0 Reporter: Olivier Goguel If the startPage contains arguments (ex: index.html?env=prod), Cordova displays not found error, while it is a properly formatted URL. Tentative Fix: use relativeToURL instead of fileURLWithPath in viewDidLoad/CDDViewController.h -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3005) Argument not supported if the start page URL contains argument
[ https://issues.apache.org/jira/browse/CB-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13678519#comment-13678519 ] Shazron Abdullah commented on CB-3005: -- Please provide a working example. fileURLWithPath is the correct method to use in this case because we are loading a local URL. In any case this would be the way to do it: http://stackoverflow.com/questions/11882501/nsurl-add-parameters-to-fileurlwithpath-method But, can be error prone since we need to extract the query params out, and then add it back in. Argument not supported if the start page URL contains argument -- Key: CB-3005 URL: https://issues.apache.org/jira/browse/CB-3005 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.5.0 Reporter: Olivier Goguel Assignee: Shazron Abdullah If the startPage contains arguments (ex: index.html?env=prod), Cordova displays not found error, while it is a properly formatted URL. Tentative Fix: use relativeToURL instead of fileURLWithPath in viewDidLoad/CDDViewController.h -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3033) localStorage is not persistent between app launch.
[ https://issues.apache.org/jira/browse/CB-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-3033. -- Resolution: Not A Problem localStorage is not persistent between app launch. -- Key: CB-3033 URL: https://issues.apache.org/jira/browse/CB-3033 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Environment: iOS version 6.1.3, Simulator Reporter: Sébastien BUREL Assignee: Shazron Abdullah When i use window.localStorage the data stored are not persistent between app launch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2723) Facing deny file-write-create issue on cordova 2.1.0
[ https://issues.apache.org/jira/browse/CB-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-2723. -- Resolution: Cannot Reproduce Re-open if you can find a repro case in the latest code. Facing deny file-write-create issue on cordova 2.1.0 Key: CB-2723 URL: https://issues.apache.org/jira/browse/CB-2723 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.1.0 Environment: cordova 2.1.0, iOS 6.1, 6.0 and iOS 5.1.1 Reporter: gerrard Assignee: Shazron Abdullah I faced this issue deny file-write-create /Databases.db which occur very randomly. Once I killed the apps in background and restart the apps, it works fine again. I suspect the error happen at openDatabase part. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1499) use of camera in cordova video mode results in field of view different than in native video mode
[ https://issues.apache.org/jira/browse/CB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-1499: - Assignee: (was: Shazron Abdullah) use of camera in cordova video mode results in field of view different than in native video mode Key: CB-1499 URL: https://issues.apache.org/jira/browse/CB-1499 Project: Apache Cordova Issue Type: Bug Components: iOS Environment: iOS 5.1.1, iPhone 4 Reporter: R Li Priority: Minor Labels: newbie The video recording function requires different camera distance from object compared to native iOS camera Using: precode // capture callback var captureSuccess = function(mediaFiles) { var i, path, len; for (i = 0, len = mediaFiles.length; i len; i += 1) { var data = [ {type: mediaFiles[i].type, src: mediaFiles[i].fullPath} ]; var map = {type:type, src:src}; app.populateWidget(HTML5Video, data, map); app.setData(label, mediaFiles[i].type + :: + mediaFiles[i].fullPath); break; } }; // capture error callback var captureError = function(error) { navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); }; // start audio capture navigator.device.capture.captureVideo(captureSuccess, captureError); /code/pre records video fine on my iPhone 4 (iOS 5.1.1), except that the camera must be placed closer to the subject than when using the native video function of the iPhone. For example, when shooting a video of an object (e.g., my computer screen) that encompasses the entire viewfinder screen of the iPhone 4 in the native iPhone feature, the camera was placed about 10 inches away from the object. Using the PhoneGap:build and above code resulted in having to move the camera closer to the object (i.e., ~ 5.5-6.0 inches away) in order to have the object encompass the entire viewfinder screen. Is there a way to get the camera in the PG build to act exactly like the native function so the camera is exactly the same distance from the object? For clarification perhaps, think of the issue in the following manner: (1) using the NATIVE video mode of the camera, measure the distance the camera/phone is away from an object (e.g., your computer screen), as measured when the computer screen occupies the entire width of the phone camera screen. (2) use the Phonegap/Cordova code video mode and measure the distance the camera/phone is away from the same object (e.g., your computer screen) when the computer screen occupies the entire width of the phone camera screen. You should see a significant difference in the distance the camera/phone has to be from the object when using the 2 different iOS camera functions (i.e., native vs Cordova). **NOTE: It appears that the Cordova video camera function is using the iOS native (still picture) camera settings when trying to record a video, as opposed to using the iOS native VIDEO camera settings. I am deducing this to be the case since, when running the same distance test as outlined above I can see the same effect of different distances away from the object when testing the native iOS camera vs native iOS video toggle. That is, the native iOS camera has to be closer to the object to fill up the entire camera screen versus when using the native iOS video mode. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2396) Media api / iOs sound volume control and audio session handling
[ https://issues.apache.org/jira/browse/CB-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-2396: Assignee: (was: Shazron Abdullah) Media api / iOs sound volume control and audio session handling Key: CB-2396 URL: https://issues.apache.org/jira/browse/CB-2396 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.3.0 Environment: iOs6 cordova 2.3 Reporter: arnaud gerbert Priority: Minor Use case: An application playing sound effect on iOs (ex: click button sounds) Expected behaviour : The sound played within the application should be changed when the iphone volume down button is pressed. Constated behaviour : If a sound is playing when the volume button is pressed, the sound of the application is changed. If no sound is playing when the volume button is pressed, the sound of the application is not changed (instead the ringtone volume is updated). Explanation : Each time a sound is stopped, the audio session is stopped ([self.avSession setActive:NO error:nil]). If no sound is playing, iphone volume button is controlling ringtone volume instead of application volume. Temporary fix: Remove all occurences of [self.avSession setActive:NO error:nil] in CDVSound.m and handle myself a global audio session for the whole application. Another fix could be to play continually blank sound Conclusion: I think the media API should add a way to handle the media sessions as a whole -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1544) Support custom label on contact phone number
[ https://issues.apache.org/jira/browse/CB-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-1544: - Assignee: (was: Shazron Abdullah) Support custom label on contact phone number Key: CB-1544 URL: https://issues.apache.org/jira/browse/CB-1544 Project: Apache Cordova Issue Type: Improvement Components: iOS Reporter: Stefan Janson Priority: Minor If I try to save a custom label with PhoneGap, it is saved as other. Would be nice if the entered value actually was saved. Have checked iOS API and apps using this and it should be doable, or is the problem in phonegap-code? I have not coded anything in COcoa but found this link that should be related I guess. http://stackoverflow.com/questions/2675783/how-to-add-a-custom-label-to-iphone-addressbook-programmaticly Last time I requested this, my issue was closed since it could not be done but no reason was given, think it got confues with Android. This improvement request is for iOS. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2090) Camera/Video toggle API
[ https://issues.apache.org/jira/browse/CB-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2090: - Component/s: Plugin Camera Camera/Video toggle API --- Key: CB-2090 URL: https://issues.apache.org/jira/browse/CB-2090 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin Camera Affects Versions: 2.2.0 Environment: Mac OS X, Aptana Studio 3 Reporter: Nuthan Santharam Priority: Minor Labels: audit, newbie Original Estimate: 504h Remaining Estimate: 504h None of the phonegap Media API give access to toggle between camera and video in the same API callback, like the native. Can we have phonegap Toggle media API in future releases. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-2396) Media api / iOs sound volume control and audio session handling
[ https://issues.apache.org/jira/browse/CB-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-2396: - Component/s: Plugin Media Media api / iOs sound volume control and audio session handling Key: CB-2396 URL: https://issues.apache.org/jira/browse/CB-2396 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Media Affects Versions: 2.3.0 Environment: iOs6 cordova 2.3 Reporter: arnaud gerbert Priority: Minor Use case: An application playing sound effect on iOs (ex: click button sounds) Expected behaviour : The sound played within the application should be changed when the iphone volume down button is pressed. Constated behaviour : If a sound is playing when the volume button is pressed, the sound of the application is changed. If no sound is playing when the volume button is pressed, the sound of the application is not changed (instead the ringtone volume is updated). Explanation : Each time a sound is stopped, the audio session is stopped ([self.avSession setActive:NO error:nil]). If no sound is playing, iphone volume button is controlling ringtone volume instead of application volume. Temporary fix: Remove all occurences of [self.avSession setActive:NO error:nil] in CDVSound.m and handle myself a global audio session for the whole application. Another fix could be to play continually blank sound Conclusion: I think the media API should add a way to handle the media sessions as a whole -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2090) Camera/Video toggle API
[ https://issues.apache.org/jira/browse/CB-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-2090: Assignee: (was: Shazron Abdullah) Camera/Video toggle API --- Key: CB-2090 URL: https://issues.apache.org/jira/browse/CB-2090 Project: Apache Cordova Issue Type: Improvement Components: iOS Affects Versions: 2.2.0 Environment: Mac OS X, Aptana Studio 3 Reporter: Nuthan Santharam Priority: Minor Labels: audit, newbie Original Estimate: 504h Remaining Estimate: 504h None of the phonegap Media API give access to toggle between camera and video in the same API callback, like the native. Can we have phonegap Toggle media API in future releases. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1499) use of camera in cordova video mode results in field of view different than in native video mode
[ https://issues.apache.org/jira/browse/CB-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-1499: - Component/s: Plugin Camera use of camera in cordova video mode results in field of view different than in native video mode Key: CB-1499 URL: https://issues.apache.org/jira/browse/CB-1499 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Camera Environment: iOS 5.1.1, iPhone 4 Reporter: R Li Priority: Minor Labels: newbie The video recording function requires different camera distance from object compared to native iOS camera Using: precode // capture callback var captureSuccess = function(mediaFiles) { var i, path, len; for (i = 0, len = mediaFiles.length; i len; i += 1) { var data = [ {type: mediaFiles[i].type, src: mediaFiles[i].fullPath} ]; var map = {type:type, src:src}; app.populateWidget(HTML5Video, data, map); app.setData(label, mediaFiles[i].type + :: + mediaFiles[i].fullPath); break; } }; // capture error callback var captureError = function(error) { navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); }; // start audio capture navigator.device.capture.captureVideo(captureSuccess, captureError); /code/pre records video fine on my iPhone 4 (iOS 5.1.1), except that the camera must be placed closer to the subject than when using the native video function of the iPhone. For example, when shooting a video of an object (e.g., my computer screen) that encompasses the entire viewfinder screen of the iPhone 4 in the native iPhone feature, the camera was placed about 10 inches away from the object. Using the PhoneGap:build and above code resulted in having to move the camera closer to the object (i.e., ~ 5.5-6.0 inches away) in order to have the object encompass the entire viewfinder screen. Is there a way to get the camera in the PG build to act exactly like the native function so the camera is exactly the same distance from the object? For clarification perhaps, think of the issue in the following manner: (1) using the NATIVE video mode of the camera, measure the distance the camera/phone is away from an object (e.g., your computer screen), as measured when the computer screen occupies the entire width of the phone camera screen. (2) use the Phonegap/Cordova code video mode and measure the distance the camera/phone is away from the same object (e.g., your computer screen) when the computer screen occupies the entire width of the phone camera screen. You should see a significant difference in the distance the camera/phone has to be from the object when using the 2 different iOS camera functions (i.e., native vs Cordova). **NOTE: It appears that the Cordova video camera function is using the iOS native (still picture) camera settings when trying to record a video, as opposed to using the iOS native VIDEO camera settings. I am deducing this to be the case since, when running the same distance test as outlined above I can see the same effect of different distances away from the object when testing the native iOS camera vs native iOS video toggle. That is, the native iOS camera has to be closer to the object to fill up the entire camera screen versus when using the native iOS video mode. Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3019) SECURITY_ERR:DOM Exception 18 on iOS 5 version.
[ https://issues.apache.org/jira/browse/CB-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-3019. -- Resolution: Cannot Reproduce Re-open if there is a clear repro. I think this has been fixed (related to the viewcontroller) SECURITY_ERR:DOM Exception 18 on iOS 5 version. --- Key: CB-3019 URL: https://issues.apache.org/jira/browse/CB-3019 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 1.9.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0 Environment: iOS version 5. Reporter: Parmod Kumar Assignee: Shazron Abdullah Priority: Minor After sending the mail using emailComposer plugin SECURITY_ERR:DOM Exception 18 is occur when user make some database transaction.This Exception is only arise on iOS version 5. Before this scenerio the database works fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-2397) iOS: Enable non-URI startPages with small refactoring
[ https://issues.apache.org/jira/browse/CB-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-2397: Assignee: (was: Shazron Abdullah) iOS: Enable non-URI startPages with small refactoring - Key: CB-2397 URL: https://issues.apache.org/jira/browse/CB-2397 Project: Apache Cordova Issue Type: Improvement Components: iOS Affects Versions: 2.4.0 Reporter: Christoph Jerolimov Priority: Minor Method {{CDVViewController viewDidLoad}} is really long and not extendable. At the beginning of this method the property {{startPage}} was transferred into an {{appURL}} or an {{loadErr}}. Used at the very very end of this more than 100 lines of code. To allow apps to extend the {{CDVViewController}} and load other content than a simple URL please externalize the start code to something like {{startRequest}}. No error handling, esp. no filesystem checks are needed here. If it's required to show an file not found error it's better to implement this in the {{webView:didFailLoadWithError:}} webview delegate callback. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[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: - Summary: add a ./bin/check_reqs script to OS X (was: add a ./bin/check_reqs script to Mac) 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: Sub-task Components: OSX Reporter: Filip Maj Assignee: Shazron Abdullah Fix For: 2.9.0 Add a script to check if the machine supports creating/running/compiling cordova-osx projects. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3736) navigator.globalization.getDatePattern always returns dd/MM/yyyy HH:mm
[ https://issues.apache.org/jira/browse/CB-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-3736. Resolution: Fixed Yeah, this was reproducible because the JSON parsing of the options was broken. After a quick cleanup, things appear to be working on this end. navigator.globalization.getDatePattern always returns dd/MM/ HH:mm Key: CB-3736 URL: https://issues.apache.org/jira/browse/CB-3736 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Test device version: 4.2.1 Reporter: Jamie Clarke Assignee: Joe Bowser Using the snippet from the cordova documentation the result is always dd/MM/ HH:mm no matter what options are provided. In comparison dateToString works fine. Snippet: {code:javascript} navigator.globalization.getDatePattern( function (date) {alert('pattern: ' + date.pattern + '\n');}, function () {alert('Error getting pattern\n');}, {formatLength:'short', selector:'date'} ); {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira