You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/10/24 20:54:03 UTC

[jira] [Resolved] (CB-5186) onResume for CordovaActivity not propagated to plugins on startup.

     [ https://issues.apache.org/jira/browse/CB-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-5186.
----------------------------

    Resolution: Not A Problem

We don't want onResume to propogate to the plugins on start up because of the following reasons:

1. The plugins may not exist
2. The plugins should be cleanly initialized and don't need to know about onResume in this use case


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