You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Joe Bowser <bo...@gmail.com> on 2014/11/07 16:50:46 UTC

Re: cordova 64-bit support

Can you be more specific?  I'm not sure what you're asking.

On Fri Nov 07 2014 at 7:43:27 AM Vadiraj V <vv...@kodiaknetworks.com>
wrote:

> I would like to know if cordova supports 64-bit - if so, from which
> version it supports and any supporting documentation exists. Thanks.
>
>
> Regards,
> Vadiraj.
>
>

Re: cordova 64-bit support

Posted by Josh Soref <js...@blackberry.com>.
Ian Clelland wrote:
> The question doesn't reference any particular platform, for one.

True

> Is this a Windows phone question? An iOS question? Android? Workstation?
> There's no actual answer to it, as stated.

I see it as a documentation question.
I think it's legitimate to ask about documenting support for all supported
platforms.

>I totally agree that we should document which platforms support / require
>64-bit binaries, along with what we support in general, it's just that, as
>Joe said, we need more into to answer the original question.

I don't really think we need more information.
Sure we have to decide if there's a question about "cordova-cli host" vs.
"cordova generated binaries target",
I think it's reasonable to assume that no one really cares about the host
side because "it just works" (unless there's some amusing platform where
it doesn't).

>iOS supports 64-bit devices (as of 3.4.1).

We should definitely document this.

>I haven't looked to see whether the compiled binaries are 64-bit,
> or if they're 32-bit but run on both arm32 and arm64.

I suppose it's worth deciding if it's important to indicate whether it's a
"runs on" vs "is-native".
It probably mostly matters in case some platform switches from "64bit w/
32bit support" to "64bit only", in which case a previous "32bit that runs
on 64bit" would switch too "does not work at all".

>Android is a Java platform, and so doesn't care about 32- or 64- bit width
>at the level that Cordova operates on.

> The crosswalk plugin includes native code,
>and that code is 32-bit on both ARM and x86 right now.

We're going to need to split out crosswalk somewhere on our supported
platforms table...

>I haven't tested on a 64-bit device yet, but I expect that the
>libxwalkcore.so
>library will at least load on them.



>Other people can chime in on other platforms, if what I've written isn't
>what the original question was about.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org

Re: cordova 64-bit support

Posted by Joe Bowser <bo...@gmail.com>.
+1

I think we really need more data.  I know that in Marcel's case, there's
the Asia-Pacific customer, but I have no idea how big that customer base
is.  The only numbers I have are the Play Store. and I think the same thing
goes for iOS and the App Store.  In Android's case, there's a lot of
third-party manufacturers who don't pass CTS.  I personally don't want to
support any android device that can't pass CTS (that includes the Android
emulator), since that means that we're supporting a new platform that may
or may not be Android-like.

At least with iOS, we know that iOS has no weird surprises like SDK classes
not existing.

On Mon Nov 10 2014 at 11:17:28 AM Shazron <sh...@gmail.com> wrote:

> We'll delay this decision for another time, in a proper thread without
> hijacking this one.
>
> On Mon, Nov 10, 2014 at 8:37 AM, Marcel Kinard <cm...@gmail.com> wrote:
>
> > My customers still need iOS 6. Specifically the ones in the Asia-Pacific
> > area. The feedback we are getting from there is that end users hold on
> the
> > devices for longer periods than compared to North America / Europe, and
> > they are also less likely to perform os upgrades even when available.
> >
> > Not all areas of the world behave the same.
> >
> > My team can help with iOS 6 testing, we have devices here. If there is
> not
> > a technical reason to remove iOS 6 support, my preference is to keep it
> in
> > a while longer.
> >
> > On Nov 10, 2014, at 11:10 AM, Ian Clelland <ic...@chromium.org>
> wrote:
> >
> > > I know that's been our Android policy; I though that iOS was roughly
> "we
> > > support the current release and the one previous release", which would
> > mean
> > > that we're already good to start just supporting iOS 7 and 8
> exclusively.
> > >
> > > (Not that it's a big difference -- a 1-month delay is about what it
> would
> > > take to get another cordova-ios release out anyway :) )
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> > For additional commands, e-mail: dev-help@cordova.apache.org
> >
> >
>

Re: cordova 64-bit support

Posted by Shazron <sh...@gmail.com>.
We'll delay this decision for another time, in a proper thread without
hijacking this one.

