Skip to content
Discussion options

You must be logged in to vote

Hello,

This issue is solved with the following code adjustment :
The Microsoft sample code for “SampleExtensionView.ts” has this line in the class declaration :
public readonly implementsIBarcodeScannerEndpoint: true;
It appears that this is no longer taken in consideration while instantiating the class in Commerce SDK.
We managed to get it working by adding this line to the constructor of the of the class, after de super call :
this.implementsIBarcodeScannerEndpoint = true;
After this modification the “onBarcodeScanned” method gats called correctly while using the barcode scanner.
It would be a good idea to correct this in the Microsoft samples, not to waste time to other technicians.

Ch…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SasoGLIGOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant