You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by boulevardr <ma...@boulevardr.com> on 2013/09/22 21:02:56 UTC
iOS7 broke Flex?
Hi Flex Users,
About 2 years ago, we built a flex app in Flex 4.6 for iOS, so that we could
run our Flex app on iPads
(https://itunes.apple.com/us/app/retiremap-by-boulevard-r/id555238572?mt=8&ls=1)
and I just got a complaint from a user who upgraded his iPad to iOS7 that:
"there seems to be an orientation issue. The opening screen is in portrait
with parts of the screen not showing. When you select the first name field
the keyboard comes up in the landscape mode and blocks the area to type in
and the entire screen under the keyboard moves up making it hard to see the
data entry areas."
I'm not technical, so I contacted the developer we contracted with to
develop the iPad app, and here's his response:
"ios7 broke flex and I can't build anything at the moment. Also they have
new requirements for new icon sizes for ios7 and flex is not supporting it
just yet which makes it not possible to deploy anything until an update is
made."
This seems strange, since I don't see any posts or messages about Flex being
broken by iOS7. In fact, it seems to be working fine. In fact, this post
seems to indicate there is no issue:
http://apache-flex-users.2333346.n4.nabble.com/Flex-and-iOS-7-td2593.html
Can someone please advise on what the issue might be and if they're
encountering similar issues?
Thanks,
Matt
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by lampei <la...@gmail.com>.
Wow, that's very weird then. I am using currentState and handling
orientation changes, but nothing to force the orientation to one way vs.
the other. Just using certain views when oriented a certain way.
On Sunday, September 22, 2013, boulevardr [via Apache Flex Users] wrote:
> So I did some testing myself on and iPad2 upgraded to iOS7 and one app
> works just fine, while other, which shares a very similar code base, starts
> off in portrait (it's designed for landscape only) and then all the screens
> are basically inaccessible.
>
> One works as expected, the other is totally wrong. My guess is that it
> has something to do with how the apps were programmed to orient.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2806.html
> To unsubscribe from iOS7 broke Flex?, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2797&code=bGFtcGVpQGdtYWlsLmNvbXwyNzk3fDE4NjM3MDk0MjM=>
> .
> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2807.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by PhilStephenson <ph...@2020.net>.
I was also fighting this issue. It appeared to me that the stage events were
not being caught at all. I tried everything and finally updated Air to 3.8
which seems to have fixed it. I have noticed that some of my buttons lost
their text so I will be working on that but it at least auto orients again.
http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2839.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by lampei <la...@gmail.com>.
Just looked at my code and it *appears* that I was using AIR 3.1 when I
originally built this code. Also, my <autoOrient> is set to true, so it
should be re-orienting itself, but apparently something broke that part of
it. Still haven't tried a rebuild and resubmit yet though.
On Mon, Sep 23, 2013 at 11:29 AM, Jeffry Houser [via Apache Flex Users] <
ml-node+s2333346n2815h6@n4.nabble.com> wrote:
>
> For my mobile game; this is how I fixed orientation issues. This
> predates iOS 7 and I was using Flex 4.6 w/ AIR 3.4 superimposed on top
> of it; but perhaps the same approach can help
>
>
> 1) In the app descriptor file I set these values:
> <aspectRatio>landscape</aspectRatio>
> <autoOrients>false</autoOrients>
>
>
> 2) In the main application file; I Set an applicationComplete handler:
>
> Setting up the listener:
> applicationComplete="viewnavigatorapplication1_applicationCompleteHandler(event)"
>
>
> The handler method:
> protected function
> viewnavigatorapplication1_applicationCompleteHandler(event:FlexEvent):void
> {
> this.stage.setAspectRatio( StageAspectRatio.LANDSCAPE );
> }
>
> 3) In the main application file; I set up a viewactivated handler:
>
> Setting up the listener:
> activate="viewnavigatorapplication1_activateHandler(event)"
>
> The Handler method:
> protected function
> viewnavigatorapplication1_activateHandler(event:Event):void
> {
> if(this.stage){
> this.stage.setAspectRatio( StageAspectRatio.LANDSCAPE );
> }
> }
>
> This solved the issues. But, I honestly don't remember if I had issues
> on iOS or on some Android devices.
>
>
> On 9/23/2013 9:21 AM, lampei wrote:
>
> > Tried this again last night and it looks like I don't have the auto
> > orientation on for the one app the user says is failing. I may try
> turning
> > that on (as I'm already accounting for that in the app) and see if that
> > fixes the issue
> >
> >
> > On Sun, Sep 22, 2013 at 11:52 PM, Gareth Arch <[hidden email]<http://user/SendEmail.jtp?type=node&node=2815&i=0>>
> wrote:
> >
> >> Wow, that's very weird then. I am using currentState and handling
> >> orientation changes, but nothing to force the orientation to one way
> vs.
> >> the other. Just using certain views when oriented a certain way.
> >>
> >>
> >> On Sunday, September 22, 2013, boulevardr [via Apache Flex Users]
> wrote:
> >>
> >>> So I did some testing myself on and iPad2 upgraded to iOS7 and one app
> >>> works just fine, while other, which shares a very similar code base,
> starts
> >>> off in portrait (it's designed for landscape only) and then all the
> screens
> >>> are basically inaccessible.
> >>>
> >>> One works as expected, the other is totally wrong. My guess is that
> it
> >>> has something to do with how the apps were programmed to orient.
> >>>
> >>> ------------------------------
> >>> If you reply to this email, your message will be added to the
> >>> discussion below:
> >>>
> >>>
>
> >>> .
> >>> NAML<
> http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >>>
> >
> >
> >
> > --
> > View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2814.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> http://www.jeffryhouser.com
> 203-379-0773
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2815.html
> To unsubscribe from iOS7 broke Flex?, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2797&code=bGFtcGVpQGdtYWlsLmNvbXwyNzk3fDE4NjM3MDk0MjM=>
> .
> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2816.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by Jeffry Houser <je...@dot-com-it.com>.
For my mobile game; this is how I fixed orientation issues. This
predates iOS 7 and I was using Flex 4.6 w/ AIR 3.4 superimposed on top
of it; but perhaps the same approach can help
1) In the app descriptor file I set these values:
<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
2) In the main application file; I Set an applicationComplete handler:
Setting up the listener:
applicationComplete="viewnavigatorapplication1_applicationCompleteHandler(event)"
The handler method:
protected function
viewnavigatorapplication1_applicationCompleteHandler(event:FlexEvent):void
{
this.stage.setAspectRatio( StageAspectRatio.LANDSCAPE );
}
3) In the main application file; I set up a viewactivated handler:
Setting up the listener:
activate="viewnavigatorapplication1_activateHandler(event)"
The Handler method:
protected function
viewnavigatorapplication1_activateHandler(event:Event):void
{
if(this.stage){
this.stage.setAspectRatio( StageAspectRatio.LANDSCAPE );
}
}
This solved the issues. But, I honestly don't remember if I had issues
on iOS or on some Android devices.
On 9/23/2013 9:21 AM, lampei wrote:
> Tried this again last night and it looks like I don't have the auto
> orientation on for the one app the user says is failing. I may try turning
> that on (as I'm already accounting for that in the app) and see if that
> fixes the issue
>
>
> On Sun, Sep 22, 2013 at 11:52 PM, Gareth Arch <la...@gmail.com> wrote:
>
>> Wow, that's very weird then. I am using currentState and handling
>> orientation changes, but nothing to force the orientation to one way vs.
>> the other. Just using certain views when oriented a certain way.
>>
>>
>> On Sunday, September 22, 2013, boulevardr [via Apache Flex Users] wrote:
>>
>>> So I did some testing myself on and iPad2 upgraded to iOS7 and one app
>>> works just fine, while other, which shares a very similar code base, starts
>>> off in portrait (it's designed for landscape only) and then all the screens
>>> are basically inaccessible.
>>>
>>> One works as expected, the other is totally wrong. My guess is that it
>>> has something to do with how the apps were programmed to orient.
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2806.html
>>> To unsubscribe from iOS7 broke Flex?, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2797&code=bGFtcGVpQGdtYWlsLmNvbXwyNzk3fDE4NjM3MDk0MjM=>
>>> .
>>> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>
>
>
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2814.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773
Re: iOS7 broke Flex?
Posted by lampei <la...@gmail.com>.
Tried this again last night and it looks like I don't have the auto
orientation on for the one app the user says is failing. I may try turning
that on (as I'm already accounting for that in the app) and see if that
fixes the issue
On Sun, Sep 22, 2013 at 11:52 PM, Gareth Arch <la...@gmail.com> wrote:
> Wow, that's very weird then. I am using currentState and handling
> orientation changes, but nothing to force the orientation to one way vs.
> the other. Just using certain views when oriented a certain way.
>
>
> On Sunday, September 22, 2013, boulevardr [via Apache Flex Users] wrote:
>
>> So I did some testing myself on and iPad2 upgraded to iOS7 and one app
>> works just fine, while other, which shares a very similar code base, starts
>> off in portrait (it's designed for landscape only) and then all the screens
>> are basically inaccessible.
>>
>> One works as expected, the other is totally wrong. My guess is that it
>> has something to do with how the apps were programmed to orient.
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2806.html
>> To unsubscribe from iOS7 broke Flex?, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2797&code=bGFtcGVpQGdtYWlsLmNvbXwyNzk3fDE4NjM3MDk0MjM=>
>> .
>> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2814.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by boulevardr <ma...@boulevardr.com>.
So I did some testing myself on and iPad2 upgraded to iOS7 and one app works
just fine, while other, which shares a very similar code base, starts off in
portrait (it's designed for landscape only) and then all the screens are
basically inaccessible.
One works as expected, the other is totally wrong. My guess is that it has
something to do with how the apps were programmed to orient.
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2806.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by lampei <la...@gmail.com>.
Did a bit more testing with some of my other apps after installing iOS 7 on
my iPad 2 and it still doesn't exhibit the behavior. It must have something
to do with the 4th gen iPad but unless I'm willing to shell out the cash for
a new one, I'm going to have to take the wait and see approach on this one,
I guess.
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2804.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by lampei <la...@gmail.com>.
Just received the exact same message from a user on one of my apps. They
were using the 4th gen iPad with iOS7. She said she was using the app in
Portrait mode and the keyboard came up in Landscape blocking all visibility
on the form she was filling out. Apparently there's something a little
strange going on with previous versions of Flex on iOS7. Have to try out
the beta version I guess and hope that it fixes the problem (and doesn't
block anything at the Apple app store).
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797p2801.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: iOS7 broke Flex?
Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Sun, Sep 22, 2013 at 1:27 PM, Jeffry Houser <je...@dot-com-it.com>wrote:
>
> I don't have all the answers; as I haven't upgraded my own devices yet,
> but...
>
>
> On 9/22/2013 3:02 PM, boulevardr wrote:
>
>> I'm not technical, so I contacted the developer we contracted with to
>> develop the iPad app, and here's his response:
>>
>> "ios7 broke flex and I can't build anything at the moment. Also they have
>> new requirements for new icon sizes for ios7 and flex is not supporting it
>> just yet which makes it not possible to deploy anything until an update is
>> made."
>>
>
> It appears to me that the "icon support" would be an AIR thing; not a
> Flex thing. Icons for apps are defined in the app descriptor file. It is
> my memory that you can define any sizes you wish beyond the defaults
> specified when the main application file is created.
>
> It may take a while for Adobe to release a new version of AIR with iOS7
> support; however I believe it is possible [if you are on a Mac] to use
> Flash Builder to specify the iOS SDK independent of the one included in
> Adobe AIR.
>
> Maybe someone else can chime in with specifics.
>
>
Support for iOS7 will be coming in AIR 3.9 which is in beta right now:
http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-9_flashplayer11-9_releasenotes.pdf
The release notes state that:
"Support for iOS7 – iOS7 is approaching and we are making sure that AIR is
compatible and performs as expected. The iOS applications can now use the
Native Extensions built with iOS 7 APIs. The newly introduced icons are
also supported"
Thanks,
Om
> --
> Jeffry Houser
> Technical Entrepreneur
> http://www.jeffryhouser.com
> 203-379-0773
>
>
Re: iOS7 broke Flex?
Posted by Jeffry Houser <je...@dot-com-it.com>.
I don't have all the answers; as I haven't upgraded my own devices
yet, but...
On 9/22/2013 3:02 PM, boulevardr wrote:
> I'm not technical, so I contacted the developer we contracted with to
> develop the iPad app, and here's his response:
>
> "ios7 broke flex and I can't build anything at the moment. Also they have
> new requirements for new icon sizes for ios7 and flex is not supporting it
> just yet which makes it not possible to deploy anything until an update is
> made."
It appears to me that the "icon support" would be an AIR thing; not a
Flex thing. Icons for apps are defined in the app descriptor file. It
is my memory that you can define any sizes you wish beyond the defaults
specified when the main application file is created.
It may take a while for Adobe to release a new version of AIR with
iOS7 support; however I believe it is possible [if you are on a Mac] to
use Flash Builder to specify the iOS SDK independent of the one included
in Adobe AIR.
Maybe someone else can chime in with specifics.
--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773
Re: iOS7 broke Flex?
Posted by Diego Novati <di...@gmail.com>.
Hi,
during the last month I developed an application for iPhone and one for iPad and I've found some problems with Flex 4.6 (similar to those described). I solved the problems developing with Flash Builder 4.6 and the emulator, and then delivery the applications compiled with Flash Builder 4.7 and Apache Flex 4.10.
Diego
On 22/set/2013, at 21:02, boulevardr <ma...@boulevardr.com> wrote:
> Hi Flex Users,
>
> About 2 years ago, we built a flex app in Flex 4.6 for iOS, so that we could
> run our Flex app on iPads
> (https://itunes.apple.com/us/app/retiremap-by-boulevard-r/id555238572?mt=8&ls=1)
> and I just got a complaint from a user who upgraded his iPad to iOS7 that:
>
> "there seems to be an orientation issue. The opening screen is in portrait
> with parts of the screen not showing. When you select the first name field
> the keyboard comes up in the landscape mode and blocks the area to type in
> and the entire screen under the keyboard moves up making it hard to see the
> data entry areas."
>
> I'm not technical, so I contacted the developer we contracted with to
> develop the iPad app, and here's his response:
>
> "ios7 broke flex and I can't build anything at the moment. Also they have
> new requirements for new icon sizes for ios7 and flex is not supporting it
> just yet which makes it not possible to deploy anything until an update is
> made."
>
> This seems strange, since I don't see any posts or messages about Flex being
> broken by iOS7. In fact, it seems to be working fine. In fact, this post
> seems to indicate there is no issue:
>
> http://apache-flex-users.2333346.n4.nabble.com/Flex-and-iOS-7-td2593.html
>
> Can someone please advise on what the issue might be and if they're
> encountering similar issues?
>
> Thanks,
> Matt
>
>
>
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/iOS7-broke-Flex-tp2797.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.