On Mon, Nov 10, 2014 at 8:37 AM, Marcel Kinard <cm...@gmail.com> wrote:

> My customers still need iOS 6. Specifically the ones in the Asia-Pacific
> area. The feedback we are getting from there is that end users hold on the
> devices for longer periods than compared to North America / Europe, and
> they are also less likely to perform os upgrades even when available.
>
> Not all areas of the world behave the same.
>
> My team can help with iOS 6 testing, we have devices here. If there is not
> a technical reason to remove iOS 6 support, my preference is to keep it in
> a while longer.
>
> On Nov 10, 2014, at 11:10 AM, Ian Clelland <ic...@chromium.org> wrote:
>
> > I know that's been our Android policy; I though that iOS was roughly "we
> > support the current release and the one previous release", which would
> mean
> > that we're already good to start just supporting iOS 7 and 8 exclusively.
> >
> > (Not that it's a big difference -- a 1-month delay is about what it would
> > take to get another cordova-ios release out anyway :) )
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Re: cordova 64-bit support

Posted by Marcel Kinard <cm...@gmail.com>.
My customers still need iOS 6. Specifically the ones in the Asia-Pacific area. The feedback we are getting from there is that end users hold on the devices for longer periods than compared to North America / Europe, and they are also less likely to perform os upgrades even when available.

Not all areas of the world behave the same.

My team can help with iOS 6 testing, we have devices here. If there is not a technical reason to remove iOS 6 support, my preference is to keep it in a while longer.

On Nov 10, 2014, at 11:10 AM, Ian Clelland <ic...@chromium.org> wrote:

> I know that's been our Android policy; I though that iOS was roughly "we
> support the current release and the one previous release", which would mean
> that we're already good to start just supporting iOS 7 and 8 exclusively.
> 
> (Not that it's a big difference -- a 1-month delay is about what it would
> take to get another cordova-ios release out anyway :) )


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Re: cordova 64-bit support

Posted by Ian Clelland <ic...@chromium.org>.
I know that's been our Android policy; I though that iOS was roughly "we
support the current release and the one previous release", which would mean
that we're already good to start just supporting iOS 7 and 8 exclusively.

(Not that it's a big difference -- a 1-month delay is about what it would
take to get another cordova-ios release out anyway :) )

On Mon Nov 10 2014 at 10:30:35 AM Michal Mocny <mm...@chromium.org> wrote:

> Our policy has historically been to drop support if usage is under 5%.
> There some amount of leeway in judgement here as well: is it trivial to
> continue support or causing us pain?
>
> For iOS, 5% of usage comes from iOS6 or below as reported by
> https://developer.apple.com/support/appstore/.  I'd venture and say thats
> almost all iOS 6, which puts us right on the border.
>
> That said, the support story for cordova is: all existing apps continue to
> work, if you want to target the older platform you can continue to use an
> older cordova-ios, so I think we can be bold here.  1 more month of iphone
> sales and itll be <5% usage for iOS6 ;)
>
> -Michal
>
> On Sun, Nov 9, 2014 at 6:20 PM, julio cesar sanchez <
> jcesarmobile@gmail.com>
> wrote:
>
> > Apple just says "earlier" 5%. That should be iOS 5 and iOS 6
> >
> > El domingo, 9 de noviembre de 2014, Terence M. Bandoian <
> terence@tmbsw.com
> > >
> > escribió:
> >
> > > It might make sense to consider dropping support for an iOS version
> when
> > > usage, as reported by Apple, drops below a certain level.
> > >
> > > -Terence Bandoian
> > >
> > >
> > > On 11/8/2014 5:13 PM, julio cesar sanchez wrote:
> > >
> > >> iOS 5 support was removed on cordova 3.5, released on may 2014, I
> think
> > >> it's too soon to remove iOS 6 support with all the devices left behind
> > >> (iphone 3gs and ipod touch 4gen), just to add swift plugins.
> > >>
> > >> I'm ok with dropping support to old versions when there are real
> > >> advantages
> > >> or security reasons.
> > >>
> > >> I'm limited on resources too, but I volunteer to test on my ipod touch
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> > > For additional commands, e-mail: dev-help@cordova.apache.org
> > >
> > >
> >
>

Re: cordova 64-bit support

