[
https://issues.apache.org/jira/browse/CB-9621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-9621.
----------------------------
Resolution: Won't Fix
No, this doesn't make sense because plugins aren't created when the app is
created. See CB-9620 for a more detailed explanation.
> onCreate and onRestart in Android CordovaPlugin
> -----------------------------------------------
>
> Key: CB-9621
> URL: https://issues.apache.org/jira/browse/CB-9621
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 5.1.1
> Reporter: Kai Schlamp
> Priority: Minor
>
> Wouldn't it make sense to have "onCreate" and "onRestart" also in
> CordovaPlugin? We could then interact on the full lifecyle of an activity in
> our plugin class without overwriting the MainActivity itself (see
> http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle).
> We already have the other methods "onStart", "onResume", "onPause",
> "onStop", "onDestroy".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]