File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 2.0.12
2+ - For iOS 18 or newer, call ` pauseCamera ` on dispose instead of ` stopCamera `
3+
14## 2.0.11
25
36FIX for iOS 26:
Original file line number Diff line number Diff line change @@ -298,9 +298,9 @@ class QRViewController {
298298 final iOSVersionDouble = double .tryParse (iOSVersion) ?? 0 ;
299299
300300 // print('iOSVersionDouble $iOSVersionDouble');
301- if (iOSVersionDouble < 26 .0 ) {
302- // Don't call stopCamera on iOS 26 or higher
303- // -- it causes UI to hang for a few seconds
301+ if (iOSVersionDouble < 18 .0 ) {
302+ // Don't call stopCamera on iOS 18 or higher
303+ // -- it causes UI to hang for a few seconds, especially on iOS 26+
304304 await _channel.invokeMethod ('stopCamera' );
305305 } else {
306306 await _channel.invokeMethod ('pauseCamera' );
Original file line number Diff line number Diff line change 11name : qr_code_scanner_plus
22description : QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS.
3- version : 2.0.11
3+ version : 2.0.12
44homepage : https://vespr.xyz
55repository : https://github.com/vespr-wallet/qr_code_scanner_plus
66
You can’t perform that action at this time.
0 commit comments