You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Graham Mueller (JIRA)" <ji...@apache.org> on 2015/01/28 17:18:34 UTC

[jira] [Created] (CB-8368) Android Passes Callback Status as Message

Graham Mueller created CB-8368:
----------------------------------

             Summary: Android Passes Callback Status as Message
                 Key: CB-8368
                 URL: https://issues.apache.org/jira/browse/CB-8368
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Graham Mueller


As a part of CB-6165, the callback status is no longer sent as the message. [This was a breaking change|https://github.com/apache/cordova-ios/commit/80a743670269eb8b9898cb1b090ff8f2d9164b15] that wasn't mentioned anywhere in release notes or anything... kind of frustrating, and (based on the Jira) seemingly without any reason other than "this doesn't seem necessary."

But, that rant aside, the same change was not made across all platforms. The [current version of Android PluginResult|https://github.com/apache/cordova-android/blob/fbeb379f1b2102d9d0739f92340c932bdc47873b/framework/src/org/apache/cordova/PluginResult.java#L37], the message is still sent. I haven't checked the other platforms, but presumably the change wasn't made there either. If this is the direction that the PluginResult is going to go, it should be consistent everywhere.



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