Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Has anyone tested iOS 7 with an AIR app?

Explorer ,
Jun 10, 2013 Jun 10, 2013

I can't get the Apple Developer site to load, so I can't seem to get ahold of it, but I(and probably everyone reading this forum) need to know how AIR works on iOS 7.

TOPICS
Development
17.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2013 Sep 06, 2013

My apps are all landscape, and they show as landscape in iOS 7.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2013 Sep 06, 2013

My apps are all working correctly too, landscape ones are landscape, portrait are portrait and apart from an iOS7 bug where the user login does not show up correctly for IAP and the microphone bug ( and icons too I guess ) all is perfect.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2013 Sep 06, 2013

You’re right about the IAP dialog issue. Another problem is that when you take the user to the App Store to write a review, the panel is empty. But that’s an iOS 7 problem and not an AIR one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2013 Sep 06, 2013

May I ask which sdk you're using? Mine was done in 4.6, though I doubt that should make the difference...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2013 Sep 06, 2013

Not sure who the question was for, but for me, I only use Flash Pro.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 07, 2013 Sep 07, 2013

I noticed a crash on IOS7 for the cameraroll when trying to browseforimage.  Only crashes on iPhone and not iPad, not sure if it is an apple issue or AIR issue.  Anyone else see this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 09, 2013 Sep 09, 2013

And app I made that uses the camera roll works ok without crashing.

One strange thing though, when picking a picture the otherwise full screen app shows a status bar, which remains there after choosing the picture. That is with a nearly one year old version of AIR though, I may try it with a later version.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 09, 2013 Sep 09, 2013

Seems my issue was related to a native extension alert I was using.  Basically, if the native dialog called the browseforimage method, it crashed.  If a flash button calls it, it works fine. I also noticed the status bar comes in as well, let me know if you figure out a workaround.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 09, 2013 Sep 09, 2013

I'm having the same issue where one of my apps is showing portrait on iOS7 when it is suppost to be landscape. It was created with an older version of AIR. That's the only thing I can think of that is different from my other apps that are working correctly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 09, 2013 Sep 09, 2013

Ok, this might be one of the reasons why landscape apps are showing in portrait. In one of my earlier apps I'm only using Default.png for my splash image. Even though in the application descriptor file I'm setting aspectRatio to landscape. 

In my later apps that are working properly, I'm using Default-Landscape.png and Default-Landscape@2x.png.

Check how you are naming your default splash image. This may be the cause.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 22, 2013 Sep 22, 2013

I had an issue with two of our apps that were compiled a long time ago under AIR 3.6 and did NOT use Native Extensions.

Two of our apps supported landscape only, but on iOS7 they displayed in portrait mode, so most of the UI wasn't visible and the apps became unusable under iOS7.

After rebuilding them using the newer AIR 3.8, they now correctly display in landscape mode, but with one small caveat that I encountered.

I did run into one additional problem where the new version of the apps (under Air 3.8) would launch upside down on iOS7, but only when the home button was on the left.

I eventually fixed the issue by adding a Native Extension and then linking that native extension against the Apple iOS5 SDK. When nothing was specified for the Apple iOS SDK, the app would launch upside down. After linking to iOS5 SDK the problem went away.

You can specify the Apple iOS SDK in :

Project->Properties->ActionScript Build Packaging->iOS->NativeExtensions->Apple iOS SDK.

I hope this info helps someone else, as I spent a lot of time trying to figure out how to fix this weird problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 23, 2013 Sep 23, 2013

I'm using Flash Pro CS6, with AIR 3.8, and my application shows a blank screen at the start, nothing happens.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2013 Sep 23, 2013

You should try doing a debug test to a device. It's most likely that there is a script error happening.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2013 Nov 28, 2013

I have this problem too. When I recompiled with a different version of air for iOS (3.4 rather than 3.2) and tested it, it seemed to work. However, I'm having trouble uploading this to the app store as I can't get the new icon sizes (76x76 and 152x152) into the package. I've tried Air for iOS 3.9 and 4.0 beta too - same problems. And I get a warning about push notifications (not doing this) and a non-PIE binary.

Please Adobe, come on and help us out here!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 28, 2013 Nov 28, 2013

The PIE warning was fixed a while ago. Which exact build of AIR 3.9 did you try?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2013 Nov 28, 2013

Thanks for picking this up Colin. I downloaded the 3.9 version from the Adobe site today so I assume it's the most up to date. Most strange. I've submitted anyway as my app doesn't work correctly in iOS7 (should be landscape but displays in portrait. Bad but doubly so as it uses the accelerometers for motion whai are now all mixed up).

Do you know if there Is any news (other than using the command line) about incorporating the oher icon sizes required (just can't get them in)? Or about the push notifications?

Thanks for the help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 28, 2013 Nov 28, 2013

I haven’t seen the push notification error lately either, so that may be solved with the later AIR version too.

The only cure that is out there now, not involving the command line, is to set the app-descriptor file to be Read Only, after you have added the new icons to the list. Make sure those icons really do exist. Some people have also had to add the icons to the General tab too. I haven’t had to do that, possibly because I have those sat next to the other icons in the same folder. Or I might just be lucky! I don’t think it would do harm to add the icons in the General tab.

About the orientation, what do you have that set to in Flash? You ought to be set to Landscape, and auto orient show be checked. If that is the case, and you’re see ing it be portrait in iOS 7, then I would suspect you have a Default-568h@2x.ong that is 1136x640. It needs to be 640x1136, and would be your landscape splash screen rotated 90 degrees clockwise.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2013 Nov 28, 2013
LATEST

That's helpful Colin - thanks.

I'll give your suggestions a try and hope that Adobe can give us an update to fix these issues soon. I stuck with AS3/Air/Flash, even through the dark days when the app store wouldn't accept Air for iOS, rather than abandon it and go native - hope Adobe don't now abandon us!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 19, 2013 Sep 19, 2013

My Landscape-only app shows correctly except when a weboverlay video is set in fullscreen mode. Then the app changes to portrait mode and shows the video, sometimes even stretched out of the screen.

Any sollutions for this problem would be appreciated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 19, 2013 Sep 19, 2013

Another problem I encoutered is that the iOS keyboard sometimes opens in portrait mode even if I use the app in landscape as it should be. This doesn't happend every time and I can't reproduce it on demand.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 19, 2013 Sep 19, 2013

In my case, it appears that spark.components.Application.applicationDPI was a problem.  Setting applicationDPI turns on automatic ppi adjustment throughout the app.  When using iOS 7 with one version of my app with applicationDPI set, there was a white bar at the top of the page about 80 pixels high.  The remainder of the page contained all of the expected content, slightly resized and not clipped.  When using iOS 7 with another version of my app where I had not set applicationDPI, and was handling the ppi adjustment in my own code.  The pages filled the screen correctly.  I am not sure why this happened, but I suggest unsetting applicationDPI and see if that is the problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 20, 2013 Sep 20, 2013

My problem went away when I recompiled in FB 4.7 with the latest Air and latest Apache SDK. I don't know which solved the problem, but I'm glad it's gone.

When I resubmitted to the app store, I had to create a specially named splash screen to get it past their robots. Now all is well again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines