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 Callback
Issue Type: Improvement
Components: Android, CordovaJS
Affects Versions: 1.6.0
Reporter: Filip Maj
Assignee: Joe Bowser
Fix For: 1.7.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