[
https://issues.apache.org/jira/browse/CB-14059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458210#comment-16458210
]
ASF GitHub Bot commented on CB-14059:
-------------------------------------
codecov-io commented on issue #439: CB-14059: New interface for Android plugins
URL: https://github.com/apache/cordova-android/pull/439#issuecomment-385283964
#
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=h1)
Report
> Merging
[#439](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=desc)
into
[master](https://codecov.io/gh/apache/cordova-android/commit/59e3b907e9e54f06c45364dbc0b01e3780f73e66?src=pr&el=desc)
will **not change** coverage.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #439 +/- ##
=======================================
Coverage 44.16% 44.16%
=======================================
Files 17 17
Lines 1698 1698
Branches 314 314
=======================================
Hits 750 750
Misses 948 948
```
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=continue).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=footer).
Last update
[59e3b90...2d4c6e6](https://codecov.io/gh/apache/cordova-android/pull/439?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Improve API for plugin action handlers on Android platform
> ----------------------------------------------------------
>
> Key: CB-14059
> URL: https://issues.apache.org/jira/browse/CB-14059
> Project: Apache Cordova
> Issue Type: Improvement
> Reporter: Wojciech Trocki
> Priority: Minor
>
> On the cordova-dev list one of the community members suggested that Android
> APi seems to be much complex than IOS.
> See:
> http://mail-archives.apache.org/mod_mbox/cordova-dev/201804.mbox/%3Cpony-7bfc042908953daf1c7bd61390106e071c756368-457837495d8f36fb4e01073fadc53d7174bc0cbb%40dev.cordova.apache.org%3E
> ??cordova-ios has a nice method binding for plugins. Unfortunately
> cordova-android requires at present boilerplate implementation of method
> execute:??
> {code}
> public class MyPlugin extends CordovaPlugin {
> @Override
> public boolean execute(String action, JSONArray args, CallbackContext
> callbackContext) {
> if (METHOD_1.equals(action)) {
> method1(args, callbackContext);
> }
> else if (METHOD_2.equals(action)) {
> method2(args, callbackContext); ...
> }
> }
> }
> {code}
> Creating ticket to suggest improvements to Android Api.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]