Skip to content

Commit

Permalink
bugfix ios 15.4 issue with camera preview bitpay#371
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Dittrich committed Apr 25, 2022
1 parent acb9289 commit a5559a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ios/QRScanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ class QRScanner : CDVPlugin, AVCaptureMetadataOutputObjectsDelegate {
@objc func show(_ command: CDVInvokedUrlCommand) {
self.webView?.isOpaque = false
self.webView?.backgroundColor = UIColor.clear
self.webView?.scrollView.backgroundColor = UIColor.clear
self.getStatus(command)
}

Expand Down

0 comments on commit a5559a9

Please sign in to comment.