Posted by Michal Mocny <mm...@chromium.org>.
Our policy has historically been to drop support if usage is under 5%.
There some amount of leeway in judgement here as well: is it trivial to
continue support or causing us pain?

For iOS, 5% of usage comes from iOS6 or below as reported by
https://developer.apple.com/support/appstore/.  I'd venture and say thats
almost all iOS 6, which puts us right on the border.

That said, the support story for cordova is: all existing apps continue to
work, if you want to target the older platform you can continue to use an
older cordova-ios, so I think we can be bold here.  1 more month of iphone
sales and itll be <5% usage for iOS6 ;)

-Michal

On Sun, Nov 9, 2014 at 6:20 PM, julio cesar sanchez <jc...@gmail.com>
wrote:

> Apple just says "earlier" 5%. That should be iOS 5 and iOS 6
>
> El domingo, 9 de noviembre de 2014, Terence M. Bandoian <terence@tmbsw.com
> >
> escribió:
>
> > It might make sense to consider dropping support for an iOS version when
> > usage, as reported by Apple, drops below a certain level.
> >
> > -Terence Bandoian
> >
> >
> > On 11/8/2014 5:13 PM, julio cesar sanchez wrote:
> >
> >> iOS 5 support was removed on cordova 3.5, released on may 2014, I think
> >> it's too soon to remove iOS 6 support with all the devices left behind
> >> (iphone 3gs and ipod touch 4gen), just to add swift plugins.
> >>
> >> I'm ok with dropping support to old versions when there are real
> >> advantages
> >> or security reasons.
> >>
> >> I'm limited on resources too, but I volunteer to test on my ipod touch
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> > For additional commands, e-mail: dev-help@cordova.apache.org
> >
> >
>

Re: cordova 64-bit support

Posted by julio cesar sanchez <jc...@gmail.com>.
Apple just says "earlier" 5%. That should be iOS 5 and iOS 6

El domingo, 9 de noviembre de 2014, Terence M. Bandoian <te...@tmbsw.com>
escribió:

> It might make sense to consider dropping support for an iOS version when
> usage, as reported by Apple, drops below a certain level.
>
> -Terence Bandoian
>
>
> On 11/8/2014 5:13 PM, julio cesar sanchez wrote:
>
>> iOS 5 support was removed on cordova 3.5, released on may 2014, I think
>> it's too soon to remove iOS 6 support with all the devices left behind
>> (iphone 3gs and ipod touch 4gen), just to add swift plugins.
>>
>> I'm ok with dropping support to old versions when there are real
>> advantages
>> or security reasons.
>>
>> I'm limited on resources too, but I volunteer to test on my ipod touch
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Re: cordova 64-bit support

Posted by "Terence M. Bandoian" <te...@tmbsw.com>.
It might make sense to consider dropping support for an iOS version when 
usage, as reported by Apple, drops below a certain level.

-Terence Bandoian


On 11/8/2014 5:13 PM, julio cesar sanchez wrote:
> iOS 5 support was removed on cordova 3.5, released on may 2014, I think
> it's too soon to remove iOS 6 support with all the devices left behind
> (iphone 3gs and ipod touch 4gen), just to add swift plugins.
>
> I'm ok with dropping support to old versions when there are real advantages
> or security reasons.
>
> I'm limited on resources too, but I volunteer to test on my ipod touch
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Re: cordova 64-bit support

Posted by julio cesar sanchez <jc...@gmail.com>.
iOS 5 support was removed on cordova 3.5, released on may 2014, I think
it's too soon to remove iOS 6 support with all the devices left behind
(iphone 3gs and ipod touch 4gen), just to add swift plugins.

I'm ok with dropping support to old versions when there are real advantages
or security reasons.

I'm limited on resources too, but I volunteer to test on my ipod touch

Re: cordova 64-bit support

Posted by Shazron <sh...@gmail.com>.
Like it or not, it is the future of Apple's ecosystem.
A lot of people will differ on the wanting to keep iOS 6 support. But we've
regularly only supported only the latest, plus the previous - and it's a
resources issue.

If you want to volunteer testing everything on iOS 6 devices for each
release, please do contribute. We are all working with limited resources
here.

On Fri, Nov 7, 2014 at 3:15 PM, julio cesar sanchez <jc...@gmail.com>
wrote:

