cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: Android - Removing the .api namespace
Date Tue, 09 Jul 2013 21:28:54 GMT
On Mon, Jul 8, 2013 at 12:50 PM, Andrew Grieve <agrieve@chromium.org> wrote:
> Want to bring this up again.
>
> There was a bit of discussion on the bug:
> https://issues.apache.org/jira/browse/CB-4038
>
> I've already gone ahead with creating backward-compatiblity classes in the
> .api namespace, but I think it would be better to just delete them.
>
> Main points in favour:
> 1. For 3.0, people will need to do some work to their plugins anyways (add
> plugin.xml + refactor their JS into modules comes to mind)
> 2. The change to plugins is trivial. Just replace all occurrences of
> "import org.apache.cordova.api" with "import org.apache.cordova".
>

I'm OK with it for now, only because we don't have the time to
formalize the Android Plugin API.  I would have liked to keep the api
separation but perhaps we can revisit this 3.1 or 3.2.

Mime
View raw message