saumitrabhave / qr-zbar-ane

ANE for QR Code Reader
MIT License
84 stars 23 forks source link

Rotating to landscape in iOS results in cancel button not appearing on next launch #2

Closed mrfrasier closed 9 years ago

mrfrasier commented 11 years ago

Hello,

Firatly, thanks for moving to github and for resolving issue 1. I'll help out by bringing over some of the issues from google code and my own.

This issue is a combination of Issue #5 and a bug that a user reported to me. On iOS, if you begin scanning and rotate to landscape then exit, the next time you launch the scanner the cancel button will not be visible. This persists until you restart the application.

I think blocking auto-orientation is a good move, but also feel this underlying issue should be resolved.

Thanks!

mrfrasier commented 11 years ago

This may also be related to issue #11 from google code

saumitrabhave commented 11 years ago

I have reproduced the issue, fix in progress.

saumitrabhave commented 11 years ago

Hi mrfraiser:

Not sure which binary I tried, but with the latest ane availble in this Github repo. I am not able to reproduce the issue.

If you are still facing this issue with the ane in Github. Please update me with the precise repro steps and the iOS and device version you are using.

mrfrasier commented 11 years ago

I will rebuild try to reproduce it tonight, thanks.

mrfrasier commented 11 years ago

OK, on iOS 7 at least, Scanner.isSupported is now returning false, so I can't even test there. Will attempt to get an iOS 6 device to test on.

saumitrabhave commented 11 years ago

Hi:

Are you testing on actual device? On actual device it should work on iOS7 as well.

mrfrasier commented 11 years ago

Yes, it was on an iPhone 5. I have an iPod Touch at the office still running iOS 6, so I'll grab that Monday and re-test.

It works fine if I revert to the previous ANE. I changed back to the previous version in my FLA, exported and was able to scan no problem. Add the current ANE, and once again I can't scan. Odd. I will try skipping the isSupported check and running it anyway as well.

simonpucher commented 11 years ago

First i have to say: Saumitrabhave your extension is awesome.

But mrfrasier is right. We are using the "old" ane from google code (Feb. 2013) everything is fine. Also on IOS7. We would like to upgrade because in the old version is a bug in canceling the scan event. The button is only visible in portrait format.

So we downloaded the new version from github. After upgrade to the latest ane extension the "is supported" function returns always false. But the iphone 5 has a camera.^^

We are using IOS 7.0.2 on the iPhone 5. We are compiling with flash builder 4.6, adobe air 3.9 and Flex 4.10. We are compiling against IOS 7 SDK.

saumitrabhave commented 11 years ago

I will revert back with my findings or the fix by tuesday

Thanks.

saumitrabhave commented 9 years ago

I am doing a whole re-write of iOS code with new APIs and enhanced functionality, Please follow the project for developments.

simonpucher commented 9 years ago

Hi Saumitrabhave,

this is good news! I am watching the github project so i get updates in future.

Thanks for your effort!

best regards, Simon

creativo | create.innovation:


[http://teaser.creativo.at/creativo_150.png] creativo business services e.U. DI (FH) Simon Pucher, MBA Wiesachweg 2, 8740 Zeltweg, Austria office +43 1 22 97 390 mobile +43 664 26 25 681 email simon.pucher@creativo.atmailto:simon.pucher@creativo.at

UID: ATU66057544 | DVR: 4008621 | FN 386998 s | www.creativo.athttp://www.creativo.at

Am 15.11.2014 um 18:03 schrieb Saumitra Bhave notifications@github.com<mailto:notifications@github.com>:

I am doing a whole re-write of iOS code with new APIs and enhanced functionality, Please follow the project for developments.

— Reply to this email directly or view it on GitHubhttps://github.com/saumitrabhave/qr-zbar-ane/issues/2#issuecomment-63179391.