Apache Cordova
  1. Apache Cordova
  2. CB-2202

Remove deprecated - Android - org.apache.cordova.api.Plugin in favour of org.apache.cordova.api.CordovaPlugin

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: Android
    • Labels:
      None

      Description

      Per 6 month deprecation policy: http://wiki.apache.org/cordova/DeprecationPolicy

        Activity

        Hide
        Mike Billau added a comment -

        Hello, I am a little confused about the Deprecation Policy. Will the Plugin shim that Andrew Grieve wrote be removed in 2.7 or in the next major release (3.0)? The Policy seems to indicate that the shim will remain until 3.0 but this ticket has a fix version of 2.7. Thanks for the clarification.

        Show
        Mike Billau added a comment - Hello, I am a little confused about the Deprecation Policy. Will the Plugin shim that Andrew Grieve wrote be removed in 2.7 or in the next major release (3.0)? The Policy seems to indicate that the shim will remain until 3.0 but this ticket has a fix version of 2.7. Thanks for the clarification.
        Hide
        Shazron Abdullah added a comment -

        The 6 month policy was by consensus: http://markmail.org/thread/2kv55uttofg5np7h
        We should update the wiki.

        2.3.0 was released Jan 7 2013 - so 2.7.0 sounds about right?

        Show
        Shazron Abdullah added a comment - The 6 month policy was by consensus: http://markmail.org/thread/2kv55uttofg5np7h We should update the wiki. 2.3.0 was released Jan 7 2013 - so 2.7.0 sounds about right?
        Hide
        Joe Bowser added a comment -

        That's correct. We should just remove the plugin shim now, since it's confusing to plugin developers.

        Show
        Joe Bowser added a comment - That's correct. We should just remove the plugin shim now, since it's confusing to plugin developers.
        Hide
        Joe Bowser added a comment -

        You should probably get the last say on whether this gets cut.

        Show
        Joe Bowser added a comment - You should probably get the last say on whether this gets cut.
        Hide
        Andrew Grieve added a comment -

        Yes! Let's remove it. The conversion between the two is not too hard, so this will be good motivation. The main reason I'd like it gone is that it has an "isSync" function. I'll discuss a bit more in: https://issues.apache.org/jira/browse/CB-2963

        Show
        Andrew Grieve added a comment - Yes! Let's remove it. The conversion between the two is not too hard, so this will be good motivation. The main reason I'd like it gone is that it has an "isSync" function. I'll discuss a bit more in: https://issues.apache.org/jira/browse/CB-2963
        Show
        Andrew Grieve added a comment - ZAP! https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=4864d52966a317238ab48a84bbf12fe53240d3e3
        Hide
        Maciej Jaros added a comment -

        Hi. Could someone add this link:
        http://simonmacdonald.blogspot.com/2013/06/why-dont-my-plugins-work-in-phonegap.html

        To wiki (in The type "Plugin" is deprecated section):
        http://wiki.apache.org/cordova/DeprecationPolicy

        Also you should probably add info in the table that it was deprecated in 3.0.

        Show
        Maciej Jaros added a comment - Hi. Could someone add this link: http://simonmacdonald.blogspot.com/2013/06/why-dont-my-plugins-work-in-phonegap.html To wiki (in The type "Plugin" is deprecated section): http://wiki.apache.org/cordova/DeprecationPolicy Also you should probably add info in the table that it was deprecated in 3.0.
        Hide
        Andrew Grieve added a comment -

        Hey Maciej,

        Good suggestion. Simon's blog post doesn't mention threading, so I don't think it's a good idea to link to it. I've instead added a link to our plugin guide.

        Show
        Andrew Grieve added a comment - Hey Maciej, Good suggestion. Simon's blog post doesn't mention threading, so I don't think it's a good idea to link to it. I've instead added a link to our plugin guide.

          People

          • Assignee:
            Andrew Grieve
            Reporter:
            Shazron Abdullah
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development