[jira] [Created] (CB-5523) Documentation: In-page anchors do not work
Gabriel Schulhof created CB-5523: Summary: Documentation: In-page anchors do not work Key: CB-5523 URL: https://issues.apache.org/jira/browse/CB-5523 Project: Apache Cordova Issue Type: Bug Reporter: Gabriel Schulhof 0. Go to cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html 1. Click on Contact (the link that will take you to the documentation for the Contact object) 2. Click the browser's Back button At this point, you'd expect that the browser would jump back to the top of the page. Instead, the history entry in the location bar changes, but the page does not jump to the top. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (CB-5456) Cross domain policy does not seem to transfer down to WP8
[ https://issues.apache.org/jira/browse/CB-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836475#comment-13836475 ] James J Nadeau edited comment on CB-5456 at 12/2/13 12:50 PM: -- This issue trickled down to a jQuery Mobile issue that I hope spreads more light on what the problem may be in WP8: https://github.com/jquery/jquery-mobile/issues/6574#issuecomment-29596800 at the very least I hope it provides someone with a test case or a solution :) was (Author: jamesjnadeau): This issue tricked down to a jQuery Mobile issue that I hope spreads more light on what the problem may be in WP8: https://github.com/jquery/jquery-mobile/issues/6574#issuecomment-29596800 Cross domain policy does not seem to transfer down to WP8 - Key: CB-5456 URL: https://issues.apache.org/jira/browse/CB-5456 Project: Apache Cordova Issue Type: Bug Components: Windows 8 Affects Versions: 3.1.0 Environment: I used phonegap cloud build Reporter: Aras Assignee: Jesse MacFadyen Priority: Minor Labels: newbie Original Estimate: 3h Remaining Estimate: 3h Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I *think* the windows apps are fed to a monster called silver something and it seems to require a lot of BS. It looks like the silver monster needs something like this inside the AppManifest.xaml: codeDeployment xmlns=http://schemas.microsoft.com/client/2007/deployment; ExternalCallersFromCrossDomain=CrossDomainAccess ...//code I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5456) Cross domain policy does not seem to transfer down to WP8
[ https://issues.apache.org/jira/browse/CB-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836475#comment-13836475 ] James J Nadeau commented on CB-5456: This issue tricked down to a jQuery Mobile issue that I hope spreads more light on what the problem may be in WP8: https://github.com/jquery/jquery-mobile/issues/6574#issuecomment-29596800 Cross domain policy does not seem to transfer down to WP8 - Key: CB-5456 URL: https://issues.apache.org/jira/browse/CB-5456 Project: Apache Cordova Issue Type: Bug Components: Windows 8 Affects Versions: 3.1.0 Environment: I used phonegap cloud build Reporter: Aras Assignee: Jesse MacFadyen Priority: Minor Labels: newbie Original Estimate: 3h Remaining Estimate: 3h Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I *think* the windows apps are fed to a monster called silver something and it seems to require a lot of BS. It looks like the silver monster needs something like this inside the AppManifest.xaml: codeDeployment xmlns=http://schemas.microsoft.com/client/2007/deployment; ExternalCallersFromCrossDomain=CrossDomainAccess ...//code I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5524) Cordova 1.3.0 download link does not work
Bora Gunes Dogan created CB-5524: Summary: Cordova 1.3.0 download link does not work Key: CB-5524 URL: https://issues.apache.org/jira/browse/CB-5524 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Bora Gunes Dogan Priority: Blocker Cordova download link on home page http://cordova.apache.org/#download has the following URL: https://www.apache.org/dist/cordova/cordova-3.1.0-src.zip . The link does not work. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5524) Cordova 3.1.0 download link does not work
[ https://issues.apache.org/jira/browse/CB-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bora Gunes Dogan updated CB-5524: - Summary: Cordova 3.1.0 download link does not work (was: Cordova 1.3.0 download link does not work) Cordova 3.1.0 download link does not work - Key: CB-5524 URL: https://issues.apache.org/jira/browse/CB-5524 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Bora Gunes Dogan Priority: Blocker Cordova download link on home page http://cordova.apache.org/#download has the following URL: https://www.apache.org/dist/cordova/cordova-3.1.0-src.zip . The link does not work. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Closed] (CB-5389) Status Bar plugin issues with orientation
[ https://issues.apache.org/jira/browse/CB-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Hartington closed CB-5389. --- Status Bar plugin issues with orientation - Key: CB-5389 URL: https://issues.apache.org/jira/browse/CB-5389 Project: Apache Cordova Issue Type: Bug Components: Plugins Affects Versions: 3.1.0 Environment: Ios Reporter: Mike Hartington Assignee: Shazron Abdullah Labels: ios, javascript, objective-c, statusbar-plugin Fix For: 3.3.0 When I try to hide the Status Bar on iOS when my device is in landscape, the entire app's width shrinks to what is about the devices width would be if portrait. So if my iPad is in landscape and I hide the status bar, the app will just scale to about 768px. I tried removing my apps javascript, ran the app again, and used Safaris Web Inspect Console to see if I had an error in my javascript, but had the same issue. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3208) contacts
[ https://issues.apache.org/jira/browse/CB-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836513#comment-13836513 ] Piotr Zalewa commented on CB-3208: -- Documentation for enabling Contacts API on FxOS https://github.com/zalun/cordova-docs/commit/f39057c8945201ceb15ea6b3c3987e2a75260281 contacts Key: CB-3208 URL: https://issues.apache.org/jira/browse/CB-3208 Project: Apache Cordova Issue Type: Sub-task Components: FirefoxOS Affects Versions: 2.6.0 Reporter: Herm Wong Assignee: Herm Wong Fix For: 3.3.0 Contacts API spec: https://wiki.mozilla.org/WebAPI/ContactsAPI -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5525) WP8. Contacts Api fails in case of there is special character in contact field
Sergey Grebnov created CB-5525: -- Summary: WP8. Contacts Api fails in case of there is special character in contact field Key: CB-5525 URL: https://issues.apache.org/jira/browse/CB-5525 Project: Apache Cordova Issue Type: Bug Components: Plugin Contacts, WP8 Affects Versions: 3.2.0 Reporter: Sergey Grebnov Assignee: Sergey Grebnov Repro steps 1. Add (double quote) character to some contact notes 2. Run mobile spec unit tests for contacts api 3. Expected: contacts.spec.3 success callback should be called with an array test is passed 4. Actual: there is exception when calling this.webBrowser.InvokeScript(script.ScriptName, script.Args) due to contact notes contains not escaped character so resultant JSON is malformed. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836533#comment-13836533 ] Andrew Grieve commented on CB-5504: --- What do you mean about putting it in core Events? Maybe - have core cordova check if the user has added the permission to their manifest, and if so, have core cordova listen forward the event to JS? Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Issue Comment Deleted] (CB-5248) Adding additional arguments for 'cordova create' will break your project
[ https://issues.apache.org/jira/browse/CB-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JennyGee updated CB-5248: - Comment: was deleted (was: I'll be OoO on Nov 28 to Dec 1 and will be back in the office on Monday. I will respond to emails then - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ) Adding additional arguments for 'cordova create' will break your project Key: CB-5248 URL: https://issues.apache.org/jira/browse/CB-5248 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.1.0 Reporter: JennyGee Priority: Minor Fix For: 3.3.0 According to the help docs cordova has the following for create: create PATH [ID] [NAME] where ID and NAME are optional. When you add an additional parameter after NAME, you get a error stating that it doesn't understand the last parameter. On the other hand the cordova project appears to be created properly. But when you have a look at the actual project, it's actually broken: myMachine:cordovaTest jgee$ cordova create newDir newPackage app1 app2 Creating a new cordova project with name app1 and id newPackage at location ../cordovaTest/newDir [TypeError: Object.keys called on non-object] myMachine:cordovaTest jgee$ cd newDir/ ci003068684:newDir jgee$ ls mergesplatforms plugins www myMachine:newDir jgee$ cordova info { [Error: ENOENT, no such file or directory '..cordovaTest/newDir/www/config.xml'] errno: 34, code: 'ENOENT', path: '..cordova/newDir/www/config.xml', syscall: 'open' } -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5526) Keycodes not getting identified and throws error on Android KitKat
Deep Singh created CB-5526: -- Summary: Keycodes not getting identified and throws error on Android KitKat Key: CB-5526 URL: https://issues.apache.org/jira/browse/CB-5526 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0 Environment: Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 I have created a sample with Cordova 3.1.0 and issue is still there. Reporter: Deep Singh Priority: Blocker Fix For: 2.0.0 Hi There - I got Google Nexus 5 phone today and tried to test my app on it. Most of the parts work fine but I get following error very frequently. And few parts are not working at all. Any idea what this error means? I searched internet but only found that Google has changed webkit to chromium. Can you provide more details on it or any solution? I have been talking phonegap (cordova) support and they confirmed it is an issue and I have to log defect here. 11-21 14:49:39.256: E/chromium(5721): [ERROR:aw_autofill_manager_delegate.cc(144)] Not implemented reached in virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues(const std::vector , const std::vector ) I have a custom method created by me for converting user entered values to currency format. And the above problem is happening all the time when I press delete button from keypad. Here is the code: function CurrencyFormatter(object, e, maxLength) { try { //alert(e.keyCode); var val = $.trim(object.value); var len = val.length + 1; var char = String.fromCharCode(e.keyCode); var pattern = new RegExp(/^[0-9]+$/); //console.log(char: + char); //console.log(pattern.test(char)); //console.log(pattern.test(new String(char))); if(len = maxLength pattern.test(char)) { //console.log(val); if(val == '0'){ if (val.length 0 val.length 11) val = val + char; } else if (val.length 11) val = val + char; object.value = formatCurrency(val, add); } else if(e.keyCode == 8) { //var numBox = document.getElementById('numBox'); if(val.length 0){ //pennies = pennies.substring(0, pennies.length - 1); object.value = formatCurrency(val, del); } } e.preventDefault(); return false; } catch (ex) { console.log(ex); } } function formatCurrency(amount, type) { var i = parseFloat(amount); var i2; //console.log(1: + i); if(isNaN(i)) { i = 0.00; } if(type == add) { i = Math.round(i * 1000); //console.log(1.5: + i); i = i / 100; //console.log(3: + i); } else if(type == del) { i = parseInt(i * 100); //console.log(2: + i); sub = new String(i); //console.log(sub1: + sub); sub = sub.substring(0, sub.length - 1) ; sub = sub == ? 0:sub; //console.log(sub2: + sub); i = parseFloat(sub); //console.log(del: + i); i = i / 100; //console.log(3: + i); } s = new String(i); if(s.indexOf('.') 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } //console.log(4: + s); return s; } The crash errors will not be on phone screen. The sample I have provided should work to enter just numbers and format it to currency. No special characters should be allowed. If you can enter special characters then the issue is there. Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 Will be waiting for your reply on this as we can't certify our app on Android 4.4 -Deep -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5481) When embedding the Cordova WebView in an Android application using packageNameSuffix in build.gradle breaks PluginManager
[ https://issues.apache.org/jira/browse/CB-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836619#comment-13836619 ] Andrew Grieve commented on CB-5481: --- This was broken by CB-5080 so that it would work with `aapt's --rename-manifest-package`. https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blobdiff;f=framework/src/org/apache/cordova/PluginManager.java;h=5249f5041d1cd1cd10f4f235a32fc4c0d1140504;hp=2db9d56e7d278e27124d21e11f961fc1adc35417;hb=93b9b53;hpb=edb35b5a6d13159c69e1fc75ddbf8a149df6498e I don't really understand what's going on with these tools, but maybe the thing to do is to try both paths? When embedding the Cordova WebView in an Android application using packageNameSuffix in build.gradle breaks PluginManager - Key: CB-5481 URL: https://issues.apache.org/jira/browse/CB-5481 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.2.0 Environment: Android application that uses the Google-recommended gradle build system and embeds the Cordova WebView Reporter: Martin Schuerrer Original Estimate: 0.5h Remaining Estimate: 0.5h {{org.apache.cordova.PluginManager#loadPlugins()}} should use {{int id = this.ctx.getActivity().getResources().getIdentifier(config, xml, this.ctx.getActivity().getPackageName());}} instead of {{int id = this.ctx.getActivity().getResources().getIdentifier(config, xml, this.ctx.getActivity().getClass().getPackage().getName());}} in order to get the correct package name to find {{config.xml}} even if {{packageNameSuffix}} is used in {{build.gradle}} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5314) View Bounds incorrect for iOS7 on iPad Simulator
[ https://issues.apache.org/jira/browse/CB-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836628#comment-13836628 ] Andrew Grieve commented on CB-5314: --- How are you measuring the view boundary? window.screen? body.offsetWidth? View Bounds incorrect for iOS7 on iPad Simulator Key: CB-5314 URL: https://issues.apache.org/jira/browse/CB-5314 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.1.0 Reporter: Andrew H Fix For: 3.3.0 When running my project (recently ported to cordova 3.1), the view boundary in the ipad simulator is reported to be 1216x1568 instead of 768x1024 when I target iOS 7. This causes my html to render off of the screen. I was able to correct by setting webView.frame dimensions equal to the mainScreen bounds in the viewWillAppear event handler in my MainViewController. However, I feel that this is a hack that may be overriding work that cordova is doing behind the scenes. I am not able to test on a physical device. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5314) View Bounds incorrect for iOS7 on iPad Simulator
[ https://issues.apache.org/jira/browse/CB-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836639#comment-13836639 ] Andrew H commented on CB-5314: -- Besides just using Safari to inspect my body tag and see that the computed with was too large, I also did the following test: In the initialization routine, I set self.startPage=@http://ryanve.com/lab/dimensions/;. That site uses several methods to check the screen width and display them. All of the methods report a screen width of 1216, and even that site renders partially off-screen inside of Cordova. View Bounds incorrect for iOS7 on iPad Simulator Key: CB-5314 URL: https://issues.apache.org/jira/browse/CB-5314 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.1.0 Reporter: Andrew H Fix For: 3.3.0 When running my project (recently ported to cordova 3.1), the view boundary in the ipad simulator is reported to be 1216x1568 instead of 768x1024 when I target iOS 7. This causes my html to render off of the screen. I was able to correct by setting webView.frame dimensions equal to the mainScreen bounds in the viewWillAppear event handler in my MainViewController. However, I feel that this is a hack that may be overriding work that cordova is doing behind the scenes. I am not able to test on a physical device. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5488) deviceready event not firing with jQuery Mobile
[ https://issues.apache.org/jira/browse/CB-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836674#comment-13836674 ] Mike Billau commented on CB-5488: - [~shazron], what order are the scripts tags in in the built application? I have seen this issue come up a few times on StackOverflow and iirc the problem always seems to be with putting jquery script tag first, before the cordova script. Do you have any idea why that would be? I will look into it this week - I don't think that the script tag order should matter, but if it does, we at least need to document it (and worst case, edit the shell scripts to make sure cordova tag is always first.) deviceready event not firing with jQuery Mobile --- Key: CB-5488 URL: https://issues.apache.org/jira/browse/CB-5488 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Federico Kereki If you use PhoneGap + jQuery + jQuery Mobile, the deviceready event doesn't fire. Googling around, I found several similar reports, all pointing out that if jQuery Mobile isn't included, the event fires. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5456) Cross domain policy does not seem to transfer down to WP8
[ https://issues.apache.org/jira/browse/CB-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aras updated CB-5456: - Description: *Edit* Sorry for the incorrect bug report. After doing some primitive debugging with `alert`, we found the issue was with IE on the phone. Cross domain access in fact works on WP8 builds. Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! was: Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I *think* the windows apps are fed to a monster called silver something and it seems to require a lot of BS. It looks like the silver monster needs something like this inside the AppManifest.xaml: codeDeployment xmlns=http://schemas.microsoft.com/client/2007/deployment; ExternalCallersFromCrossDomain=CrossDomainAccess ...//code I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! Cross domain policy does not seem to transfer down to WP8 - Key: CB-5456 URL: https://issues.apache.org/jira/browse/CB-5456 Project: Apache Cordova Issue Type: Bug Components: Windows 8 Affects Versions: 3.1.0 Environment: I used phonegap cloud build Reporter: Aras Assignee: Jesse MacFadyen Priority: Minor Labels: newbie Original Estimate: 3h Remaining Estimate: 3h *Edit* Sorry for the incorrect bug report. After doing some primitive debugging with `alert`, we found the issue was with IE on the phone. Cross domain access in fact works on WP8 builds. Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Closed] (CB-5456) Cross domain policy does not seem to transfer down to WP8
[ https://issues.apache.org/jira/browse/CB-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aras closed CB-5456. Resolution: Invalid sorry for the invalid report. The issue turn out to be in our own code. To be fair, WP8 debugging is very hard (since weinre does not work yet with 3.1) and it took us a while to narrow down on the problem. Cross domain policy does not seem to transfer down to WP8 - Key: CB-5456 URL: https://issues.apache.org/jira/browse/CB-5456 Project: Apache Cordova Issue Type: Bug Components: Windows 8 Affects Versions: 3.1.0 Environment: I used phonegap cloud build Reporter: Aras Assignee: Jesse MacFadyen Priority: Minor Labels: newbie Original Estimate: 3h Remaining Estimate: 3h *Edit* Sorry for the incorrect bug report. After doing some primitive debugging with `alert`, we found the issue was with IE on the phone. Cross domain access in fact works on WP8 builds. Long story short: Can someone please test crossdomain access with WP8 build and let me know if it is supposed to work. Long story: I tried building an app on phonegap build in the cloud for windows. The build works for iOS and Android. The app makes many cross domain requests, so I have this in my config.xml: codeaccess origin=* //code I gave the xap to client and they were able to install it but not able to login. I do not have access to a windows phone, so a lot of this is speculations. Please help me figure out if this is an issue with Cordova or not. Based on the fact that we do not see any record on our server, I think that the app was never granted cross domain access. I am not sure what that cross domain access should be. However, when I open the app.xap package I downloaded from phonegap build server and open the AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property at all. Note: this is my first bug report here, so Hi! -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-3185) Exception resolving a Dropbox file from the Gallery
[ https://issues.apache.org/jira/browse/CB-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve updated CB-3185: -- Assignee: Ian Clelland (was: Andrew Grieve) Exception resolving a Dropbox file from the Gallery --- Key: CB-3185 URL: https://issues.apache.org/jira/browse/CB-3185 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.6.0 Reporter: Abel Muiño Assignee: Ian Clelland The following exception shows in the Logcat: {noformat} 04-19 10:56:08.360: W/System.err(7926): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.dropbox.android/files/scratch/Camera%20Uploads/2012-09-09%2011.20.25.jpg: open failed: ENOENT (No such file or directory) 04-19 10:56:08.390: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:416) 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.init(FileInputStream.java:78) 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.init(FileInputStream.java:105) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.FileHelper.getInputStreamFromUriString(FileHelper.java:98) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:582) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:411) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864) 04-19 10:56:08.390: W/System.err(7926): at android.app.Activity.dispatchActivityResult(Activity.java:5293) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.deliverResults(ActivityThread.java:3315) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3362) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.access$1100(ActivityThread.java:141) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) 04-19 10:56:08.390: W/System.err(7926): at android.os.Handler.dispatchMessage(Handler.java:99) 04-19 10:56:08.390: W/System.err(7926): at android.os.Looper.loop(Looper.java:137) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.main(ActivityThread.java:5041) 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invokeNative(Native Method) 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invoke(Method.java:511) 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 04-19 10:56:08.400: W/System.err(7926): at dalvik.system.NativeStart.main(Native Method) 04-19 10:56:08.400: W/System.err(7926): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.Posix.open(Native Method) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:400) 04-19 10:56:08.410: W/System.err(7926): ... 19 more {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3185) Exception resolving a Dropbox file from the Gallery
[ https://issues.apache.org/jira/browse/CB-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836790#comment-13836790 ] Andrew Grieve commented on CB-3185: --- Assigned to Ian, since this will almost certainly be fixed with his upcoming File / FileTransfer related changes. Exception resolving a Dropbox file from the Gallery --- Key: CB-3185 URL: https://issues.apache.org/jira/browse/CB-3185 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.6.0 Reporter: Abel Muiño Assignee: Ian Clelland The following exception shows in the Logcat: {noformat} 04-19 10:56:08.360: W/System.err(7926): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.dropbox.android/files/scratch/Camera%20Uploads/2012-09-09%2011.20.25.jpg: open failed: ENOENT (No such file or directory) 04-19 10:56:08.390: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:416) 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.init(FileInputStream.java:78) 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.init(FileInputStream.java:105) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.FileHelper.getInputStreamFromUriString(FileHelper.java:98) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:582) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:411) 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864) 04-19 10:56:08.390: W/System.err(7926): at android.app.Activity.dispatchActivityResult(Activity.java:5293) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.deliverResults(ActivityThread.java:3315) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3362) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.access$1100(ActivityThread.java:141) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282) 04-19 10:56:08.390: W/System.err(7926): at android.os.Handler.dispatchMessage(Handler.java:99) 04-19 10:56:08.390: W/System.err(7926): at android.os.Looper.loop(Looper.java:137) 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.main(ActivityThread.java:5041) 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invokeNative(Native Method) 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invoke(Method.java:511) 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 04-19 10:56:08.400: W/System.err(7926): at dalvik.system.NativeStart.main(Native Method) 04-19 10:56:08.400: W/System.err(7926): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.Posix.open(Native Method) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) 04-19 10:56:08.400: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:400) 04-19 10:56:08.410: W/System.err(7926): ... 19 more {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3788) Update template project settings for iOS 7 SDK, fix deprecations
[ https://issues.apache.org/jira/browse/CB-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836859#comment-13836859 ] Andrew Grieve commented on CB-3788: --- [~shazron] - did you do this? Update template project settings for iOS 7 SDK, fix deprecations Key: CB-3788 URL: https://issues.apache.org/jira/browse/CB-3788 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Device Motion Affects Versions: Master Environment: iOS 7 Reporter: Shazron Abdullah Assignee: Shazron Abdullah Labels: ios7 Do this only when iOS 7 SDK is imminent for release (thus iOS 7 SDK is required for App Store app submission). Not sure of the impact if we upgrade now, there might be Build Settings that only work with the new SDK. 1. Validate project settings for both template and CordovaLib projects 2. Fix deprecations in core plugins as noted in Components section of this issue -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-3788) Update template project settings for iOS 7 SDK, fix deprecations
[ https://issues.apache.org/jira/browse/CB-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-3788. -- Resolution: Fixed Fix Version/s: 3.1.0 Yup Update template project settings for iOS 7 SDK, fix deprecations Key: CB-3788 URL: https://issues.apache.org/jira/browse/CB-3788 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Device Motion Affects Versions: Master Environment: iOS 7 Reporter: Shazron Abdullah Assignee: Shazron Abdullah Labels: ios7 Fix For: 3.1.0 Do this only when iOS 7 SDK is imminent for release (thus iOS 7 SDK is required for App Store app submission). Not sure of the impact if we upgrade now, there might be Build Settings that only work with the new SDK. 1. Validate project settings for both template and CordovaLib projects 2. Fix deprecations in core plugins as noted in Components section of this issue -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5488) deviceready event not firing with jQuery Mobile
[ https://issues.apache.org/jira/browse/CB-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836867#comment-13836867 ] Shazron Abdullah commented on CB-5488: -- [~mrbillau] The jquery script tags I quoted above are in the head tag, so they load first -- then cordova is loaded in the script tag in the document body. deviceready event not firing with jQuery Mobile --- Key: CB-5488 URL: https://issues.apache.org/jira/browse/CB-5488 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Federico Kereki If you use PhoneGap + jQuery + jQuery Mobile, the deviceready event doesn't fire. Googling around, I found several similar reports, all pointing out that if jQuery Mobile isn't included, the event fires. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4354) iOS 7: new JSNative bridge
[ https://issues.apache.org/jira/browse/CB-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4354. --- Resolution: Invalid iOS 7: new JSNative bridge Key: CB-4354 URL: https://issues.apache.org/jira/browse/CB-4354 Project: Apache Cordova Issue Type: Wish Components: iOS Reporter: Ernesto Rivera Assignee: Shazron Abdullah Labels: bridge, features, ios, ios7, native In the future iOS release it may be possible to replace the current js-native bridge (encoding URL's and UIWebView delegate's handling). https://devforums.apple.com/thread/197449 -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3233) Migrate Geolocation code out of CDVCamera.m
[ https://issues.apache.org/jira/browse/CB-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836870#comment-13836870 ] Andrew Grieve commented on CB-3233: --- [~lorin.beer] is this the same as CB-4003? Migrate Geolocation code out of CDVCamera.m --- Key: CB-3233 URL: https://issues.apache.org/jira/browse/CB-3233 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: Lorin Beer Assignee: Lorin Beer Sebastien Burel's GEO code provides the exif writer with geolocation data. Migrate to exif reader, and revert CDVCamera to original form. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5396) UiWebView doesn't resize when Keyboard Show when DisallowScroll is True
[ https://issues.apache.org/jira/browse/CB-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5396. --- Resolution: Invalid Closing since the problem was from having height= in viewport meta tag. UiWebView doesn't resize when Keyboard Show when DisallowScroll is True --- Key: CB-5396 URL: https://issues.apache.org/jira/browse/CB-5396 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugins Affects Versions: 3.2.0 Environment: cordova 3.2 with keyboard plugin. Reporter: Tom Wilson Labels: keyboard-plugin -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-3959) Proper way to disable Xcode logger highjack?
[ https://issues.apache.org/jira/browse/CB-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-3959. --- Resolution: Fixed I believe we've fixed up iOS logger issues now. Just don't install the logger plugin. Proper way to disable Xcode logger highjack? Key: CB-3959 URL: https://issues.apache.org/jira/browse/CB-3959 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Console Reporter: Olivier Louvignes Assignee: Shazron Abdullah Labels: log I'm using new iOS6 webkit remote debugger tools. However, nothing is ever logged there as Cordova highjack the console object to log stuff in XCode. I've looked through the source but never really succeeded to get back console logging in a clean way (as I've seen in 2.7.0, there might be a bug in the JS as it is supposed to log both to Xcode window but the window logger used is not working at all). I've found a way using: scriptwindow._console = window.console;/script !-- build:js scripts/libs.js -- script src=components/cordova/cordova.ios.js/script However errors are still caught by Xcode, so I won't get a clean trace in the webkit inspector. Would love some help/documentation on this point -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4696) Can't build iOS CDVNotification.m in Dialog Plug-in
[ https://issues.apache.org/jira/browse/CB-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4696. --- Resolution: Cannot Reproduce Might have been a compiler improvement, the file compiles fine on the latest SDK. Can't build iOS CDVNotification.m in Dialog Plug-in --- Key: CB-4696 URL: https://issues.apache.org/jira/browse/CB-4696 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Dialogs Affects Versions: 3.0.0 Environment: MacOS XCode 4.5 Reporter: David Peacock Assignee: Steve Gill Create a cordova project, add the dialog plug-in and try to build (XCode/Cordova build). The build fails with an error in CDVNotification.m. The issue is in playBeep() where it calls soundCompletionCallback. The error is Use of undeclared identifier 'soundCompletionCallback'. Both soundCompletionCallback and playBeep are static methods which call each other. They need to be declared explicitly first. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4682) cordova build fails after adding plugins after running cordova build
[ https://issues.apache.org/jira/browse/CB-4682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4682. --- Resolution: Fixed I think this is now fixed from CLI improvements. Please re-open if it's still triggerable with the latest version of CLI. cordova build fails after adding plugins after running cordova build Key: CB-4682 URL: https://issues.apache.org/jira/browse/CB-4682 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.0.0 Environment: OS X 10.8 Reporter: Aaron Moman Assignee: Shazron Abdullah (This might be related to CB-4502.) Once you've build an iOS app with cordova build, you can no longer add plugins with cordova plugin add. cordova build will now fail because of missing files. $ cordova create c30 com.example.c30 c30 $ cd c30/ $ cordova platform add ios $ cordova build $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git $ cordova build build fails (clang: error: no such file or directory: 'c30/platforms/ios/c30/Plugins/org.apache.cordova.core.plugin/CDVplugin.m') This also fails if you do: $ cordova create c30 com.example.c30 c30 $ cd c30/ $ cordova platform add ios $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git $ cordova build (This works) $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git $ cordova build build fails. I set the priority to Major instead of Critical or Blocker because I can work around this by installing everything before doing a build or manually copying the files myself. However, that defeats the purpose of the CLI tools. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Assigned] (CB-4947) Problem Installing Cordova on Xcode
[ https://issues.apache.org/jira/browse/CB-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve reassigned CB-4947: - Assignee: Andrew Grieve Problem Installing Cordova on Xcode --- Key: CB-4947 URL: https://issues.apache.org/jira/browse/CB-4947 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.0.0 Environment: Hi excuse me i have a problem i just download cordova-3.0.0 i searched for the .dmg installer on the ios folder and i cant find the .pkg for install cordova on my mac can you help me Reporter: Abel Ortiz Gonzalez Assignee: Andrew Grieve -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Deleted] (CB-4947) Problem Installing Cordova on Xcode
[ https://issues.apache.org/jira/browse/CB-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve deleted CB-4947: -- Problem Installing Cordova on Xcode --- Key: CB-4947 URL: https://issues.apache.org/jira/browse/CB-4947 Project: Apache Cordova Issue Type: Bug Environment: Hi excuse me i have a problem i just download cordova-3.0.0 i searched for the .dmg installer on the ios folder and i cant find the .pkg for install cordova on my mac can you help me Reporter: Abel Ortiz Gonzalez Assignee: Andrew Grieve -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4947) Problem Installing Cordova on Xcode
[ https://issues.apache.org/jira/browse/CB-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836884#comment-13836884 ] Andrew Grieve commented on CB-4947: --- JIRA's not showing the resolve / close buttons for this issue... Weird. Going to delete. 3.0 has no such installer. Refer to the getting started guides for how to get started. Problem Installing Cordova on Xcode --- Key: CB-4947 URL: https://issues.apache.org/jira/browse/CB-4947 Project: Apache Cordova Issue Type: Bug Environment: Hi excuse me i have a problem i just download cordova-3.0.0 i searched for the .dmg installer on the ios folder and i cant find the .pkg for install cordova on my mac can you help me Reporter: Abel Ortiz Gonzalez Assignee: Andrew Grieve -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-612) Add support for native remoteInspector logging
[ https://issues.apache.org/jira/browse/CB-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-612. -- Resolution: Fixed This is now fixed in 3.0 by not installing the logger plugin Add support for native remoteInspector logging -- Key: CB-612 URL: https://issues.apache.org/jira/browse/CB-612 Project: Apache Cordova Issue Type: Sub-task Components: iOS Reporter: Olivier Louvignes Assignee: Ian Clelland Labels: debugging, ios Currently, when using the awesome remote debugger provided by apple (connecting on localhost: with safari) with : // enable remote debugging #if TARGET_IPHONE_SIMULATOR [NSClassFromString(@WebView) _enableRemoteInspector]; #endif I do not get any console log/warn/error output. I guess it is caused by the Xcode logging adaptater. The remote webinspector is really superior to Weinre currently as it does provide realtime dom inspection (weinre only displays initial dom, not what was built by Sencha Touch for instance). Also I've seen that you have made some progress on error tracing (CB-535), this would be also awesome as it is a really major issue. Since playing with api's that can't be debugged via a desktop Webkit is a real nightmare today. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4472) webviewbounce vs uiwebviewbounce
[ https://issues.apache.org/jira/browse/CB-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4472. --- Resolution: Fixed Assignee: Andrew Grieve (was: Shazron Abdullah) Removed bogus preference from CLI template webviewbounce vs uiwebviewbounce Key: CB-4472 URL: https://issues.apache.org/jira/browse/CB-4472 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.0.0 Environment: phonegap 3.0.0-0.14.0 Reporter: Oliver Michalak Assignee: Andrew Grieve In config.xml, we can define webviewbounce to be true or false. phonegap local build ios will create two entries in the platform/ios/www/config.xml file in that blongs to webview bouncing: webviewbounce AND uiwebviewbounce - the later is probably wrong and will not be filled with the value from the original webviewbounce value The cordovalLib on iOS parses the uiwebviewbounce only. As a result, the general webviewbounce will completely be ignored, after each compile, you have to manually fix the uiwebviewbounce value. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4472) webviewbounce vs uiwebviewbounce
[ https://issues.apache.org/jira/browse/CB-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836887#comment-13836887 ] ASF subversion and git services commented on CB-4472: - Commit 933230a70d5e03282b4fce924e40db41e225d98f in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=933230a ] CB-4472 Remove preference from template config.xml webviewbounce vs uiwebviewbounce Key: CB-4472 URL: https://issues.apache.org/jira/browse/CB-4472 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.0.0 Environment: phonegap 3.0.0-0.14.0 Reporter: Oliver Michalak Assignee: Shazron Abdullah In config.xml, we can define webviewbounce to be true or false. phonegap local build ios will create two entries in the platform/ios/www/config.xml file in that blongs to webview bouncing: webviewbounce AND uiwebviewbounce - the later is probably wrong and will not be filled with the value from the original webviewbounce value The cordovalLib on iOS parses the uiwebviewbounce only. As a result, the general webviewbounce will completely be ignored, after each compile, you have to manually fix the uiwebviewbounce value. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4953) Adding and removing plugins breaks build process
[ https://issues.apache.org/jira/browse/CB-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4953. --- Resolution: Fixed Assignee: Braden Shepherdson I believe this was fixed in the CLI. Not sure what version though, but has been fixed for at least a month. Please re-open if I'm mistaken. Adding and removing plugins breaks build process Key: CB-4953 URL: https://issues.apache.org/jira/browse/CB-4953 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS Affects Versions: 3.0.0 Environment: Mac OS X 10.8.5 Xcode 5.0 (5A1413) + iOS 7.0 SDK Cordova 3.0.9 Reporter: Vladimir Riha Assignee: Braden Shepherdson Attachments: output.log, output.txt Following steps causes that I cannot build cordova project after manipulation with plugins $ cordova create project $ cd project $ cordova platform add ios $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git $ cordova plugin rm org.apache.cordova.contacts $ cordova build (finishes OK) $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git $ cordova build = fails (output will be attached here) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5454) Plugin Mapping Issue
[ https://issues.apache.org/jira/browse/CB-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836908#comment-13836908 ] Andrew Grieve commented on CB-5454: --- [~shepheb] - Sounds like a bug in CLI that you fixed. WDYT? Is a workspace re-creation required to fix up the metadata for these projects? Can we mark this as fixed as of version x? Plugin Mapping Issue Key: CB-5454 URL: https://issues.apache.org/jira/browse/CB-5454 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS, Plugins Affects Versions: 3.1.0 Environment: iOS Reporter: Mike Hartington Assignee: Braden Shepherdson Labels: cli, config.xml,, cordova, cordova-cli Once I've removed a plugin, I'm unable to add any plugins back again. So from the command line, cordova plugin rm org.apache.cordova.device cordova plugin add org.apache.cordova.device Everything installs properly but once I go into Xcode and run the project, my console puts out 2013-11-20 14:59:28.301 ProductDemo[65497:a0b] CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist. 2013-11-20 14:59:28.302 ProductDemo[65497:a0b] ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2013-11-20 14:59:28.303 ProductDemo[65497:a0b] -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [ INVALID, StatusBar, overlaysWebView, [ true ] ] I've run thought the debugging option and no errors come up so I'm not sure what the issue is, but my config.xml is correct and everything is copied over as far as files go. Anyone have this issue too? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5454) Plugin Mapping Issue
[ https://issues.apache.org/jira/browse/CB-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve updated CB-5454: -- Assignee: Braden Shepherdson Plugin Mapping Issue Key: CB-5454 URL: https://issues.apache.org/jira/browse/CB-5454 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS, Plugins Affects Versions: 3.1.0 Environment: iOS Reporter: Mike Hartington Assignee: Braden Shepherdson Labels: cli, config.xml,, cordova, cordova-cli Once I've removed a plugin, I'm unable to add any plugins back again. So from the command line, cordova plugin rm org.apache.cordova.device cordova plugin add org.apache.cordova.device Everything installs properly but once I go into Xcode and run the project, my console puts out 2013-11-20 14:59:28.301 ProductDemo[65497:a0b] CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist. 2013-11-20 14:59:28.302 ProductDemo[65497:a0b] ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2013-11-20 14:59:28.303 ProductDemo[65497:a0b] -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [ INVALID, StatusBar, overlaysWebView, [ true ] ] I've run thought the debugging option and no errors come up so I'm not sure what the issue is, but my config.xml is correct and everything is copied over as far as files go. Anyone have this issue too? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5215) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
[ https://issues.apache.org/jira/browse/CB-5215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-5215. --- Resolution: Not A Problem Assignee: Andrew Grieve It seems that Apple has changed the system webview to make this the default behaviour as of iOS 7. I don't think we should invest time in restoring the old behaviour. To get the old behaviour, position your elements relative to the top of the page instead of the bottom. ios 7 keyboard resizes the page even with KeyboardShrinksView set to false -- Key: CB-5215 URL: https://issues.apache.org/jira/browse/CB-5215 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugins Affects Versions: 2.9.0, 3.1.0 Environment: Mac OSX Mavericks, Xcode 5, Ipad with Ios7 and the embedded emulator Reporter: Matias Stanislavsky Assignee: Andrew Grieve Labels: keyboard-plugin Fix For: 3.3.0 We have a page with a fixed footer and a fixed header. We also have a JQM list with its own data-filter. We have fixed the filter to the screen and it seems to be working fine on Android. But we are having some issues when we started testing on IOS. When the keyboard appears it makes the header goes to the top of the list and the filter moves down the exact same height as the keyboard's height. We've tried keyboardShrinksView= true and false with the same outcome, nothing seems to be working for us. I've already checked the CB-4862 and CB-4940. But I think I dont understand how it has been already solved. Here you can see some screen captures of what's going on: If the list is not scrolled everything's working ok http://i.imgur.com/B1rqNYd.png If i scroll the list a little bit, then the hell breaks loose http://i.imgur.com/5gmKMHq.png Thanks in advance, Matias -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4472) webviewbounce vs uiwebviewbounce
[ https://issues.apache.org/jira/browse/CB-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836914#comment-13836914 ] ASF subversion and git services commented on CB-4472: - Commit 2a7bcaeccf415f1ceaaed8f7c19f832add9e5d45 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=2a7bcae ] [CB-4472] Fix tests broken by previous commit. webviewbounce vs uiwebviewbounce Key: CB-4472 URL: https://issues.apache.org/jira/browse/CB-4472 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.0.0 Environment: phonegap 3.0.0-0.14.0 Reporter: Oliver Michalak Assignee: Andrew Grieve In config.xml, we can define webviewbounce to be true or false. phonegap local build ios will create two entries in the platform/ios/www/config.xml file in that blongs to webview bouncing: webviewbounce AND uiwebviewbounce - the later is probably wrong and will not be filled with the value from the original webviewbounce value The cordovalLib on iOS parses the uiwebviewbounce only. As a result, the general webviewbounce will completely be ignored, after each compile, you have to manually fix the uiwebviewbounce value. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-2434) Add [CommandDelegate resolveUrl] method
[ https://issues.apache.org/jira/browse/CB-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-2434. --- Resolution: Duplicate Add [CommandDelegate resolveUrl] method --- Key: CB-2434 URL: https://issues.apache.org/jira/browse/CB-2434 Project: Apache Cordova Issue Type: Bug Components: iOS Reporter: Andrew Grieve Assignee: Andrew Grieve Priority: Minor Many APIs accept URLs as parameters. We should have a helper to turn these into absolute URLs so that each API doesn't need to. e.g.: [CDVSound urlForResource:] Note that this function supports document:// URLs, which are not documented anywhere. We should fix CB-285 and deprecate document:// URLs. Other possible URL is asset-library://. Not sure if we should include this in the helper (e.g. by exposing getDataForUrl). Or just ignore it... -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-4281) Echo plugin is now missing after plugin breakout
[ https://issues.apache.org/jira/browse/CB-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Grieve resolved CB-4281. --- Resolution: Fixed Echo plugin is now missing after plugin breakout Key: CB-4281 URL: https://issues.apache.org/jira/browse/CB-4281 Project: Apache Cordova Issue Type: Bug Components: Android, iOS, mobile-spec Affects Versions: 3.0.0 Environment: mobilespec on at least android and iOS with 3.0.0 Reporter: David Kemp Assignee: David Kemp Priority: Minor All mobilespec tests for bridge performance fail because the Echo plugin is missing. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5454) Plugin Mapping Issue
[ https://issues.apache.org/jira/browse/CB-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836925#comment-13836925 ] Braden Shepherdson commented on CB-5454: I can't reproduce this against master. To those who are having the issues: npm install the latest cordova-cli and try again. Plugin Mapping Issue Key: CB-5454 URL: https://issues.apache.org/jira/browse/CB-5454 Project: Apache Cordova Issue Type: Bug Components: CLI, iOS, Plugins Affects Versions: 3.1.0 Environment: iOS Reporter: Mike Hartington Assignee: Braden Shepherdson Labels: cli, config.xml,, cordova, cordova-cli Once I've removed a plugin, I'm unable to add any plugins back again. So from the command line, cordova plugin rm org.apache.cordova.device cordova plugin add org.apache.cordova.device Everything installs properly but once I go into Xcode and run the project, my console puts out 2013-11-20 14:59:28.301 ProductDemo[65497:a0b] CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist. 2013-11-20 14:59:28.302 ProductDemo[65497:a0b] ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2013-11-20 14:59:28.303 ProductDemo[65497:a0b] -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [ INVALID, StatusBar, overlaysWebView, [ true ] ] I've run thought the debugging option and no errors come up so I'm not sure what the issue is, but my config.xml is correct and everything is copied over as far as files go. Anyone have this issue too? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3233) Migrate Geolocation code out of CDVCamera.m
[ https://issues.apache.org/jira/browse/CB-3233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836942#comment-13836942 ] Lorin Beer commented on CB-3233: [~agrieve] no, as per the description, it is an entirely separate issue Migrate Geolocation code out of CDVCamera.m --- Key: CB-3233 URL: https://issues.apache.org/jira/browse/CB-3233 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: Master Reporter: Lorin Beer Assignee: Lorin Beer Sebastien Burel's GEO code provides the exif writer with geolocation data. Migrate to exif reader, and revert CDVCamera to original form. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5524) Cordova 3.1.0 download link does not work
[ https://issues.apache.org/jira/browse/CB-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-5524. -- Resolution: Fixed Fix Version/s: Master Assignee: Steve Gill Fixed by Steve Gill: http://svn.apache.org/r1547168 Cordova 3.1.0 download link does not work - Key: CB-5524 URL: https://issues.apache.org/jira/browse/CB-5524 Project: Apache Cordova Issue Type: Bug Affects Versions: 3.1.0 Reporter: Bora Gunes Dogan Assignee: Steve Gill Priority: Blocker Fix For: Master Cordova download link on home page http://cordova.apache.org/#download has the following URL: https://www.apache.org/dist/cordova/cordova-3.1.0-src.zip . The link does not work. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-1285) Include EXIF metadata in image upload
[ https://issues.apache.org/jira/browse/CB-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836971#comment-13836971 ] Lorin Beer commented on CB-1285: Hi Omar, functionality for accessing the EXIF data from the JS side required a plugin, which has not been updated to 3.0.0. You can see the basic technique here: https://github.com/lorinbeer/cordova-imagemetadata-plugin the plugin will be updated with droid/wp8 support, but currently is a pre-3.0.0 ios plugin Include EXIF metadata in image upload - Key: CB-1285 URL: https://issues.apache.org/jira/browse/CB-1285 Project: Apache Cordova Issue Type: Improvement Components: iOS Affects Versions: 2.0.0 Environment: iOS 5.1.1 (iPad 2 iPhone 4) Reporter: Stephen McKamey Assignee: Lorin Beer Fix For: 2.6.0 Now that Cordova only supports iOS 4.2+, it would be great if it would include the additional EXIF metadata which exists in original image files. Currently this is all stripped. I've noticed a recent increased trend of iOS apps declaring that they can gain access to EXIF data if the user permits location information. If EXIF geo data were passed through this would be a huge gain for Cordova. Related: a similar issue (CB-295) was opened for Android and it sounds like it was implemented. From the other issue, it sounded like it was a side effect of resizing the image. If no resizing needs to occur (i.e., the untouched original bits are desired), then perhaps this would help? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5523) Documentation: In-page anchors do not work
[ https://issues.apache.org/jira/browse/CB-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-5523: - Priority: Minor (was: Major) Documentation: In-page anchors do not work -- Key: CB-5523 URL: https://issues.apache.org/jira/browse/CB-5523 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Gabriel Schulhof Priority: Minor 0. Go to cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html 1. Click on Contact (the link that will take you to the documentation for the Contact object) 2. Click the browser's Back button At this point, you'd expect that the browser would jump back to the top of the page. Instead, the history entry in the location bar changes, but the page does not jump to the top. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5523) Documentation: In-page anchors do not work
[ https://issues.apache.org/jira/browse/CB-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-5523: - Component/s: Docs Documentation: In-page anchors do not work -- Key: CB-5523 URL: https://issues.apache.org/jira/browse/CB-5523 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Gabriel Schulhof 0. Go to cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html 1. Click on Contact (the link that will take you to the documentation for the Contact object) 2. Click the browser's Back button At this point, you'd expect that the browser would jump back to the top of the page. Instead, the history entry in the location bar changes, but the page does not jump to the top. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3035) options.multiple flag doesn't work for WP8
[ https://issues.apache.org/jira/browse/CB-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836974#comment-13836974 ] ASF subversion and git services commented on CB-3035: - Commit 12ac1fd036387968d3a13cf4ba1a94aa42336d10 in branch refs/heads/dev from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=12ac1fd ] CB-3035 Fix issue with windows new line char \n\r options.multiple flag doesn't work for WP8 -- Key: CB-3035 URL: https://issues.apache.org/jira/browse/CB-3035 Project: Apache Cordova Issue Type: Bug Components: Plugin Contacts, WP7, WP8 Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0 Environment: Visual Studio Express 2012 with Lumia 920 Reporter: Rohan Singhal Assignee: Jesse MacFadyen Fix For: 3.3.0 Setting the multiple field of a ContactFindOptions object produces an exception ERROR: Exception in InvokeScriptCallback :: An unknown error has occurred. Error: 80020101. Calling navigator.contacts.find without the multiple flag set works fine, and returns a single result as expected. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-3035) options.multiple flag doesn't work for WP8
[ https://issues.apache.org/jira/browse/CB-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-3035. - Resolution: Fixed Fix Version/s: 3.3.0 options.multiple flag doesn't work for WP8 -- Key: CB-3035 URL: https://issues.apache.org/jira/browse/CB-3035 Project: Apache Cordova Issue Type: Bug Components: Plugin Contacts, WP7, WP8 Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0 Environment: Visual Studio Express 2012 with Lumia 920 Reporter: Rohan Singhal Assignee: Jesse MacFadyen Fix For: 3.3.0 Setting the multiple field of a ContactFindOptions object produces an exception ERROR: Exception in InvokeScriptCallback :: An unknown error has occurred. Error: 80020101. Calling navigator.contacts.find without the multiple flag set works fine, and returns a single result as expected. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5522) contacts.create: Parameter properties is undocumented
[ https://issues.apache.org/jira/browse/CB-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13836986#comment-13836986 ] Shazron Abdullah commented on CB-5522: -- Docs addition: add a ref as suggested contacts.create: Parameter properties is undocumented --- Key: CB-5522 URL: https://issues.apache.org/jira/browse/CB-5522 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Gabriel Schulhof http://cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html#contacts.create The documentation doesn't mention what the properties parameter can contain. It does give some examples, but I can only guess that the keys of the hash given to contacts.create in the properties parameter are actually the same as the resulting Contact object's property keys. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5522) contacts.create: Parameter properties is undocumented
[ https://issues.apache.org/jira/browse/CB-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-5522: - Component/s: Docs contacts.create: Parameter properties is undocumented --- Key: CB-5522 URL: https://issues.apache.org/jira/browse/CB-5522 Project: Apache Cordova Issue Type: Bug Components: Docs Reporter: Gabriel Schulhof http://cordova.apache.org/docs/en/edge/cordova_contacts_contacts.md.html#contacts.create The documentation doesn't mention what the properties parameter can contain. It does give some examples, but I can only guess that the keys of the hash given to contacts.create in the properties parameter are actually the same as the resulting Contact object's property keys. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-5504: - Component/s: Plugin Media Plugin Device Docs Android Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Components: Android, Docs, Plugin Device, Plugin Media Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-1285) Include EXIF metadata in image upload
[ https://issues.apache.org/jira/browse/CB-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837017#comment-13837017 ] Omar Gonzalez commented on CB-1285: --- Thanks for the response Lorin. I'll take a look at the repository and see if I can figure something out, I'm not an Obj-C dev so my ability on the native side is limited on iOS. I'm currently using the approach outlined by this blog post: http://blog.nihilogic.dk/2008/05/reading-exif-data-with-javascript.html It's been somewhat successful, I am reading some EXIF data, but not what I need unfortunately. The image seems to have Orientation, pixel width/height data and another property having to do with Color but the only thing I'm actually interested in is the date the picture was taken. Is there any other current way to get the date a picture was taken from a picture selected from the photo album? Appreciate all your help! Include EXIF metadata in image upload - Key: CB-1285 URL: https://issues.apache.org/jira/browse/CB-1285 Project: Apache Cordova Issue Type: Improvement Components: iOS Affects Versions: 2.0.0 Environment: iOS 5.1.1 (iPad 2 iPhone 4) Reporter: Stephen McKamey Assignee: Lorin Beer Fix For: 2.6.0 Now that Cordova only supports iOS 4.2+, it would be great if it would include the additional EXIF metadata which exists in original image files. Currently this is all stripped. I've noticed a recent increased trend of iOS apps declaring that they can gain access to EXIF data if the user permits location information. If EXIF geo data were passed through this would be a huge gain for Cordova. Related: a similar issue (CB-295) was opened for Android and it sounds like it was implemented. From the other issue, it sounded like it was a side effect of resizing the image. If no resizing needs to occur (i.e., the untouched original bits are desired), then perhaps this would help? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5458) navigator.globalization.stringToDate with iOS
[ https://issues.apache.org/jira/browse/CB-5458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-5458. -- Resolution: Cannot Reproduce I just tried it with cordova 3.2.0-0.1.0 and org.apache.cordova.globalization 0.2.3 plugin for iOS - they report success, fail, fail as per your test code - which is as expected. This is not a Cordova bug, closing as no repro. navigator.globalization.stringToDate with iOS - Key: CB-5458 URL: https://issues.apache.org/jira/browse/CB-5458 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin Globalization Affects Versions: 2.9.0 Environment: ipad mini ios 7.04 Reporter: Colin Bau Assignee: Shazron Abdullah Labels: javascript, test Original Estimate: 24h Remaining Estimate: 24h I am using phonegap build 2.9 and ipad mini 7.04 navigator.globalization.stringToDate('9/25/2012',function(date) { alert('success');},function () { alert('fail'); },{selector:'date'}); in Android when I set selector date, it will alert success when I set selector time, it will alert fail when I set selector date and time, it will alert fail in iOS when I set selector date, it will also alert fail when I set selector time, it will alert fail when I set selector date and time, it will alert fail why I set date will be success in Android,but date will fail in iOS -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5528) Link to Upgrading BlackBerry10
Josh Soref created CB-5528: -- Summary: Link to Upgrading BlackBerry10 Key: CB-5528 URL: https://issues.apache.org/jira/browse/CB-5528 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, Docs Affects Versions: 3.2.0, 3.1.0, 3.0.0 Reporter: Josh Soref Assignee: Josh Soref While there is an Upgrading document for BlackBerry10 in the Guide, there's no link for it, and hasn't been since the beginning (3.0) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5528) Link to Upgrading BlackBerry10
[ https://issues.apache.org/jira/browse/CB-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837094#comment-13837094 ] ASF subversion and git services commented on CB-5528: - Commit 4a87e63253147d5abc569d323a1908c73e463775 in branch refs/heads/master from [~jsoref] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=4a87e63 ] CB-5528 Link to Upgrading BlackBerry10 Link to Upgrading BlackBerry10 -- Key: CB-5528 URL: https://issues.apache.org/jira/browse/CB-5528 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, Docs Affects Versions: 3.0.0, 3.1.0, 3.2.0 Reporter: Josh Soref Assignee: Josh Soref Fix For: 3.1.0 While there is an Upgrading document for BlackBerry10 in the Guide, there's no link for it, and hasn't been since the beginning (3.0) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5528) Link to Upgrading BlackBerry10
[ https://issues.apache.org/jira/browse/CB-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837098#comment-13837098 ] Michael Brooks commented on CB-5528: Looks good [~jsoref]! Link to Upgrading BlackBerry10 -- Key: CB-5528 URL: https://issues.apache.org/jira/browse/CB-5528 Project: Apache Cordova Issue Type: Sub-task Components: BlackBerry, Docs Affects Versions: 3.0.0, 3.1.0, 3.2.0 Reporter: Josh Soref Assignee: Josh Soref Fix For: 3.1.0 While there is an Upgrading document for BlackBerry10 in the Guide, there's no link for it, and hasn't been since the beginning (3.0) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-2160) cordova_plist_to_config_xml fails inexplicably
[ https://issues.apache.org/jira/browse/CB-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837165#comment-13837165 ] Brian Olore commented on CB-2160: - This fixed me going from 2.2.0 to 2.3.0. Thanks! cordova_plist_to_config_xml fails inexplicably -- Key: CB-2160 URL: https://issues.apache.org/jira/browse/CB-2160 Project: Apache Cordova Issue Type: Bug Components: Docs, iOS Affects Versions: 2.3.0 Environment: 2.3.0 Reporter: Jesse MacFadyen Assignee: Andrew Grieve Attachments: Cordova.plist Issue CB-1893 has apparently made it so you can update the plist to xml, however the documentation is non-existent, and amounts to the following 1 line in the upgrade guide. 10. Convert your Cordova.plist file to config.xml, by running the script bin/cordova_plist_to_config_xml on your project file. Here is what I get ... jessem-MacBookPro:ios jessem$ ./bin/cordova_plist_to_config_xml /Repos/RisingJ/BetaGap/Generic/HyperLab.xcodeproj Converting /Repos/RisingJ/BetaGap/Generic/Cordova.plist to /Repos/RisingJ/BetaGap/Generic/config.xml. Traceback (most recent call last): File ./bin/cordova_plist_to_config_xml, line 125, in module main(sys.argv[1:]) File ./bin/cordova_plist_to_config_xml, line 115, in main ConvertPlist(plist_file, config_file) File ./bin/cordova_plist_to_config_xml, line 76, in ConvertPlist plist = plistlib.readPlist(src_path) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py, line 78, in readPlist rootObject = p.parse(pathOrFile) File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py, line 406, in parse parser.ParseFile(fileobj) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 9 -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-3420) InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837225#comment-13837225 ] ASF subversion and git services commented on CB-3420: - Commit 9768ec2ef0154aeba71a7de68b5e57feffc00836 in branch refs/heads/dev from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-inappbrowser.git;h=9768ec2 ] CB-3420 WP feature hidden=yes implemented 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: 3.3.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 was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-3423) WP - InAppBrowser Option to Start Hidden
[ https://issues.apache.org/jira/browse/CB-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-3423. - Resolution: Fixed WP - InAppBrowser Option to Start Hidden Key: CB-3423 URL: https://issues.apache.org/jira/browse/CB-3423 Project: Apache Cordova Issue Type: Sub-task Components: WP7, WP8 Reporter: Andrew Grieve Assignee: Jesse MacFadyen Priority: Minor -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Created] (CB-5529) BlackBerry Platform Guides are incorrect
John M. Wargo created CB-5529: - Summary: BlackBerry Platform Guides are incorrect Key: CB-5529 URL: https://issues.apache.org/jira/browse/CB-5529 Project: Apache Cordova Issue Type: Bug Components: Docs Affects Versions: 3.1.0 Reporter: John M. Wargo I'm noticing a problem with the BlackBerry platform guides. When you open the platform guides page here: http://cordova.apache.org/docs/en/3.1.0/guide_platforms_index.md.html#Platform%20Guides. The BlackBerry page located here: http://cordova.apache.org/docs/en/3.1.0/guide_platforms_blackberry_index.md.html#BlackBerry%20Platform%20Guide is the page for legacy BlackBerry devices (pre-BlackBerry 10) which isn't even supported with Cordova 3, is it? Anyway, the document references BlackBerry 10, but has instructions for Playbook (which isn't supported) and a bunch of other inaccuracies. The page has a link to open a page with BlackBerry 10 instructions, but that link simply opens the old, inaccurate doc again. http://cordova.apache.org/docs/en/3.1.0/guide_platforms_blackberry_index.md.html#BlackBerry%2010%20Platform%0AGuide. Some examples: This guide shows you how to set up an SDK environment to target applications for the BlackBerry platform prior to version 10. If you want to target the most recent version, see the BlackBerry 10 Platform Guide This version of BlackBerry is not supported by the cordova utility described in The Command-line Interface, but by a separate set of command-line tools. Download the Cordova distribution from cordova.apache.org. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5404) Update File API tests
[ https://issues.apache.org/jira/browse/CB-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837306#comment-13837306 ] ASF subversion and git services commented on CB-5404: - Commit e1ab4d4b9d3cfbff8e3736b7254bab46ff66fba3 in branch refs/heads/master from [~iclelland] [ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=e1ab4d4 ] CB-5404: Change filename shared between two file tests Update File API tests - Key: CB-5404 URL: https://issues.apache.org/jira/browse/CB-5404 Project: Apache Cordova Issue Type: Sub-task Components: Plugin File Reporter: Ian Clelland Assignee: Ian Clelland Fix For: 3.3.0 Many of the tests in the test suite are fragile, and depend on implementation-dependent things like whether root directory paths end with a / or not, or whether a particular URL scheme is valid. I'm first going to fix those tests which don't pass under both the old and new systems. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (CB-5526) Keycodes not getting identified and throws error on Android KitKat
[ https://issues.apache.org/jira/browse/CB-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-5526: --- Priority: Major (was: Blocker) Keycodes not getting identified and throws error on Android KitKat -- Key: CB-5526 URL: https://issues.apache.org/jira/browse/CB-5526 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0 Environment: Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 I have created a sample with Cordova 3.1.0 and issue is still there. Reporter: Deep Singh Labels: patch Fix For: 2.0.0 Original Estimate: 672h Remaining Estimate: 672h Hi There - I got Google Nexus 5 phone today and tried to test my app on it. Most of the parts work fine but I get following error very frequently. And few parts are not working at all. Any idea what this error means? I searched internet but only found that Google has changed webkit to chromium. Can you provide more details on it or any solution? I have been talking phonegap (cordova) support and they confirmed it is an issue and I have to log defect here. 11-21 14:49:39.256: E/chromium(5721): [ERROR:aw_autofill_manager_delegate.cc(144)] Not implemented reached in virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues(const std::vector , const std::vector ) I have a custom method created by me for converting user entered values to currency format. And the above problem is happening all the time when I press delete button from keypad. Here is the code: function CurrencyFormatter(object, e, maxLength) { try { //alert(e.keyCode); var val = $.trim(object.value); var len = val.length + 1; var char = String.fromCharCode(e.keyCode); var pattern = new RegExp(/^[0-9]+$/); //console.log(char: + char); //console.log(pattern.test(char)); //console.log(pattern.test(new String(char))); if(len = maxLength pattern.test(char)) { //console.log(val); if(val == '0'){ if (val.length 0 val.length 11) val = val + char; } else if (val.length 11) val = val + char; object.value = formatCurrency(val, add); } else if(e.keyCode == 8) { //var numBox = document.getElementById('numBox'); if(val.length 0){ //pennies = pennies.substring(0, pennies.length - 1); object.value = formatCurrency(val, del); } } e.preventDefault(); return false; } catch (ex) { console.log(ex); } } function formatCurrency(amount, type) { var i = parseFloat(amount); var i2; //console.log(1: + i); if(isNaN(i)) { i = 0.00; } if(type == add) { i = Math.round(i * 1000); //console.log(1.5: + i); i = i / 100; //console.log(3: + i); } else if(type == del) { i = parseInt(i * 100); //console.log(2: + i); sub = new String(i); //console.log(sub1: + sub); sub = sub.substring(0, sub.length - 1) ; sub = sub == ? 0:sub; //console.log(sub2: + sub); i = parseFloat(sub); //console.log(del: + i); i = i / 100; //console.log(3: + i); } s = new String(i); if(s.indexOf('.') 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } //console.log(4: + s); return s; } The crash errors will not be on phone screen. The sample I have provided should work to enter just numbers and format it to currency. No special characters should be allowed. If you can enter special characters then the issue is there. Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 Will be waiting for your reply on this as we can't certify our app on Android 4.4 -Deep -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5526) Keycodes not getting identified and throws error on Android KitKat
[ https://issues.apache.org/jira/browse/CB-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837382#comment-13837382 ] Joe Bowser commented on CB-5526: Cordova 2.0.0 does not support KitKat at all, but it shouldn't not work. Do you get the same error when you test this code in Google Chrome? Keycodes not getting identified and throws error on Android KitKat -- Key: CB-5526 URL: https://issues.apache.org/jira/browse/CB-5526 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0 Environment: Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 I have created a sample with Cordova 3.1.0 and issue is still there. Reporter: Deep Singh Labels: patch Fix For: 2.0.0 Original Estimate: 672h Remaining Estimate: 672h Hi There - I got Google Nexus 5 phone today and tried to test my app on it. Most of the parts work fine but I get following error very frequently. And few parts are not working at all. Any idea what this error means? I searched internet but only found that Google has changed webkit to chromium. Can you provide more details on it or any solution? I have been talking phonegap (cordova) support and they confirmed it is an issue and I have to log defect here. 11-21 14:49:39.256: E/chromium(5721): [ERROR:aw_autofill_manager_delegate.cc(144)] Not implemented reached in virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues(const std::vector , const std::vector ) I have a custom method created by me for converting user entered values to currency format. And the above problem is happening all the time when I press delete button from keypad. Here is the code: function CurrencyFormatter(object, e, maxLength) { try { //alert(e.keyCode); var val = $.trim(object.value); var len = val.length + 1; var char = String.fromCharCode(e.keyCode); var pattern = new RegExp(/^[0-9]+$/); //console.log(char: + char); //console.log(pattern.test(char)); //console.log(pattern.test(new String(char))); if(len = maxLength pattern.test(char)) { //console.log(val); if(val == '0'){ if (val.length 0 val.length 11) val = val + char; } else if (val.length 11) val = val + char; object.value = formatCurrency(val, add); } else if(e.keyCode == 8) { //var numBox = document.getElementById('numBox'); if(val.length 0){ //pennies = pennies.substring(0, pennies.length - 1); object.value = formatCurrency(val, del); } } e.preventDefault(); return false; } catch (ex) { console.log(ex); } } function formatCurrency(amount, type) { var i = parseFloat(amount); var i2; //console.log(1: + i); if(isNaN(i)) { i = 0.00; } if(type == add) { i = Math.round(i * 1000); //console.log(1.5: + i); i = i / 100; //console.log(3: + i); } else if(type == del) { i = parseInt(i * 100); //console.log(2: + i); sub = new String(i); //console.log(sub1: + sub); sub = sub.substring(0, sub.length - 1) ; sub = sub == ? 0:sub; //console.log(sub2: + sub); i = parseFloat(sub); //console.log(del: + i); i = i / 100; //console.log(3: + i); } s = new String(i); if(s.indexOf('.') 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } //console.log(4: + s); return s; } The crash errors will not be on phone screen. The sample I have provided should work to enter just numbers and format it to currency. No special characters should be allowed. If you can enter special characters then the issue is there. Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 Will be waiting for your reply on this as we can't certify our app on Android 4.4 -Deep -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Comment Edited] (CB-5526) Keycodes not getting identified and throws error on Android KitKat
[ https://issues.apache.org/jira/browse/CB-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837382#comment-13837382 ] Joe Bowser edited comment on CB-5526 at 12/3/13 6:22 AM: - Cordova 2.0.0 does not support KitKat at all, but it shouldn't not work. Do you get the same error when you test this code in Google Chrome on Android? Google Chrome is Chrome 31 while Cordova on Android 4.0 will be Chrome 30, but the bug would most likely exist on both based on what you're providing. was (Author: bowserj): Cordova 2.0.0 does not support KitKat at all, but it shouldn't not work. Do you get the same error when you test this code in Google Chrome? Keycodes not getting identified and throws error on Android KitKat -- Key: CB-5526 URL: https://issues.apache.org/jira/browse/CB-5526 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0 Environment: Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 I have created a sample with Cordova 3.1.0 and issue is still there. Reporter: Deep Singh Labels: patch Fix For: 2.0.0 Original Estimate: 672h Remaining Estimate: 672h Hi There - I got Google Nexus 5 phone today and tried to test my app on it. Most of the parts work fine but I get following error very frequently. And few parts are not working at all. Any idea what this error means? I searched internet but only found that Google has changed webkit to chromium. Can you provide more details on it or any solution? I have been talking phonegap (cordova) support and they confirmed it is an issue and I have to log defect here. 11-21 14:49:39.256: E/chromium(5721): [ERROR:aw_autofill_manager_delegate.cc(144)] Not implemented reached in virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues(const std::vector , const std::vector ) I have a custom method created by me for converting user entered values to currency format. And the above problem is happening all the time when I press delete button from keypad. Here is the code: function CurrencyFormatter(object, e, maxLength) { try { //alert(e.keyCode); var val = $.trim(object.value); var len = val.length + 1; var char = String.fromCharCode(e.keyCode); var pattern = new RegExp(/^[0-9]+$/); //console.log(char: + char); //console.log(pattern.test(char)); //console.log(pattern.test(new String(char))); if(len = maxLength pattern.test(char)) { //console.log(val); if(val == '0'){ if (val.length 0 val.length 11) val = val + char; } else if (val.length 11) val = val + char; object.value = formatCurrency(val, add); } else if(e.keyCode == 8) { //var numBox = document.getElementById('numBox'); if(val.length 0){ //pennies = pennies.substring(0, pennies.length - 1); object.value = formatCurrency(val, del); } } e.preventDefault(); return false; } catch (ex) { console.log(ex); } } function formatCurrency(amount, type) { var i = parseFloat(amount); var i2; //console.log(1: + i); if(isNaN(i)) { i = 0.00; } if(type == add) { i = Math.round(i * 1000); //console.log(1.5: + i); i = i / 100; //console.log(3: + i); } else if(type == del) { i = parseInt(i * 100); //console.log(2: + i); sub = new String(i); //console.log(sub1: + sub); sub = sub.substring(0, sub.length - 1) ; sub = sub == ? 0:sub; //console.log(sub2: + sub); i = parseFloat(sub); //console.log(del: + i); i = i / 100; //console.log(3: + i); } s = new String(i); if(s.indexOf('.') 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } //console.log(4: + s); return s; } The crash errors will not be on phone screen. The sample I have provided should work to enter just numbers and format it to currency. No special characters should be allowed. If you can enter special characters then the issue is there. Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 Will be waiting for your reply on this as we can't certify our app on Android 4.4 -Deep -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5506) Unable to execute add platform android due to the specific android level specified
[ https://issues.apache.org/jira/browse/CB-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-5506. Resolution: Not A Problem This is a duplicate of CB-5338. The version is hard-coded because at the time of the release that is the version of Android that we compile against. We always try to compile against the latest, but we can't guarantee that it will always compile against that SDK level, which is why we specify which version should be installed. CB-5338 was fixed by having this set in the platform itself. Unable to execute add platform android due to the specific android level specified -- Key: CB-5506 URL: https://issues.apache.org/jira/browse/CB-5506 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.2.0 Environment: WINDOWS 7,8 , WINDOWS XP, android_parser.js Reporter: bai lee Priority: Critical cordova library for android already exists. No need to download. Continuing. Checking if platform android passes minimum requirements... Checking Android requirements... Running android list target (output to follow) Available Android targets: -- id: 1 or android-19 Name: Android 4.4 Type: Platform API level: 19 Revision: 1 Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W XGA720, WXGA800, WXGA800-7in ABIs : armeabi-v7a Running android update project -p C:\Users\eric\.cordova\lib\android\cordova\3 .2.0\framework -t android-17 (output to follow)... Error: Target id 'android-17' is not valid. Use 'android.bat list targets' to ge t the target ids. Creating android project... Running bin/create for platform android with command: C:\Users\eric\.cordova \lib\android\cordova\3.2.0\bin\create C:\Users\eric\hello\platforms\android com.example.hello HelloWorld (output to follow) Error: An error occured during creation of android sub-project. at C:\Users\eric\AppData\Roaming\npm\node_modules\cordova\src\platform.js:25 0:30 at ChildProcess.exithandler (child_process.js:641:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Process.ChildProcess._handle.onexit (child_process.js:802:5) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5230) Cordova run never completes
[ https://issues.apache.org/jira/browse/CB-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-5230. Resolution: Cannot Reproduce I recommend that this get closed as Cannot Reproduce. It sounds like you're chasing ghosts if things are working on another machine, and if on this machine it's just plain inconsistent. If you need more assistance on tracking down this weird environment issue, I recommend going on StackOverflow and posting there. If you DO track it down there, and it's an actual obscure bug then re-open this with the repro steps found. Cordova run never completes --- Key: CB-5230 URL: https://issues.apache.org/jira/browse/CB-5230 Project: Apache Cordova Issue Type: Bug Components: Android, App Hello World, CLI Affects Versions: 3.1.0 Reporter: Rick Gommers Cordova run android command will never finish. Even with a newly created hello world app. What can I do about this? -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Assigned] (CB-5526) Keycodes not getting identified and throws error on Android KitKat
[ https://issues.apache.org/jira/browse/CB-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-5526: -- Assignee: Joe Bowser Keycodes not getting identified and throws error on Android KitKat -- Key: CB-5526 URL: https://issues.apache.org/jira/browse/CB-5526 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.0.0 Environment: Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 I have created a sample with Cordova 3.1.0 and issue is still there. Reporter: Deep Singh Assignee: Joe Bowser Labels: patch Fix For: 2.0.0 Original Estimate: 672h Remaining Estimate: 672h Hi There - I got Google Nexus 5 phone today and tried to test my app on it. Most of the parts work fine but I get following error very frequently. And few parts are not working at all. Any idea what this error means? I searched internet but only found that Google has changed webkit to chromium. Can you provide more details on it or any solution? I have been talking phonegap (cordova) support and they confirmed it is an issue and I have to log defect here. 11-21 14:49:39.256: E/chromium(5721): [ERROR:aw_autofill_manager_delegate.cc(144)] Not implemented reached in virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues(const std::vector , const std::vector ) I have a custom method created by me for converting user entered values to currency format. And the above problem is happening all the time when I press delete button from keypad. Here is the code: function CurrencyFormatter(object, e, maxLength) { try { //alert(e.keyCode); var val = $.trim(object.value); var len = val.length + 1; var char = String.fromCharCode(e.keyCode); var pattern = new RegExp(/^[0-9]+$/); //console.log(char: + char); //console.log(pattern.test(char)); //console.log(pattern.test(new String(char))); if(len = maxLength pattern.test(char)) { //console.log(val); if(val == '0'){ if (val.length 0 val.length 11) val = val + char; } else if (val.length 11) val = val + char; object.value = formatCurrency(val, add); } else if(e.keyCode == 8) { //var numBox = document.getElementById('numBox'); if(val.length 0){ //pennies = pennies.substring(0, pennies.length - 1); object.value = formatCurrency(val, del); } } e.preventDefault(); return false; } catch (ex) { console.log(ex); } } function formatCurrency(amount, type) { var i = parseFloat(amount); var i2; //console.log(1: + i); if(isNaN(i)) { i = 0.00; } if(type == add) { i = Math.round(i * 1000); //console.log(1.5: + i); i = i / 100; //console.log(3: + i); } else if(type == del) { i = parseInt(i * 100); //console.log(2: + i); sub = new String(i); //console.log(sub1: + sub); sub = sub.substring(0, sub.length - 1) ; sub = sub == ? 0:sub; //console.log(sub2: + sub); i = parseFloat(sub); //console.log(del: + i); i = i / 100; //console.log(3: + i); } s = new String(i); if(s.indexOf('.') 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } //console.log(4: + s); return s; } The crash errors will not be on phone screen. The sample I have provided should work to enter just numbers and format it to currency. No special characters should be allowed. If you can enter special characters then the issue is there. Heres what my app is running on: Cordova - 2.0.0 Jquery Mobile - 1.0 Android - 4.4 (Kit kat) Device - Nexus 5 Will be waiting for your reply on this as we can't certify our app on Android 4.4 -Deep -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-5452) Implement ability to disable request of permission to record audio (Media plugin)
[ https://issues.apache.org/jira/browse/CB-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-5452. Resolution: Won't Fix You should be able to remove the RECORD_AUDIO permission yourself before releasing the application. Implement ability to disable request of permission to record audio (Media plugin) - Key: CB-5452 URL: https://issues.apache.org/jira/browse/CB-5452 Project: Apache Cordova Issue Type: Wish Components: Android Affects Versions: 3.1.0 Environment: Nexus 4, Android 4.3, Jelly Bean Reporter: Sergey Gospodarets Priority: Minor When user tries to install application, app asks for permission to record audio. Some users is stopping installation due to this. Actually we are using Media plugin just to play the audio. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Resolved] (CB-1575) If Media.play() is called before prepare is finished it fails silently
[ https://issues.apache.org/jira/browse/CB-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1575. Resolution: Unresolved This bug has gone stale, since I don't know what it's about and Simon hasn't touched it in years. :( If Media.play() is called before prepare is finished it fails silently -- Key: CB-1575 URL: https://issues.apache.org/jira/browse/CB-1575 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.1.0 Reporter: Simon MacDonald Assignee: Simon MacDonald Priority: Minor On Android we prepare the file before playing. That is done when you create the new Media. If the prepare is not done before you call the play function it will fail silently. This seems to happen more frequently on remote files which makes sense when you think about it. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Assigned] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-5504: -- Assignee: Joe Bowser Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Components: Android, Docs, Plugin Device, Plugin Media Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams Assignee: Joe Bowser There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
[ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837401#comment-13837401 ] Joe Bowser commented on CB-5504: I think that this makes sense. This could be done on postMessage. We need to document all the messages that we're posting, since we're doing this a lot. Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc --- Key: CB-5504 URL: https://issues.apache.org/jira/browse/CB-5504 Project: Apache Cordova Issue Type: Bug Components: Android, Docs, Plugin Device, Plugin Media Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. There is no documentation for this (before the great plugin break out, there didn't need to be) so if you just add the Media plugin, audio playback does not pause on an incoming or outgoing phone call. I am not advocating moving this into Media as there might be third party plugins listening for this. However, I do think that at the least this needs to be documented in the docs for the Media plugin/api and possibly even have Device as a dependancy for Media. There's another bug that is related involving android permissions but I will lodge that separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505]) -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Assigned] (CB-5505) The Device plugin is missing the permissions needed to read the telephone state (ringing, offhook, etc)
[ https://issues.apache.org/jira/browse/CB-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-5505: -- Assignee: Joe Bowser The Device plugin is missing the permissions needed to read the telephone state (ringing, offhook, etc) --- Key: CB-5505 URL: https://issues.apache.org/jira/browse/CB-5505 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.1.0 Reporter: Tommy-Carlos Williams Assignee: Joe Bowser There is a telephony receiver in the Device plugin that sends a message to all plugins so that they can handle incoming calls etc. Currently the only core plugin that listens for those messages is the Media plugin so that it can pause playback when a call comes in. The Device plugin does NOT however, set the android.permission.READ_PHONE_STATE in its plugin.xml so this does not work out of the box even if both plugins are installed. See: [CB-5504|https://issues.apache.org/jira/browse/CB-5504] -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Assigned] (CB-5430) [plugin-network-information] JS getInfo method does not work on Android
[ https://issues.apache.org/jira/browse/CB-5430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-5430: -- Assignee: Joe Bowser [plugin-network-information] JS getInfo method does not work on Android --- Key: CB-5430 URL: https://issues.apache.org/jira/browse/CB-5430 Project: Apache Cordova Issue Type: Bug Components: Android Reporter: Pepe Cano Assignee: Joe Bowser The error is described at http://stackoverflow.com/a/19894873/446317 Current JS implementation originates and exception because the getInfo method is available at the navigator.connection variable. So, the only way to use the API is to call directly: cordovaRef.exec(function(v) { }, function() { }, NetworkStatus, getConnectionInfo, []); -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5525) WP8. Contacts Api fails in case of there is special character in contact field
[ https://issues.apache.org/jira/browse/CB-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13837423#comment-13837423 ] Sergey Grebnov commented on CB-5525: Added fix via pull request below https://github.com/apache/cordova-plugin-contacts/pull/14 WP8. Contacts Api fails in case of there is special character in contact field -- Key: CB-5525 URL: https://issues.apache.org/jira/browse/CB-5525 Project: Apache Cordova Issue Type: Bug Components: Plugin Contacts, WP8 Affects Versions: 3.2.0 Reporter: Sergey Grebnov Assignee: Sergey Grebnov Repro steps 1. Add (double quote) character to some contact notes 2. Run mobile spec unit tests for contacts api 3. Expected: contacts.spec.3 success callback should be called with an array test is passed 4. Actual: there is exception when calling this.webBrowser.InvokeScript(script.ScriptName, script.Args) due to contact notes contains not escaped character so resultant JSON is malformed. -- This message was sent by Atlassian JIRA (v6.1#6144)