> what's the point of swift plugins?
> is there something that can't be done with objective-c and need swift?
> I think iOS 6 support is more important that the swift plugins
>
> 2014-11-07 20:14 GMT+01:00 Shazron <sh...@gmail.com>:
>
> > Yup. So the answer is:
> >
> > cordova-ios:
> > 64 bit support since cordova-ios 3.4.1. Xcode 6 only support since
> > cordova-ios 3.7.0.
> >
> > On Fri, Nov 7, 2014 at 11:04 AM, Marcel Kinard <cm...@gmail.com>
> wrote:
> >
> > > I suspect Vidiraj's question was driven by this:
> > > https://developer.apple.com/news/?id=10202014a
> >
>

Re: cordova 64-bit support

Posted by julio cesar sanchez <jc...@gmail.com>.
what's the point of swift plugins?
is there something that can't be done with objective-c and need swift?
I think iOS 6 support is more important that the swift plugins

2014-11-07 20:14 GMT+01:00 Shazron <sh...@gmail.com>:

> Yup. So the answer is:
>
> cordova-ios:
> 64 bit support since cordova-ios 3.4.1. Xcode 6 only support since
> cordova-ios 3.7.0.
>
> On Fri, Nov 7, 2014 at 11:04 AM, Marcel Kinard <cm...@gmail.com> wrote:
>
> > I suspect Vidiraj's question was driven by this:
> > https://developer.apple.com/news/?id=10202014a
>

RE: cordova 64-bit support

Posted by Vadiraj V <vv...@kodiaknetworks.com>.
Thank you all.
Sorry for not being specific about the platform I was looking for and not clarifying early.
Indeed, below is the reason for my question and thanks for the information.

Regards,
Vadiraj.


-----Original Message-----
From: Shazron [mailto:shazron@gmail.com] 
Sent: 08 November 2014 00:45
To: dev@cordova.apache.org
Subject: Re: cordova 64-bit support

Yup. So the answer is:

cordova-ios:
64 bit support since cordova-ios 3.4.1. Xcode 6 only support since
cordova-ios 3.7.0.

On Fri, Nov 7, 2014 at 11:04 AM, Marcel Kinard <cm...@gmail.com> wrote:

> I suspect Vidiraj's question was driven by this:
> https://developer.apple.com/news/?id=10202014a

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org

Re: cordova 64-bit support

Posted by Shazron <sh...@gmail.com>.
Yup. So the answer is:

cordova-ios:
64 bit support since cordova-ios 3.4.1. Xcode 6 only support since
cordova-ios 3.7.0.

On Fri, Nov 7, 2014 at 11:04 AM, Marcel Kinard <cm...@gmail.com> wrote:

> I suspect Vidiraj's question was driven by this:
> https://developer.apple.com/news/?id=10202014a

Re: cordova 64-bit support

Posted by Josh Soref <js...@blackberry.com>.
Marcel Kinard wrote:
> I suspect there will be many more questions around iOS 64-bit.
> I think it deserves a blog entry.

Seems reasonable

>I've drafted one here:
>https://github.com/cordova/apache-blog-posts/blob/ios64bit/2014-11-11-ios-
>64bit.md
>
>Feedback desired. I'd like to see this published in the next few days.
>Thanks!

PR sent.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org

Re: cordova 64-bit support

Posted by Marcel Kinard <cm...@gmail.com>.
I suspect there will be many more questions around iOS 64-bit. I think it deserves a blog entry.

I've drafted one here: https://github.com/cordova/apache-blog-posts/blob/ios64bit/2014-11-11-ios-64bit.md

Feedback desired. I'd like to see this published in the next few days. Thanks!

On Nov 7, 2014, at 2:04 PM, Marcel Kinard <cm...@gmail.com> wrote:

> I suspect Vidiraj's question was driven by this: https://developer.apple.com/news/?id=10202014a


Re: cordova 64-bit support

Posted by Marcel Kinard <cm...@gmail.com>.
I suspect Vidiraj's question was driven by this: https://developer.apple.com/news/?id=10202014a

Re: cordova 64-bit support

Posted by Shazron <sh...@gmail.com>.
The 64 bit support on iOS is in the form of a fat binary that contains 32
bit and 64 bit code.
This form of fat binary is only supported for iOS 5.1.1 and up, which is
below our minimum support of iOS 6.0 in cordova-ios itself (which may be
bumped up soon to 7.0 if there is consensus to do so).

