QR Reader Issue
Summary
I can't get QR Code value and store it in a variable in Visual Builder App pageContent
Dears,
Please I want to store the QR Code value in the below code which has the name StrCode and pass that value to one of my page variables in the VBCS app.
You can find the code for the QR reader working, however I cant get to know how to retrieve the data of the QR code in the tick function
Code Snippet
define(["resources/jsQR"], function(jsQR) { 'use strict'; var PageModule = function PageModule(context) { PageModule.prototype.eventHelper = context.getEventHelper(); }; PageModule.prototype.setupCamera = function(qrCode) { var video = document.createElement("video"); // Get access to the camera! if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) { // Not adding `{ audio: true }` since we only want video now navigator.mediaDevices.getUserMedia({ video: {
0