[
https://issues.apache.org/jira/browse/CB-8827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486467#comment-14486467
]
ASF subversion and git services commented on CB-8827:
-----------------------------------------------------
Commit 0f73884c8d93d071aa763079825b576ca493bf96 in cordova-android's branch
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=0f73884 ]
CB-8827 Call onResume for plugins on start-up
As a result, simplifies CordovaActivity by removing the now unused
"activityState" field
> onResume is not called on start-up, yet onStart is
> --------------------------------------------------
>
> Key: CB-8827
> URL: https://issues.apache.org/jira/browse/CB-8827
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> onStart was just added by CB-8684. There's code that prevents onResume from
> being called at start-up though.
> I think that on start-up, onResume *should* be sent to plugins, but the
> JavaScript "pause" event should not be sent. My reason:
> 1. JavaScript event is there to be consistent across platforms
> 2. Plugin onResume event is a native concern (platform-specific)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]