[jira] [Commented] (CB-3559) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
[ https://issues.apache.org/jira/browse/CB-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671906#comment-13671906 ] ASF subversion and git services commented on CB-3559: - Commit 87acbbac9f889454813933ce5793f9846117c852 in branch refs/heads/master from [~lorin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=87acbba ] [CB-3559] adding 2.6.0 upgrade guide for blackberry > Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry > > > Key: CB-3559 > URL: https://issues.apache.org/jira/browse/CB-3559 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Affects Versions: 2.7.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.8.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-3559) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
[ https://issues.apache.org/jira/browse/CB-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer resolved CB-3559. Resolution: Fixed resolved with https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=87acbba > Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry > > > Key: CB-3559 > URL: https://issues.apache.org/jira/browse/CB-3559 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Affects Versions: 2.7.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.8.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3559) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
[ https://issues.apache.org/jira/browse/CB-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-3559: --- Component/s: BlackBerry > Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry > > > Key: CB-3559 > URL: https://issues.apache.org/jira/browse/CB-3559 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Reporter: Lorin Beer >Assignee: Lorin Beer > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3559) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
[ https://issues.apache.org/jira/browse/CB-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-3559: --- Affects Version/s: 2.7.0 > Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry > > > Key: CB-3559 > URL: https://issues.apache.org/jira/browse/CB-3559 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Affects Versions: 2.7.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3559) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
[ https://issues.apache.org/jira/browse/CB-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer updated CB-3559: --- Fix Version/s: 2.8.0 > Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry > > > Key: CB-3559 > URL: https://issues.apache.org/jira/browse/CB-3559 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Affects Versions: 2.7.0 >Reporter: Lorin Beer >Assignee: Lorin Beer > Fix For: 2.8.0 > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3564) Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry
Lorin Beer created CB-3564: -- Summary: Update Upgrading Guide for 2.6.0 -> 2.7.0 for BlackBerry Key: CB-3564 URL: https://issues.apache.org/jira/browse/CB-3564 Project: Apache Cordova Issue Type: Bug Reporter: Lorin Beer Assignee: Lorin Beer -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3497) ./bin/create script requires `npm install` to be run
[ https://issues.apache.org/jira/browse/CB-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer reassigned CB-3497: -- Assignee: Lorin Beer (was: Tim Kim) > ./bin/create script requires `npm install` to be run > > > Key: CB-3497 > URL: https://issues.apache.org/jira/browse/CB-3497 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry >Affects Versions: 2.8.0 >Reporter: Filip Maj >Assignee: Lorin Beer > > Tsted with latest 2.8.x branch. > The create script should bootstrap itself as appropriate. Right now, you need > to run npm install before you can run create. > This is an issue for tools consuming the script (i.e. cordova-cli). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671883#comment-13671883 ] Shazron Abdullah commented on CB-3531: -- Also I think in this case, the IAB UIWebView's resources have not been "cleaned up" yet by the system - the workaround is to load about:blank or something before close I suppose > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671880#comment-13671880 ] Shazron Abdullah commented on CB-3531: -- I think this is the nature of things on iOS with respect to UIKit. Everything in UIKit needs to be run on the main thread, and UIWebViews (the components that make up the main webview and InAppBrowser) are part of UIKit. Not sure if we can do anything about this :/ > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671876#comment-13671876 ] Shazron Abdullah commented on CB-3531: -- Done button action handler already calls close(). If you could provide some url we this can be repro'ed that would be great. > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671875#comment-13671875 ] ASF subversion and git services commented on CB-3530: - Commit e7fbca99e3e38586f68771bfc2a09f5ee420dd67 in branch refs/heads/master from Shazron Abdullah [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=e7fbca9 ] [CB-3530] PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1" > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671864#comment-13671864 ] Shazron Abdullah commented on CB-3530: -- Still couldn't repro, but found the culprit I think (thanks for the clues in the description): https://github.com/apache/cordova-ios/blob/7e0a32892a540295e7de5da6a4832dfdaf337ac0/CordovaLib/Classes/CDVWebViewDelegate.m#L200 didFailLoadWithError code always assumes that the NSError passed in is not nil. The fix is not to pass in nil there but create a default one. > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CB-2797) add ./bin/check_reqs script to BlackBerry
[ https://issues.apache.org/jira/browse/CB-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorin Beer reopened CB-2797: BBOS has been announced as deprecated, but PlayBook will survive 3.0. While PlayBook is not an officially supported platform, I still want proper support in place. I'm testing the windows version of the scripts today, the CLI scripting issues should be all resolved for BB10 and playbook by next week. > add ./bin/check_reqs script to BlackBerry > - > > Key: CB-2797 > URL: https://issues.apache.org/jira/browse/CB-2797 > Project: Apache Cordova > Issue Type: Sub-task > Components: BlackBerry >Reporter: Filip Maj >Assignee: Lorin Beer > Fix For: 2.8.0 > > > Add a script to check if the machine supports creating/running/compiling > cordova-blackberry projects. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3501) [BlackBerry10] Media automated tests stall on spec.12
[ https://issues.apache.org/jira/browse/CB-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671795#comment-13671795 ] Bryan Higgins commented on CB-3501: --- Rosa - don't worry about Media, I've got it mostly working. Yes - it is a hack, but the hack circumvents the OS issue. > [BlackBerry10] Media automated tests stall on spec.12 > - > > Key: CB-3501 > URL: https://issues.apache.org/jira/browse/CB-3501 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry, mobile-spec >Affects Versions: 2.8.0 >Reporter: Bryan Higgins >Assignee: Bryan Higgins > Fix For: 2.8.0 > > > This MP3 file does not start playing in mobile spec and the app freezes. > http://cordova.apache.org/downloads/BlueZedEx.mp3 > Running the same code outside of mobile spec works correctly. > By replacing the MP3 file with an alternate, the test passes and mobile spec > completes: > http://ev2013.fll.cc/FLL%20EV13%20Theme%20-%20I%20Dreamed%20of%20Love.mp3 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-2797) add ./bin/check_reqs script to BlackBerry
[ https://issues.apache.org/jira/browse/CB-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671776#comment-13671776 ] Jeffrey Heifetz commented on CB-2797: - Resolved for BlackBerry10. Since BlackBerryOS and PlayBookOS will not survive 3.0 I am closing this as resolved. > add ./bin/check_reqs script to BlackBerry > - > > Key: CB-2797 > URL: https://issues.apache.org/jira/browse/CB-2797 > Project: Apache Cordova > Issue Type: Sub-task > Components: BlackBerry >Reporter: Filip Maj >Assignee: Lorin Beer > Fix For: 2.8.0 > > > Add a script to check if the machine supports creating/running/compiling > cordova-blackberry projects. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-2797) add ./bin/check_reqs script to BlackBerry
[ https://issues.apache.org/jira/browse/CB-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeffrey Heifetz resolved CB-2797. - Resolution: Fixed > add ./bin/check_reqs script to BlackBerry > - > > Key: CB-2797 > URL: https://issues.apache.org/jira/browse/CB-2797 > Project: Apache Cordova > Issue Type: Sub-task > Components: BlackBerry >Reporter: Filip Maj >Assignee: Lorin Beer > Fix For: 2.8.0 > > > Add a script to check if the machine supports creating/running/compiling > cordova-blackberry projects. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3563) Replace remaining instances of DroidGap with CordovaActivity
[ https://issues.apache.org/jira/browse/CB-3563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671567#comment-13671567 ] ASF subversion and git services commented on CB-3563: - Commit c509c8e7e53bdd0dd78481c6f0bdada8bf0800ee in branch refs/heads/master from Ian Clelland [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=c509c8e ] [CB-3563] Update references to DroidGap in code comments > Replace remaining instances of DroidGap with CordovaActivity > > > Key: CB-3563 > URL: https://issues.apache.org/jira/browse/CB-3563 > Project: Apache Cordova > Issue Type: Improvement >Reporter: Ian Clelland >Priority: Minor > > Post CB-2657, there are still a couple of places where the DroidGap name / > class remains. For consistency, these should be replaced with CordovaActivity > or removed outright where appropriate. > We might actually be able to purge DroidGap with the 3.0 release, if we get > this cleaned up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3563) Replace remaining instances of DroidGap with CordovaActivity
[ https://issues.apache.org/jira/browse/CB-3563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671568#comment-13671568 ] ASF subversion and git services commented on CB-3563: - Commit fb89cef256be6521ce3b1178fbd392cddd2a4686 in branch refs/heads/master from Ian Clelland [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=fb89cef ] [CB-3563] Replace instances of DroidGap in log messages with more appropriate symbols > Replace remaining instances of DroidGap with CordovaActivity > > > Key: CB-3563 > URL: https://issues.apache.org/jira/browse/CB-3563 > Project: Apache Cordova > Issue Type: Improvement >Reporter: Ian Clelland >Priority: Minor > > Post CB-2657, there are still a couple of places where the DroidGap name / > class remains. For consistency, these should be replaced with CordovaActivity > or removed outright where appropriate. > We might actually be able to purge DroidGap with the 3.0 release, if we get > this cleaned up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3563) Replace remaining instances of DroidGap with CordovaActivity
[ https://issues.apache.org/jira/browse/CB-3563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671533#comment-13671533 ] ASF subversion and git services commented on CB-3563: - Commit 9ac9fd4fe90742f8d00fdc7ef43e74c6352f4122 in branch refs/heads/master from Ian Clelland [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=9ac9fd4 ] [CB-3563] Change default logging tag from DroidGap to CordovaActivity > Replace remaining instances of DroidGap with CordovaActivity > > > Key: CB-3563 > URL: https://issues.apache.org/jira/browse/CB-3563 > Project: Apache Cordova > Issue Type: Improvement >Reporter: Ian Clelland >Priority: Minor > > Post CB-2657, there are still a couple of places where the DroidGap name / > class remains. For consistency, these should be replaced with CordovaActivity > or removed outright where appropriate. > We might actually be able to purge DroidGap with the 3.0 release, if we get > this cleaned up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3561) Misleading class comments - CordovaInterface, CordovaActivity
[ https://issues.apache.org/jira/browse/CB-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671534#comment-13671534 ] ASF subversion and git services commented on CB-3561: - Commit dfb89df4f16104961f6493dfa815909cdfaf51bd in branch refs/heads/master from Ian Clelland [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=dfb89df ] [CB-3561] Update documentation comments to match implementation Affects CordovaInterface and CordovaActivity. There should probably be a concerted effort to update this across the entire project. > Misleading class comments - CordovaInterface, CordovaActivity > - > > Key: CB-3561 > URL: https://issues.apache.org/jira/browse/CB-3561 > Project: Apache Cordova > Issue Type: Task > Components: Android >Affects Versions: 2.7.0 >Reporter: Peter >Assignee: Ian Clelland >Priority: Trivial > > The class level comment for {{CordovaInterface.java}} is incorrect. Seems > like some hangover from a previous implementation when this was an abstract > class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3563) Replace remaining instances of DroidGap with CordovaActivity
Ian Clelland created CB-3563: Summary: Replace remaining instances of DroidGap with CordovaActivity Key: CB-3563 URL: https://issues.apache.org/jira/browse/CB-3563 Project: Apache Cordova Issue Type: Improvement Reporter: Ian Clelland Priority: Minor Post CB-2657, there are still a couple of places where the DroidGap name / class remains. For consistency, these should be replaced with CordovaActivity or removed outright where appropriate. We might actually be able to purge DroidGap with the 3.0 release, if we get this cleaned up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-3561) Misleading class comments - CordovaInterface, CordovaActivity
[ https://issues.apache.org/jira/browse/CB-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Clelland updated CB-3561: - Summary: Misleading class comments - CordovaInterface, CordovaActivity (was: Misleading class comment - CordovaInterface) > Misleading class comments - CordovaInterface, CordovaActivity > - > > Key: CB-3561 > URL: https://issues.apache.org/jira/browse/CB-3561 > Project: Apache Cordova > Issue Type: Task > Components: Android >Affects Versions: 2.7.0 >Reporter: Peter >Assignee: Ian Clelland >Priority: Trivial > > The class level comment for {{CordovaInterface.java}} is incorrect. Seems > like some hangover from a previous implementation when this was an abstract > class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3561) Misleading class comment - CordovaInterface
[ https://issues.apache.org/jira/browse/CB-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671522#comment-13671522 ] Ian Clelland commented on CB-3561: -- Looks like the CordovaActivity class has some outdated comments as well. I'm cleaning those up. > Misleading class comment - CordovaInterface > --- > > Key: CB-3561 > URL: https://issues.apache.org/jira/browse/CB-3561 > Project: Apache Cordova > Issue Type: Task > Components: Android >Affects Versions: 2.7.0 >Reporter: Peter >Assignee: Ian Clelland >Priority: Trivial > > The class level comment for {{CordovaInterface.java}} is incorrect. Seems > like some hangover from a previous implementation when this was an abstract > class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-3561) Misleading class comment - CordovaInterface
[ https://issues.apache.org/jira/browse/CB-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Clelland reassigned CB-3561: Assignee: Ian Clelland (was: Joe Bowser) > Misleading class comment - CordovaInterface > --- > > Key: CB-3561 > URL: https://issues.apache.org/jira/browse/CB-3561 > Project: Apache Cordova > Issue Type: Task > Components: Android >Affects Versions: 2.7.0 >Reporter: Peter >Assignee: Ian Clelland >Priority: Trivial > > The class level comment for {{CordovaInterface.java}} is incorrect. Seems > like some hangover from a previous implementation when this was an abstract > class. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CB-3562) Wrong splash screen ratio for landscape-only applications
Michael Hanselmann created CB-3562: -- Summary: Wrong splash screen ratio for landscape-only applications Key: CB-3562 URL: https://issues.apache.org/jira/browse/CB-3562 Project: Apache Cordova Issue Type: Bug Components: iOS, Plugin SplashScreen Affects Versions: 2.7.0, 2.6.0 Reporter: Michael Hanselmann Assignee: Shazron Abdullah CDVSplashScreen.m shows the splash image with a wrong ratio for landscape-only applications on iPhone/iPod touch devices. I fixed it locally by applying a 90° transformation (“CGAffineTransformMakeRotation(M_PI / 2)”) to the image view. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3531) InAppBrowser hangs the app in case of no/delayed response from server
[ https://issues.apache.org/jira/browse/CB-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671270#comment-13671270 ] Montyleena commented on CB-3531: Does calling ref.close() from the main application cancel the URL request too? Maybe, we can call ref.close() explicitly when "Done" button is clicked. To reproduce this issue, we can access some URL where the script takes long time to respond > InAppBrowser hangs the app in case of no/delayed response from server > - > > Key: CB-3531 > URL: https://issues.apache.org/jira/browse/CB-3531 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 > Android 4.1.2 >Reporter: Montyleena >Assignee: Steve Gill > Labels: hangs, inappbrowser, > > The InappBrowser hangs the entire application if the URL takes long time to > respond or doesn't respond. Even if we manage to close the InAppBrowser using > the "Done" button and return to the main application, the application stops > responding. The expected behavior is that once we close the child browser by > clicking the "Done" button, it should cancel the URL request but this doesn't > happen. The application remains in non-responding state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671269#comment-13671269 ] Montyleena commented on CB-3530: Thanks! that sounds good. Will this fix be included in 2.8.0? Can you please also look at this issue: https://issues.apache.org/jira/browse/CB-3531 > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671268#comment-13671268 ] Shazron Abdullah commented on CB-3530: -- Thank you! I'll verify and fix tomorrow. > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671267#comment-13671267 ] Montyleena commented on CB-3530: Try with this URL: en.wikipedia.org/wiki/Hashtag Click on different items in the TOC like Origin, Style etc. if you don't get the error the 1st time after clicking on an item, then scroll to the top of this URL page and click on another link, eventually you will get the following error: "CDVWebViewDelegate: Navigation started when state=1" "webView: didFailLoadWithError - (null) *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3] I can reproduce this even on the iPad simulator. After this error, all links stop working in the same instance of InAppBrowser and i get 3 lines of error mentioned above. > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-3530) PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation started when state=1"
[ https://issues.apache.org/jira/browse/CB-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671238#comment-13671238 ] Shazron Abdullah commented on CB-3530: -- Please provide a url that this can be replicated on, since I can't repro this > PhoneGap app crashes on iOS with error "CDVWebViewDelegate: Navigation > started when state=1" > > > Key: CB-3530 > URL: https://issues.apache.org/jira/browse/CB-3530 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin InAppBrowser >Affects Versions: 2.7.0 > Environment: Mac OSX 10.8.3, XCode 4.6.2, iOS 6.1 >Reporter: Montyleena >Assignee: Shazron Abdullah > Labels: crash, iOS,, inappbrowser, > Fix For: 2.8.0 > > > I have a PhoneGap app on iOS which was working fine with PhoneGap 2.3.0 but > crashes with 2.7.0 with the following error: > 2013-05-02 10:08:13.214 App[8896:c07] CDVWebViewDelegate: Navigation started > when state=1 > 2013-05-02 10:08:13.215 App[8896:c07] Failed to load webpage with error: > (null) > The problem is: > CDVWebViewDelegate.m: shouldStartLoadWithRequest() function: In switch case, > default: error code is being passed as nil > and in CDVInAppBrowser.m: didFailLoadWithError() function, > error.localizedDescription is being referenced, which causes a crash as error > object is nil. > For now, i added a check in the above function to put default values for > error code if the error object is nil. I hope this crash is fixed in the next > PhoneGap release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (CB-3550) Undefined error while open database when comes back from inappBrowser link: android
[ https://issues.apache.org/jira/browse/CB-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671216#comment-13671216 ] saurabh Trivedi edited comment on CB-3550 at 5/31/13 7:14 AM: -- Hello Joe bowser thanks for reply , however my question was on some other expects like I am developing a android based application through Phonegap(Jscript, HTML5) , on my application i saved dataBase with .db extension in assets folder and on very starting of application copy the database to app database file, every thing is fine till now , able to do transaction to database successfully fetching the data from db , but the problem is when i am opening the external Link (Browser) from my app and comes back to my app and if now i do any type of query from db its throwing error as "Undefined". my code for fetching the data from database is Below. so where is the problem while i have database , its should not be lost. code for copying the database from my assets folder is: @Override public void onCreate(Bundle savedInstanceState) { try { this.copy("Databases.db", "/data/data/" + pName + "/app_database/"); this.copy("0001.db", "/data/data/" + pName + "/app_database/file__0/"); super.onCreate(savedInstanceState); super.setIntegerProperty("splashscreen", R.drawable.splash); super.loadUrl( "file:///android_asset/www/index.html", 2000); } void copy(String file, String folder) throws IOException { Log.d("GRT", "We are in the copy of db"); File CheckDirectory; CheckDirectory = new File(folder); if (!CheckDirectory.exists()) { Log.d("GRT", "Creating copy of db db"); CheckDirectory.mkdir(); } else { Log.d("GRT", "Databse already exists"); } InputStream in = getApplicationContext().getAssets().open(file); OutputStream out = new FileOutputStream(folder + file); // Transfer bytes from in to out byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) > 0) out.write(buf, 0, len); in.close(); out.close(); } function queryRecommded(){ var db = window.openDatabase("Database", "1.0", "GRTDB", 20); db.transaction(queryRecommondedProduct, errorCB2, successCB); } } function queryRecommondedProduct(tx){ try{ //alert("SQL gonna run now"); var progressHud =window.plugins.waitingDialog; progressHud.show("Loading...Please wait"); tx.executeSql("Select aa.ProductID,aa.ProductName,aa.Price,aa.Description,aa.Specification,aa.VideoLink,ab.GalleryID,ab.Location,ab.ImageName,ab.LocalFolder,aa.Buy_Now from tblProduct aa inner join tblGallery ab on aa.ProductId=ab.ProductId where aa.ProductId=(select RecomProdId from tblQuery where AnswerQ1='"+shouseType.toLowerCase()+"' AND AnswerQ2='"+lawnSize.toLowerCase()+"' AND AnswerQ3='"+lawnobstacle.toLowerCase()+"' AND AnswerQ4='"+trimmingneeds.toLowerCase()+"' AND AnswerQ5='"+strimfreq.toLowerCase()+"' AND IsDeleted='0' ORDER BY ProductAnswerId ASC LIMIT 1 ) and aa.IsDeleted ='0' and ab.IsDeleted ='0' and ab.IsDownLoad ='1'", [],function(tx,result){queryRecommdedSuccess(tx,result,"isReccom")}, errorCB4); } catch(e) { alert("test"+e); } } after executing my "queryRecommondedProduct" controls goes over to errorCB4 method with error Undefined. Please look at this. was (Author: saurabh26213): Hello Joe bowser thanks for reply , however my question was on some other expects like I am developing a android based application through Phonegap(Jscript, HTML5) , on my application i saved dataBase with .db extension in assets folder and on very starting of application copy the database to app database file, every thing is fine till now , able to do transaction to database successfully fetching the data from db , but the problem is when i am opening the external Link (Browser) from my app and comes back to my app and if now i do any type of query from db its throwing error as "Undefined". my code for fetching the data from database is Below. so where is the problem while i have database , its should not be lost. code for copying the database from my assets folder is: @Override public void onCreate(Bundle savedInstanceState) { try { this.copy("Databases.db", "/data/data/" + pName + "/app_database/");
[jira] [Commented] (CB-3550) Undefined error while open database when comes back from inappBrowser link: android
[ https://issues.apache.org/jira/browse/CB-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13671216#comment-13671216 ] saurabh Trivedi commented on CB-3550: - Hello Joe bowser thanks for reply , however my question was on some other expects like I am developing a android based application through Phonegap(Jscript, HTML5) , on my application i saved dataBase with .db extension in assets folder and on very starting of application copy the database to app database file, every thing is fine till now , able to do transaction to database successfully fetching the data from db , but the problem is when i am opening the external Link (Browser) from my app and comes back to my app and if now i do any type of query from db its throwing error as "Undefined". my code for fetching the data from database is Below. so where is the problem while i have database , its should not be lost. code for copying the database from my assets folder is: @Override public void onCreate(Bundle savedInstanceState) { try { this.copy("Databases.db", "/data/data/" + pName + "/app_database/"); this.copy("0001.db", "/data/data/" + pName + "/app_database/file__0/"); super.onCreate(savedInstanceState); super.setIntegerProperty("splashscreen", R.drawable.splash); super.loadUrl( "file:///android_asset/www/index.html", 2000); } void copy(String file, String folder) throws IOException { Log.d("GRT", "We are in the copy of db"); File CheckDirectory; CheckDirectory = new File(folder); if (!CheckDirectory.exists()) { Log.d("GRT", "Creating copy of db db"); CheckDirectory.mkdir(); } else { Log.d("GRT", "Databse already exists"); } InputStream in = getApplicationContext().getAssets().open(file); OutputStream out = new FileOutputStream(folder + file); // Transfer bytes from in to out byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) > 0) out.write(buf, 0, len); in.close(); out.close(); } function queryRecommded(){ var db = window.openDatabase("Database", "1.0", "GRTDB", 20); db.transaction(queryRecommondedProduct, errorCB2, successCB); } } function queryRecommondedProduct(tx){ try{ //alert("SQL gonna run now"); var progressHud =window.plugins.waitingDialog; progressHud.show("Loading...Please wait"); tx.executeSql("Select aa.ProductID,aa.ProductName,aa.Price,aa.Description,aa.Specification,aa.VideoLink,ab.GalleryID,ab.Location,ab.ImageName,ab.LocalFolder,aa.Buy_Now from tblProduct aa inner join tblGallery ab on aa.ProductId=ab.ProductId where aa.ProductId=(select RecomProdId from tblQuery where AnswerQ1='"+shouseType.toLowerCase()+"' AND AnswerQ2='"+lawnSize.toLowerCase()+"' AND AnswerQ3='"+lawnobstacle.toLowerCase()+"' AND AnswerQ4='"+trimmingneeds.toLowerCase()+"' AND AnswerQ5='"+strimfreq.toLowerCase()+"' AND IsDeleted='0' ORDER BY ProductAnswerId ASC LIMIT 1 ) and aa.IsDeleted ='0' and ab.IsDeleted ='0' and ab.IsDownLoad ='1'", [],function(tx,result){queryRecommdedSuccess(tx,result,"isReccom")}, errorCB4); } catch(e) { alert("test"+e); } } > Undefined error while open database when comes back from inappBrowser link: > android > --- > > Key: CB-3550 > URL: https://issues.apache.org/jira/browse/CB-3550 > Project: Apache Cordova > Issue Type: Bug > Components: Android >Affects Versions: 2.7.0 >Reporter: saurabh Trivedi >Assignee: Joe Bowser > > save db file on assets folder , on application launch time copy database to > application database file, successful open database and fetch data from db, > navigate to external link using IN app browser and come back to my > application, getting database Undefined while fetching again data from db > ,database connectivity Issues occurring, and error is Undefined. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira