You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Anis KADRI <an...@apache.org> on 2013/04/18 01:47:48 UTC

[iOS] iOSExec

Hello,

Any reason why we keep on supporting the old exec signature on iOS ? [1]

[1]
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=blob;f=lib/ios/exec.js;h=5e237d968cb948438fc92694d9288d72c9c3a7ac;hb=125dca530923a44a8f44f68f5e1970cbdd4e7faf#l132

-a

Re: [iOS] iOSExec

Posted by Shazron <sh...@gmail.com>.
Alright, the concrete proposal is to take it out *now* and update the docs.
Leaving this for comments else it'll be just lazy consensus...

On Wednesday, April 17, 2013, Ian Clelland wrote:

> If it's going to be actually removed in 2.7, I would suggest that we should
> put a notice to that affect--immediately--in the 2.6 docs.
>
> It looks like that wording has been there since the 2.1 docs, so developers
> have certainly been warned for some time. On the other hand, keeping the
> deprecation notice unchanged for such a long time might make it look like
> we have no particular plans to remove it any time soon.
>
>
>
> On Wed, Apr 17, 2013 at 7:54 PM, Shazron <shazron@gmail.com <javascript:;>>
> wrote:
>
> > It's deprecated, see "Deprecated Plugin Signature Note":
> >
> >
> http://docs.phonegap.com/en/2.6.0/guide_plugin-development_ios_index.md.html#Developing%20a%20Plugin%20on%20iOS
> >
> > ... although I don't think we print out a notice currently.
> >
> > I propose that we remove it for the next version, it's definitely more
> than
> > 6 months. Either that, if we detect the old format, reject it, and
> > console.log the new signature so they can update the JS call, since the
> old
> > format is not portable across platforms - until 3.0 is out. Changing the
> > old signature format on Objective-C is another matter as well...
> >
> >
> > On Wed, Apr 17, 2013 at 4:47 PM, Anis KADRI <anis@apache.org<javascript:;>>
> wrote:
> >
> > > Hello,
> > >
> > > Any reason why we keep on supporting the old exec signature on iOS ?
> [1]
> > >
> > > [1]
> > >
> > >
> >
> https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=blob;f=lib/ios/exec.js;h=5e237d968cb948438fc92694d9288d72c9c3a7ac;hb=125dca530923a44a8f44f68f5e1970cbdd4e7faf#l132
> > >
> > > -a
> > >
> >
>

Re: [iOS] iOSExec

Posted by Ian Clelland <ic...@google.com>.
If it's going to be actually removed in 2.7, I would suggest that we should
put a notice to that affect--immediately--in the 2.6 docs.

It looks like that wording has been there since the 2.1 docs, so developers
have certainly been warned for some time. On the other hand, keeping the
deprecation notice unchanged for such a long time might make it look like
we have no particular plans to remove it any time soon.



On Wed, Apr 17, 2013 at 7:54 PM, Shazron <sh...@gmail.com> wrote:

> It's deprecated, see "Deprecated Plugin Signature Note":
>
> http://docs.phonegap.com/en/2.6.0/guide_plugin-development_ios_index.md.html#Developing%20a%20Plugin%20on%20iOS
>
> ... although I don't think we print out a notice currently.
>
> I propose that we remove it for the next version, it's definitely more than
> 6 months. Either that, if we detect the old format, reject it, and
> console.log the new signature so they can update the JS call, since the old
> format is not portable across platforms - until 3.0 is out. Changing the
> old signature format on Objective-C is another matter as well...
>
>
> On Wed, Apr 17, 2013 at 4:47 PM, Anis KADRI <an...@apache.org> wrote:
>
> > Hello,
> >
> > Any reason why we keep on supporting the old exec signature on iOS ? [1]
> >
> > [1]
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=blob;f=lib/ios/exec.js;h=5e237d968cb948438fc92694d9288d72c9c3a7ac;hb=125dca530923a44a8f44f68f5e1970cbdd4e7faf#l132
> >
> > -a
> >
>

Re: [iOS] iOSExec

Posted by Shazron <sh...@gmail.com>.
It's deprecated, see "Deprecated Plugin Signature Note":
http://docs.phonegap.com/en/2.6.0/guide_plugin-development_ios_index.md.html#Developing%20a%20Plugin%20on%20iOS

... although I don't think we print out a notice currently.

I propose that we remove it for the next version, it's definitely more than
6 months. Either that, if we detect the old format, reject it, and
console.log the new signature so they can update the JS call, since the old
format is not portable across platforms - until 3.0 is out. Changing the
old signature format on Objective-C is another matter as well...


On Wed, Apr 17, 2013 at 4:47 PM, Anis KADRI <an...@apache.org> wrote:

> Hello,
>
> Any reason why we keep on supporting the old exec signature on iOS ? [1]
>
> [1]
>
> https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=blob;f=lib/ios/exec.js;h=5e237d968cb948438fc92694d9288d72c9c3a7ac;hb=125dca530923a44a8f44f68f5e1970cbdd4e7faf#l132
>
> -a
>