Android: Scanning a QR code logs out
tested on 4.4 with mobile and 4.1 with tablet.
Scanning a qr code now locks out to the lockscreen but that worked fine before.
I confirmed it happens just on mobile devices; chrome/firefox on macosx with inbuilt camera works fine
Same happens when joining a shared wallet using the qr code.
$scope.openScanner = function() {
if (window.cordova) return $scope.scannerIntent();
... then it goes into:
$scope.scannerIntent = function() { cordova.plugins.barcodeScanner.scan( function onSuccess(result) { if (result.cancelled) return; $timeout(function() { var data = result.text; $scope.$apply(function() { $scope.sendForm.address.$setViewValue(result.text); $scope.sendForm.address.$render(); }); }, 1000); }, function onError(error) { alert('Scanning error'); });
but when it returns from the scanner plugin it somehow the site to /
I cant really debug after the qr scan has been made it directly reloads the application
Thanks a lot for the report! https://github.com/bitpay/copay/pull/2124 should fix this.