Dev Center
Table of contents

How do I resolve the issue of the Barcode Reader not recognizing any barcodes via video in iOS 16.7 or 17?

iOS 17 and iOS 16.7 were released by Apple on September 18, 2023 and September 21, 2023 respectively. Our team has found that with these most recent iOS releases, some iPhones and iPads will run into an issue where it seems like no barcode can be read under any condition.

We found that this issue is inconsistent across all iPhones and iPads on iOS 17 or 16.7. However, if you find that this issue is occurring to a subset of your users, please implement the following workaround in the code:

If you use version 9.x:

scanner._dce._bWebGLSupported=false;
//...
await scanner.show();

If you use version 8.8.0 ~ 8.8.7:

scanner.ifSaveOriginalImageInACanvas= true;
//...
await scanner.show();

If you use version 8.0.0 ~ 8.6.3

scanner._bUseWebgl=false;
//...
await scanner.show();

If you are unsure which version it is, you can use the following that works for version 8.0.0 ~ 9.6.30

scanner.dce && (scanner.dce._bWebGLSupported = false);
scanner.ifSaveOriginalImageInACanvas= true; 
scanner._bUseWebgl = false;
//...
await scanner.show();

Once implemented, all iOS devices using iOS 17 or 16.7 should not encounter this issue anymore. For a quick test, please use the online demo.

Dynamsoft has released a patch version 9.6.31 to work around this iOS bug on Oct 11th, 2023.

If you have any questions, please contact the Dynamsoft Support team.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

    • Latest version(10.2.10)
    • Version 10.x
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.42
      • Version 9.6.40
      • Version 9.6.33
      • Version 9.6.32
      • Version 9.6.31
      • Version 9.6.30
      • Version 9.6.21
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.2
      • Version 9.6.1
      • Version 9.6.0
      • Version 9.3.1
      • Version 9.3.0
      • Version 9.2.13
      • Version 9.2.12
      • Version 9.2.11
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.8.7
      • Version 8.8.5
      • Version 8.8.3
      • Version 8.8.0
      • Version 8.6.3
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.5
      • Version 8.2.3
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.3
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +