Skip to content

Commit

Permalink
SVYX-795 - fix issue with bar code options not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanway committed Feb 23, 2024
1 parent 3a15734 commit 56d3d36
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion svyphonegap/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-Name: Phonegap
Bundle-SymbolicName: svyphonegap
Package-Type: Web-Service
Bundle-Version: 1.2.2
Bundle-Version: 1.2.3

Name: push/push.spec
Web-Service: True
Expand Down
2 changes: 1 addition & 1 deletion svyphonegap/barcode/barcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ angular.module('svyphonegapBarcode', ['servoy']).factory("svyphonegapBarcode", f
$window.executeInlineScript(successCallback.formname, successCallback.script, [data]);
}, function(err) {
$window.executeInlineScript(errorCallback.formname, errorCallback.script, [err]);
});
}, options);
} catch (e) {
console.error('Error scanning barcode: ' + e.message)
}
Expand Down
5 changes: 5 additions & 0 deletions svyphonegap/barcode/barcode.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
{
"name": "onErrorCallbackMethod",
"type": "function"
},
{
"name": "options",
"type": "object",
"optional": true
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion svyphonegap/projects/ng2package/src/barcode.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class barcodeService {
this.helperCB(successCallback, data);
}.bind(this), function(err) {
this.helperCB(errorCallback, err);
}.bind(this));
}.bind(this), options);
} catch (e) {
console.error('Error scanning barcode: ' + e.message)
}
Expand Down

0 comments on commit 56d3d36

Please sign in to comment.