Off-topic:
If we bump up min support to iOS 7.0, we can support Swift plugins.

On Fri, Nov 7, 2014 at 8:17 AM, Ian Clelland <ic...@google.com> wrote:

> The question doesn't reference any particular platform, for one. Is this a
> Windows phone question? An iOS question? Android? Workstation? There's no
> actual answer to it, as stated.
>
> I totally agree that we should document which platforms support / require
> 64-bit binaries, along with what we support in general, it's just that, as
> Joe said, we need more into to answer the original question.
>
> iOS supports 64-bit devices (as of 3.4.1). I haven't looked to see whether
> the compiled binaries are 64-bit, or if they're 32-bit but run on both
> arm32 and arm64.
>
> Android is a Java platform, and so doesn't care about 32- or 64- bit width
> at the level that Cordova operates on. The crosswalk plugin includes native
> code, and that code is 32-bit on both ARM and x86 right now. I haven't
> tested on a 64-bit device yet, but I expect that the libxwalkcore.so
> library will at least load on them.
>
> Other people can chime in on other platforms, if what I've written isn't
> what the original question was about.
>
> On Fri Nov 07 2014 at 10:56:54 AM Josh Soref <js...@blackberry.com>
> wrote:
>
> > Vadiraj V wrote:
> > > I would like to know if cordova supports 64-bit - if so, from which
> > > version it supports and any supporting documentation exists. Thanks.
> >
> > Joe Bowser wrote:
> > > Can you be more specific?
> > > I'm not sure what you're asking.
> >
> > http://cordova.apache.org/docs/en/4.0.0/guide_support_index.
> > md.html#Platfor
> > m%20Support
> > <
> http://cordova.apache.org/docs/en/4.0.0/guide_support_index.md.html#Platform%20Support
> >
> >
> >
> > Doesn't include any reference to "64bit".
> >
> > It's a reasonable question.
> > Are the apps that are generated, 32bit or 64bit or both (as applicable)?
> >
> >
>

Re: cordova 64-bit support

Posted by Ian Clelland <ic...@google.com>.
The question doesn't reference any particular platform, for one. Is this a
Windows phone question? An iOS question? Android? Workstation? There's no
actual answer to it, as stated.

I totally agree that we should document which platforms support / require
64-bit binaries, along with what we support in general, it's just that, as
Joe said, we need more into to answer the original question.

iOS supports 64-bit devices (as of 3.4.1). I haven't looked to see whether
the compiled binaries are 64-bit, or if they're 32-bit but run on both
arm32 and arm64.

Android is a Java platform, and so doesn't care about 32- or 64- bit width
at the level that Cordova operates on. The crosswalk plugin includes native
code, and that code is 32-bit on both ARM and x86 right now. I haven't
tested on a 64-bit device yet, but I expect that the libxwalkcore.so
library will at least load on them.

Other people can chime in on other platforms, if what I've written isn't
what the original question was about.

On Fri Nov 07 2014 at 10:56:54 AM Josh Soref <js...@blackberry.com> wrote:

> Vadiraj V wrote:
> > I would like to know if cordova supports 64-bit - if so, from which
> > version it supports and any supporting documentation exists. Thanks.
>
> Joe Bowser wrote:
> > Can you be more specific?
> > I'm not sure what you're asking.
>
> http://cordova.apache.org/docs/en/4.0.0/guide_support_index.
> md.html#Platfor
> m%20Support
> <http://cordova.apache.org/docs/en/4.0.0/guide_support_index.md.html#Platform%20Support>
>
>
> Doesn't include any reference to "64bit".
>
> It's a reasonable question.
> Are the apps that are generated, 32bit or 64bit or both (as applicable)?
>
>

Re: cordova 64-bit support

Posted by Josh Soref <js...@blackberry.com>.
Vadiraj V wrote:
> I would like to know if cordova supports 64-bit - if so, from which
> version it supports and any supporting documentation exists. Thanks.

Joe Bowser wrote:
> Can you be more specific?
> I'm not sure what you're asking.

http://cordova.apache.org/docs/en/4.0.0/guide_support_index.md.html#Platfor
m%20Support


Doesn't include any reference to "64bit".

It's a reasonable question.
Are the apps that are generated, 32bit or 64bit or both (as applicable)?