Open cory-creighton opened 3 years ago
App Crashes when the volume is pressed. This appears to be isolated to iOS.
"@nativescript/core": "~7.1.0" "nativescript-barcodescanner": "^4.0.1" "nativescript-vue": "^2.8.1"
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<NSObject: 0x2809bbe80>: An -observeValueForKeyPath:ofObject:change:context: message was received but not handled. Key path: outputVolume Observed object: <AVAudioSession: 0x28099ded0> Change: { kind = 1; } Context: 0x0' First throw call stack: (0x1a1c0586c 0x1b6b74c50 0x1a2f2d7bc 0x1a2f2d8e0 0x1a2f2fe70 0x1a2f2d08c 0x1a963343c 0x1a962bc60 0x1a17f824c 0x1a17f9db0 0x1a18077ac 0x1a1b8111c 0x1a1b7b120 0x1a1b7a21c 0x1b967e784 0x1a45b8fe0 0x1a45be854 0x103748044 0x103746d44 0x1036e772c 0x1036aa060 0x10370adf4 0x103704eb8 0x102b5a4b8 0x1a183a6b0)
barcodescanner.scan({ formats: "QR_CODE,PDF_417", cancelLabel: "CLOSE SCANNER", cancelLabelBackgroundColor: "#333333", showFlipCameraButton: true, preferFrontCamera: false, showTorchButton: false, beepOnScan: false, torchOn: false, closeCallback: function () { scope.closeScanner(); }, resultDisplayDuration: 500, orientation: "portrait", openSettingsIfPermissionWasPreviouslyDenied: true })
App Crashes when the volume is pressed. This appears to be isolated to iOS.
Build Dependencies:
"@nativescript/core": "~7.1.0" "nativescript-barcodescanner": "^4.0.1" "nativescript-vue": "^2.8.1"
Console feedback in debug mode:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<NSObject: 0x2809bbe80>: An -observeValueForKeyPath:ofObject:change:context: message was received but not handled. Key path: outputVolume Observed object: <AVAudioSession: 0x28099ded0> Change: { kind = 1; } Context: 0x0' First throw call stack: (0x1a1c0586c 0x1b6b74c50 0x1a2f2d7bc 0x1a2f2d8e0 0x1a2f2fe70 0x1a2f2d08c 0x1a963343c 0x1a962bc60 0x1a17f824c 0x1a17f9db0 0x1a18077ac 0x1a1b8111c 0x1a1b7b120 0x1a1b7a21c 0x1b967e784 0x1a45b8fe0 0x1a45be854 0x103748044 0x103746d44 0x1036e772c 0x1036aa060 0x10370adf4 0x103704eb8 0x102b5a4b8 0x1a183a6b0)
The instance of the barcode scanner is defined as:
barcodescanner.scan({ formats: "QR_CODE,PDF_417", cancelLabel: "CLOSE SCANNER", cancelLabelBackgroundColor: "#333333", showFlipCameraButton: true, preferFrontCamera: false, showTorchButton: false, beepOnScan: false, torchOn: false, closeCallback: function () { scope.closeScanner(); }, resultDisplayDuration: 500, orientation: "portrait", openSettingsIfPermissionWasPreviouslyDenied: true })