Merge pull request #2535 from matiaspando/bug/barcodeAndroid
Fixing barcode scanner (Android) with new cordova plugin
This commit is contained in:
commit
6b8a561f6a
1 changed files with 5 additions and 3 deletions
|
|
@ -25,7 +25,9 @@ angular.element(document).ready(function() {
|
|||
}, false);
|
||||
|
||||
document.addEventListener('resume', function() {
|
||||
if (!window.ignoreMobilePause) {
|
||||
window.location = '#/cordova/resume';
|
||||
}
|
||||
setTimeout(function() {
|
||||
window.ignoreMobilePause = false;
|
||||
}, 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue