[jira] [Commented] (CB-8947) alert() crashes when passing a JSON object on iOS
[ https://issues.apache.org/jira/browse/CB-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15398052#comment-15398052 ] Don Coleman commented on CB-8947: - Fix: https://github.com/apache/cordova-plugin-dialogs/pull/80 > alert() crashes when passing a JSON object on iOS > - > > Key: CB-8947 > URL: https://issues.apache.org/jira/browse/CB-8947 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Dialogs >Affects Versions: 4.0.0 > Environment: Notifications Plugin version 0.3.0 >Reporter: Dennis Patzer >Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > In the error handler of a geolocation retrieval I had alert(error); which > crashes, because I passed an object into the function call. This shouldn't > happen. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Issue Comment Deleted] (CB-8947) alert() crashes when passing a JSON object on iOS
[ https://issues.apache.org/jira/browse/CB-8947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-8947: Comment: was deleted (was: Fix: https://github.com/apache/cordova-plugin-dialogs/pull/80) > alert() crashes when passing a JSON object on iOS > - > > Key: CB-8947 > URL: https://issues.apache.org/jira/browse/CB-8947 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Dialogs >Affects Versions: 4.0.0 > Environment: Notifications Plugin version 0.3.0 >Reporter: Dennis Patzer >Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > In the error handler of a geolocation retrieval I had alert(error); which > crashes, because I passed an object into the function call. This shouldn't > happen. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11635) Passing object to navigator.notification.alert crashes iOS app
[ https://issues.apache.org/jira/browse/CB-11635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-11635: - Description: Create new project {noformat} $ cordova create foo $ cd foo $ cordova plugin add cordova-plugin-dialogs $ cordova platform add ios {noformat} Edit www/js/index.js and replace onDeviceReady with {code:title=www/js/index.js} onDeviceReady: function() { app.receivedEvent('deviceready'); // this crashes the app on iOS var dictionary = { error: 'notification plugin is expecting a string'}; navigator.notification.alert(dictionary); }, {code} Run the app {noformat} $ cordova run ios {noformat} RESULT: This crashed the app on a device and on the simulator EXPECTED RESULT: String or \[Object object\] in the dialog box or perhaps an error {noformat} $ cordova -v 6.3.0 $ cordova platform ls Installed platforms: ios 4.2.0 $ cordova plugin list cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-whitelist 1.2.2 "Whitelist" {noformat} was: Create new project $ cordova create foo $ cd foo $ cordova plugin add cordova-plugin-dialogs $ cordova platform add ios Edit www/js/index.js and replace onDeviceReady with onDeviceReady: function() { app.receivedEvent('deviceready'); // this crashes the app on iOS var dictionary = { error: 'notification plugin is expecting a string'}; navigator.notification.alert(dictionary); }, Run the app $ cordova run ios RESULT: This crashed the app on a device and on the simulator EXPECTED RESULT: String or [Object object] in the dialog box or some error $ cordova -v 6.3.0 $ cordova platform ls Installed platforms: ios 4.2.0 $ cordova plugin list cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-whitelist 1.2.2 "Whitelist" > Passing object to navigator.notification.alert crashes iOS app > -- > > Key: CB-11635 > URL: https://issues.apache.org/jira/browse/CB-11635 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Dialogs >Affects Versions: 6.3.0 >Reporter: Don Coleman > > Create new project > {noformat} > $ cordova create foo > $ cd foo > $ cordova plugin add cordova-plugin-dialogs > $ cordova platform add ios > {noformat} > Edit www/js/index.js and replace onDeviceReady with > {code:title=www/js/index.js} > onDeviceReady: function() { > app.receivedEvent('deviceready'); > // this crashes the app on iOS > var dictionary = { error: 'notification plugin is expecting a > string'}; > navigator.notification.alert(dictionary); > }, > {code} > Run the app > {noformat} > $ cordova run ios > {noformat} > RESULT: This crashed the app on a device and on the simulator > EXPECTED RESULT: String or \[Object object\] in the dialog box or perhaps an > error > {noformat} > $ cordova -v > 6.3.0 > $ cordova platform ls > Installed platforms: > ios 4.2.0 > $ cordova plugin list > cordova-plugin-dialogs 1.2.1 "Notification" > cordova-plugin-whitelist 1.2.2 "Whitelist" > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-11635) Passing object to navigator.notification.alert crashes iOS app
[ https://issues.apache.org/jira/browse/CB-11635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-11635: - Description: Create new project $ cordova create foo $ cd foo $ cordova plugin add cordova-plugin-dialogs $ cordova platform add ios Edit www/js/index.js and replace onDeviceReady with onDeviceReady: function() { app.receivedEvent('deviceready'); // this crashes the app on iOS var dictionary = { error: 'notification plugin is expecting a string'}; navigator.notification.alert(dictionary); }, Run the app $ cordova run ios RESULT: This crashed the app on a device and on the simulator EXPECTED RESULT: String or [Object object] in the dialog box or some error $ cordova -v 6.3.0 $ cordova platform ls Installed platforms: ios 4.2.0 $ cordova plugin list cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-whitelist 1.2.2 "Whitelist" > Passing object to navigator.notification.alert crashes iOS app > -- > > Key: CB-11635 > URL: https://issues.apache.org/jira/browse/CB-11635 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Dialogs >Affects Versions: 6.3.0 >Reporter: Don Coleman > > Create new project > $ cordova create foo > $ cd foo > $ cordova plugin add cordova-plugin-dialogs > $ cordova platform add ios > Edit www/js/index.js and replace onDeviceReady with > onDeviceReady: function() { > app.receivedEvent('deviceready'); > // this crashes the app on iOS > var dictionary = { error: 'notification plugin is expecting a > string'}; > navigator.notification.alert(dictionary); > }, > Run the app > $ cordova run ios > RESULT: This crashed the app on a device and on the simulator > EXPECTED RESULT: String or [Object object] in the dialog box or some error > $ cordova -v > 6.3.0 > $ cordova platform ls > Installed platforms: > ios 4.2.0 > $ cordova plugin list > cordova-plugin-dialogs 1.2.1 "Notification" > cordova-plugin-whitelist 1.2.2 "Whitelist" -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-11635) Passing object to navigator.notification.alert crashes iOS app
Don Coleman created CB-11635: Summary: Passing object to navigator.notification.alert crashes iOS app Key: CB-11635 URL: https://issues.apache.org/jira/browse/CB-11635 Project: Apache Cordova Issue Type: Bug Components: Plugin Dialogs Affects Versions: 6.3.0 Reporter: Don Coleman -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-5256) android create script skips batch files on OS X
Don Coleman created CB-5256: --- Summary: android create script skips batch files on OS X Key: CB-5256 URL: https://issues.apache.org/jira/browse/CB-5256 Project: Apache Cordova Issue Type: Bug Components: Android, CLI Affects Versions: 3.1.0 Reporter: Don Coleman Priority: Minor For cordova 3.1.0-0.2.0 cordova platform add android doesn't add platforms/android/cordova/*.bat files on OS X. Obviously I don't need the bat files on OS X but it causes cordova run android to fail when the project is checked out on windows. Removing and re-adding the platform on windows fixed the issue for a sample project, but in many cases the generated project contains modification so this is not a good solution. I'd prefer if OS X added the bat files the way Windows adds the shell scripts. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-4661) Vibrate Permission missing for Android in cordova-plugin-vibration
Don Coleman created CB-4661: --- Summary: Vibrate Permission missing for Android in cordova-plugin-vibration Key: CB-4661 URL: https://issues.apache.org/jira/browse/CB-4661 Project: Apache Cordova Issue Type: Bug Components: Plugin Vibration Reporter: Don Coleman Assignee: Steve Gill android.permission.VIBRATE missing for Android (in dd69d806968b6362ed95b3f2ad2bce92041af67b) -- 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-4661) Vibrate Permission missing for Android in cordova-plugin-vibration
[ https://issues.apache.org/jira/browse/CB-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman reassigned CB-4661: --- Assignee: Don Coleman (was: Steve Gill) Vibrate Permission missing for Android in cordova-plugin-vibration -- Key: CB-4661 URL: https://issues.apache.org/jira/browse/CB-4661 Project: Apache Cordova Issue Type: Bug Components: Plugin Vibration Reporter: Don Coleman Assignee: Don Coleman android.permission.VIBRATE missing for Android (in dd69d806968b6362ed95b3f2ad2bce92041af67b) -- 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-4661) Vibrate Permission missing for Android in cordova-plugin-vibration
[ https://issues.apache.org/jira/browse/CB-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman resolved CB-4661. - Resolution: Fixed Fix Version/s: Master Vibrate Permission missing for Android in cordova-plugin-vibration -- Key: CB-4661 URL: https://issues.apache.org/jira/browse/CB-4661 Project: Apache Cordova Issue Type: Bug Components: Plugin Vibration Reporter: Don Coleman Assignee: Don Coleman Fix For: Master android.permission.VIBRATE missing for Android (in dd69d806968b6362ed95b3f2ad2bce92041af67b) -- 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-4343) platform add balks when project name includes space characters
[ https://issues.apache.org/jira/browse/CB-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13715440#comment-13715440 ] Don Coleman commented on CB-4343: - See https://issues.apache.org/jira/browse/CB-4198 and https://github.com/phonegap/phonegap/pull/39 for Android on OS X platform add balks when project name includes space characters -- Key: CB-4343 URL: https://issues.apache.org/jira/browse/CB-4343 Project: Apache Cordova Issue Type: Bug Components: Android, BlackBerry, CLI Affects Versions: 3.0.0 Environment: Mac Reporter: Mike Sierra Assignee: Lorin Beer Priority: Minor Reproduced for blackberry10 android. Testing against CLI doc, which specifies a project name of Hello World. Errors appended, which also note don't tell you the source of the problem. But the workaround is to remove the space character from the www/config.xml file's name tag. Ulothrix:hello sierra$ cordova platform add blackberry10 [Error: An error occured during creation of blackberry10 sub-project. BAR filename can only contain alpha-numeric, '.', '-' and '_' characters Usage: create project path [package name [BAR filename]] Options: -h, --help output usage information ] -- 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-3998) Video Capture ignores duration option
[ https://issues.apache.org/jira/browse/CB-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-3998: Fix Version/s: (was: 2.9.0) Video Capture ignores duration option - Key: CB-3998 URL: https://issues.apache.org/jira/browse/CB-3998 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on Android -- 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-3999) Video Capture ignores duration option [iOS]
[ https://issues.apache.org/jira/browse/CB-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13693239#comment-13693239 ] Don Coleman commented on CB-3999: - updated docs https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=commit;h=ce225fd342424808266ca60f7de8188fd02bc950 Video Capture ignores duration option [iOS] --- Key: CB-3999 URL: https://issues.apache.org/jira/browse/CB-3999 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin Media Capture Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on 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] [Resolved] (CB-3999) Video Capture ignores duration option [iOS]
[ https://issues.apache.org/jira/browse/CB-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman resolved CB-3999. - Resolution: Fixed Fix Version/s: 2.9.0 Video Capture ignores duration option [iOS] --- Key: CB-3999 URL: https://issues.apache.org/jira/browse/CB-3999 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin Media Capture Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Fix For: 2.9.0 Video Capture ignores duration option on 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] [Resolved] (CB-3998) Video Capture ignores duration option
[ https://issues.apache.org/jira/browse/CB-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman resolved CB-3998. - Resolution: Fixed Fix Version/s: 2.9.0 Video Capture ignores duration option - Key: CB-3998 URL: https://issues.apache.org/jira/browse/CB-3998 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Fix For: 2.9.0 Video Capture ignores duration option on Android -- 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-3998) Video Capture ignores duration option
Don Coleman created CB-3998: --- Summary: Video Capture ignores duration option Key: CB-3998 URL: https://issues.apache.org/jira/browse/CB-3998 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on Android -- 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-3998) Video Capture ignores duration option
[ https://issues.apache.org/jira/browse/CB-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13692735#comment-13692735 ] Don Coleman commented on CB-3998: - Project to demonstrate bug https://github.com/don/cordova-video-duration Proposed fix https://github.com/don/cordova-android/tree/CB-3998 I asked Joe Bowser to review before I commit Video Capture ignores duration option - Key: CB-3998 URL: https://issues.apache.org/jira/browse/CB-3998 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on Android -- 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-3999) Video Capture ignores duration option [iOS]
[ https://issues.apache.org/jira/browse/CB-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-3999: Component/s: (was: Android) iOS Description: Video Capture ignores duration option on iOS was: Video Capture ignores duration option on Android Video Capture ignores duration option [iOS] --- Key: CB-3999 URL: https://issues.apache.org/jira/browse/CB-3999 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on 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] [Created] (CB-3999) Video Capture ignores duration option [iOS]
Don Coleman created CB-3999: --- Summary: Video Capture ignores duration option [iOS] Key: CB-3999 URL: https://issues.apache.org/jira/browse/CB-3999 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on Android -- 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-3999) Video Capture ignores duration option [iOS]
[ https://issues.apache.org/jira/browse/CB-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13692771#comment-13692771 ] Don Coleman commented on CB-3999: - Uncommenting old code in CDVCapture fixes duration for iOS 6 waiting to test on iOS 5 before merging Video Capture ignores duration option [iOS] --- Key: CB-3999 URL: https://issues.apache.org/jira/browse/CB-3999 Project: Apache Cordova Issue Type: Improvement Components: iOS, Plugin Media Capture Affects Versions: 2.9.0 Reporter: Don Coleman Assignee: Don Coleman Video Capture ignores duration option on 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] [Created] (CB-3556) cordova-cli emulate deletes plugin's javascript
Don Coleman created CB-3556: --- Summary: cordova-cli emulate deletes plugin's javascript Key: CB-3556 URL: https://issues.apache.org/jira/browse/CB-3556 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.7.0 Reporter: Don Coleman Assignee: Filip Maj cordova-cli 2.7.4 is deleting the javascript files for plugins when I run cordova emulate with Android. Anyone have ideas about how to track this down and fix it? It's pretty easy to duplicate $ git clone https://github.com/don/FileOpener.git $ cordova create foo $ cd foo $ cordova platform add android $ cordova plugin add ../FileOpener $ cordova build $ ls platforms/android/assets/www/js/ fileopener.js index.js fileopener.js exists $ cordova emulate $ ls platforms/android/assets/www/js/ index.js fileopener.js was deleted -- 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