Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long Pause When Initiating Scanner #65

Closed
dpotts opened this issue Sep 26, 2013 · 4 comments
Closed

Long Pause When Initiating Scanner #65

dpotts opened this issue Sep 26, 2013 · 4 comments

Comments

@dpotts
Copy link

dpotts commented Sep 26, 2013

The time between initiating the scanner and the camera fully loaded up seems to be a lot longer (a few seconds) than that of the camera app and other QR scanner apps. I am running it on iOS7. Here is code i am using:

        var scanner = new MobileBarcodeScanner();

        var options = new MobileBarcodeScanningOptions()
        {
            PossibleFormats = new List<BarcodeFormat>() { BarcodeFormat.QR_CODE },
        };
        options.AutoRotate = false;
        options.TryHarder = false;

        scanner.UseCustomOverlay = false;
        scanner.Scan().ContinueWith((t) => { ShowMessage(t.Result != null ? t.Result.Text : "Canceled / No QR Code"); });

Any idea why the long pause?

@Redth
Copy link
Owner

Redth commented Sep 27, 2013

Can you quantify the length of the pause? It certainly takes a few seconds for me, but it's not really that slow on the 4S with iOS7

@dpotts
Copy link
Author

dpotts commented Sep 27, 2013

On iPad Mini it take 2-3 seconds to load. Is this expected?

@Redth
Copy link
Owner

Redth commented Sep 27, 2013

Takes ~2 seconds on my iPhone 4S... So that seems about right.

If you're interested in trying to squeeze some extra speed out of it, by all means, please send a pull request :)

@Redth
Copy link
Owner

Redth commented Oct 10, 2013

For repeated launches, #71 might help address startup speed...

Closing this issue for now, if you find any specific areas for concern please reopen, otherwise, i think it's just how long it takes to do this in managed code :s

@Redth Redth closed this as completed Oct 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants