Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49741D393 for ; Fri, 6 Jul 2012 18:38:35 +0000 (UTC) Received: (qmail 66427 invoked by uid 500); 6 Jul 2012 18:38:35 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 66407 invoked by uid 500); 6 Jul 2012 18:38:35 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 66390 invoked by uid 99); 6 Jul 2012 18:38:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 18:38:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A8AB8142855 for ; Fri, 6 Jul 2012 18:38:34 +0000 (UTC) Date: Fri, 6 Jul 2012 18:38:34 +0000 (UTC) From: "Filip Maj (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <477220317.15309.1341599914697.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1212935611.14054.1334173398144.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (CB-481) Android initialize() method calls prompt('gap:init') to tell native to unhide webview 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-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj reopened CB-481: -------------------------- In 1.9 this got somehow removed... > Android initialize() method calls prompt('gap:init') to tell native to unhide webview > ------------------------------------------------------------------------------------- > > Key: CB-481 > URL: https://issues.apache.org/jira/browse/CB-481 > Project: Apache Cordova > Issue Type: Sub-task > Components: Android, CordovaJS > Affects Versions: 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.9.0 > Reporter: Filip Maj > Assignee: Filip Maj > Priority: Minor > Fix For: 2.0.0 > > > The final call in Android's cordova-js after everything is ready is to tell native to unhide the webview. This is done via a {{prompt}} call with string "gap_init" or something along those lines. > While this is fine, we already have the {{exec}} module in place to handle webview -> native communication. We should use that instead. It's kind of foolish to go one level below {{exec}} when we have the {{exec}} abstraction available and in place already. > This would also help the testing tool Ripple: Android Cordova apps being emulated in Ripple would no longer see an annoying prompt following app startup! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira