-
Hello, I have downloaded the project and I have tested it on my mobile phone and it works perfectly. However, he implemented the functionality in a new app and everything works fine except the camera. When you perform the scan, the camera view does not appear in the modal. I leave mobile screenshot. Can anyone help me or any idea why? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Fixed. I needed to add to the file Thanks! body.barcode-scanning-active { .barcode-scanning-modal { @media (prefers-color-scheme: dark) { |
Beta Was this translation helpful? Give feedback.
Fixed.
I needed to add to the file
theme/variables.scss
Thanks!
body.barcode-scanning-active {
visibility: hidden;
--background: transparent;
--ion-background-color: transparent;
}
.barcode-scanning-modal {
visibility: visible;
}
@media (prefers-color-scheme: dark) {
.barcode-scanning-modal {
--background: transparent;
--ion-background-color: transparent;
}
}