ionic-team / ionic-team/capacitor-barcode-scanner

Working in PWA

Open
#28 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
64
Forks
47
Avg merge
1h 55m
Merged PRs (30d)
1

Description

I've developed a simple app using the barcode-scanner.

It works in developer mode, but as soon as I switch to production mode i get
```
[Scanner Web Error] QR code parse error, error = l: No MultiFormat Readers were able to detect the code.
```
The workaround that I found was to set in angular.js
```
"production": {
....
"optimization": {
"scripts": false,
"styles": true
}
}
```

But I don't like it.
Any idea of what might be tree-shaked and how to avoid it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.