[ 
https://issues.apache.org/jira/browse/CB-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804566#comment-13804566
 ] 

Joe Bowser commented on CB-5186:
--------------------------------

Your constructor should be where you set up your plugin. That being said, very 
few plugins have actual constructors.

> 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)

Reply via email to