Skip to content

Commit 48ae5e2

Browse files
update to internal commit 588a8300
1 parent aaa61fc commit 48ae5e2

File tree

4 files changed

+49
-7
lines changed

4 files changed

+49
-7
lines changed

_includes/sidelist-programming/programming-javascript.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@
14531453
</li>
14541454
<li>
14551455
<a href="{{ site.js }}faq/change-domain-binding-of-product-key.html"
1456-
>How to change the domain binding of your product key?</a
1456+
>How to Secure Your License Key by Managing Domain Binding?</a
14571457
>
14581458
</li>
14591459
<li>
@@ -1609,6 +1609,10 @@
16091609
<a href="{{ site.js }}faq/enable-supported-barcode-format.html"
16101610
>How to Enable Specific Barcode Formats with Your License?</a>
16111611
</li>
1612+
<li>
1613+
<a href="{{ site.js }}faq/camera-cannot-open-in-pwa.html"
1614+
>How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS?</a>
1615+
</li>
16121616
</ul>
16131617
</li>
16141618
<li lang="javascript"><a href="{{ site.license_activation }}index.html" class="otherLinkColour">License Initialization</a></li>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: default-layout
3+
title: How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS
4+
description: Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS
5+
keywords: PWA, iOS, camera, javascript, js
6+
needAutoGenerateSidebar: false
7+
---
8+
9+
10+
# How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS
11+
12+
## ❓ Issue
13+
14+
When using **Dynamsoft Barcode Reader** in a **Progressive Web App (PWA)** on **iOS**, the **camera fails to open**. This prevents barcode scanning functionality from working as expected.
15+
16+
## 💡 Cause
17+
18+
This issue is due to **limited PWA support on iOS**. Specifically:
19+
20+
- iOS has known restrictions when accessing camera features from PWAs.
21+
- Cached data or system-level inconsistencies can cause the camera initialization to fail.
22+
23+
## ✅ Solution
24+
25+
To resolve the issue:
26+
27+
1. **Clear Safari cache(iOS 18+)**:
28+
- Go to **Settings > Apps > Safari > Clear History and Website Data**.
29+
30+
2. **Reboot the device**:
31+
- Power off your iPhone or iPad completely, then restart it.
32+
33+
After following these steps, try launching the PWA again and accessing the camera.
34+
35+
## 📌 Note
36+
37+
This issue is specific to **iOS PWAs**. On Android or desktop browsers, Dynamsoft Barcode Reader in a PWA generally works without issue.

programming/javascript/faq/change-domain-binding-of-product-key.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
---
22
layout: default-layout
3-
title: How to change the domain binding of your product key?
3+
title: How to Secure Your License Key by Managing Domain Binding
44
keywords: Dynamsoft Barcode Reader, FAQ, JavaScript, tech basic, domain binding, product key
55
description: How to change the domain binding of your product key?
66
needAutoGenerateSidebar: false
77
---
88

9-
# How to change the domain binding of your product key?
9+
# How to Secure Your License Key by Managing Domain Binding?
1010

1111
[<< Back to FAQ index](index.md)
12-
13-
In order to change the domain binding of the handshake code that includes the license item in question please follow the below steps -
12+
This guide explains how to protect your software product key by properly managing or changing its domain binding. Domain binding ties a product key to a specific domain, helping prevent unauthorized use or piracy. Please follow the below steps -
1413
1. You will first need to log into the [customer portal](https://www.dynamsoft.com/customer/index).
1514
2. After login, please navigate go to [projects link](https://www.dynamsoft.com/lts/index.html#/handshakeCodes)
1615
3. Find the project that you want to change the domain binding.

programming/javascript/faq/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ noTitleIndex: true
2525

2626
8. [What are the differences between updateScanSettings/updateVideoSettings/updateRuntimeSettings?](differences-between-updateScanSettings-updateVideoSettings-and-updateRuntimeSettings.html)
2727

28-
9. [What are the different ways to customize the UI?](different-ways-to-customize-ui.html)
28+
9. [What are the different ways to customize the UI?](different-ways-to-customize-ui.html)
2929

3030
10. [How to get the logs for the JavaScript SDK?](get-sdk-logs.html)
3131

3232
11. [How do you upgrade to a newer version of the SDK?](upgrade-old-to-new.html)
3333

34-
12. [How to change the domain binding of your product key?](change-domain-binding-of-product-key.html)
34+
12. [How to Secure Your License Key by Managing Domain Binding?](change-domain-binding-of-product-key.html)
3535

3636
13. [When is singleFrameMode enabled?](when-singleFrameMode-is-enabled.html)
3737

@@ -86,3 +86,5 @@ noTitleIndex: true
8686
38. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.html)
8787

8888
39. [How to Enable Specific Barcode Formats with Your License?](enable-supported-barcode-format.html)
89+
90+
40. [How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS](camera-cannot-open-in-pwa.html)

0 commit comments

Comments
 (0)