cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Schlamp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9570) CordovaPlugin lifecycle differs from Activity lifecycle
Date Thu, 27 Aug 2015 22:13:52 GMT
Kai Schlamp created CB-9570:
-------------------------------

             Summary: CordovaPlugin lifecycle differs from Activity lifecycle
                 Key: CB-9570
                 URL: https://issues.apache.org/jira/browse/CB-9570
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.5.0
            Reporter: Kai Schlamp


The CordovaPlugin has the same onStart and onResume callback methods as Androids Activity
class. Unfortunately those differ from the Activity Lifecycle (see http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle).
The onStart and onResume methods of CordovaPlugin are not called when the app starts for the
first time (in contrast to the appropriate Activitiy methods).
Wouldn't it make sense to have the same lifecycle as an Activity (which is quite right in
my opinion)?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message