[
https://issues.apache.org/jira/browse/CB-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804578#comment-13804578
]
Andrew Grieve commented on CB-5186:
-----------------------------------
Slight clarification - You should use the initialize() method as your
constructor since that's when you get a reference to the WebView. If you want
your plugin to load when the app starts, use add <param name="onload"
value="true" /> inside of your <feature> tag.
> onResume for CordovaActivity not propagated to plugins on startup.
> ------------------------------------------------------------------
>
> Key: CB-5186
> URL: https://issues.apache.org/jira/browse/CB-5186
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.1.0
> Reporter: James Stephenson
> Priority: Minor
>
> Why does CordovaActivity do the following?
> https://github.com/apache/cordova-android/blob/28c41294bba746c75beae0ab26a42c8412cc665a/framework/src/org/apache/cordova/CordovaActivity.java#L742
> From a plugin's POV, it then becomes difficult to determine when the main
> activity initially starts up.
--
This message was sent by Atlassian JIRA
(v6.1#6144)