Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0472CD36D for ; Thu, 28 Feb 2013 19:47:13 +0000 (UTC) Received: (qmail 3930 invoked by uid 500); 28 Feb 2013 19:47:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 3901 invoked by uid 500); 28 Feb 2013 19:47:12 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 3892 invoked by uid 99); 28 Feb 2013 19:47:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 19:47:12 +0000 Date: Thu, 28 Feb 2013 19:47:12 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-2595) Android - switching to PROMPT mode has unfriendly log message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589855#comment-13589855 ] Joe Bowser edited comment on CB-2595 at 2/28/13 7:45 PM: --------------------------------------------------------- I don't think this needs to be fixed, since this is actually a problem if this occurs. Sometimes the problem may be that our users have Android phones that run Froyo or Gingerbread. :) Seriously, though. This can also happen in Jellybean when Cordova developers are doing things like trying to restore state, and it's important that this error message be unfriendly. Error messages shouldn't be happy and friendly, they should indicate that there's a problem. was (Author: bowserj): I don't think this needs to be fixed, since this is actually a problem if this occurs. Sometimes the problem may be that our users have Android phones that run Froyo or Gingerbread. This can also happen in Jellybean when Cordova developers are doing things like trying to restore state, and it's important that this error message be unfriendly. Error messages shouldn't be happy and friendly, they should indicate that there's a problem. > Android - switching to PROMPT mode has unfriendly log message > ------------------------------------------------------------- > > Key: CB-2595 > URL: https://issues.apache.org/jira/browse/CB-2595 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: Master > Reporter: mike billau > Assignee: mike billau > Priority: Trivial > > When a Cordova app is running on an older version of Android, it switches bridge mode back to the old PROMPT mode. When this happens it kicks out a somewhat misleading log message that makes some people nervous: > 01-27 12:00:39.889: D/CordovaLog(12160): Falling back on PROMPT mode since _cordovaNative is missing. > 01-27 12:00:39.889: D/CordovaLog(12160): file:///data/data/com.testapp/files/www/default/client/js/cordova.js: Line 1034 : Falling back on PROMPT mode since _cordovaNative is missing. > 01-27 12:00:39.889: I/Web Console(12160): Falling back on PROMPT mode since _cordovaNative is missing. at file:///data/data/com.testapp/files/www/default/client/js/cordova.js:1034 > If you run a search for this error message you'll find a lot of confusion from our users. I think it'd be nice to change the message a bit to convey expectation so people stop asking questions about this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira