Github user nikhilkh commented on a diff in the pull request:
https://github.com/apache/cordova-docs/pull/461#discussion_r50504102
--- Diff: www/docs/en/dev/guide/platforms/android/lifecycle.md ---
@@ -116,10 +196,21 @@ onResume(event) {
if(event.pendingResult) {
// Figure out whether or not the plugin call was successful
if(event.pendingResult.pluginStatus === "OK") {
- successCallback(event.result);
+ successCallback(event.pendingResult.result);
--- End diff --
What does this successCallback refer to? Perhaps you want to give a
realistic example with cordova-plugin-camera. I would recommend including the
same example in cordova-pluign-camera docs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]