Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello,
I have this code that works on mobile device(Iphone) but not on Ipad. Any idea why?
var labelId = "label-1";
$scope.$on('newStep', function(evt, arg)
{
$scope.setWidgetProp( labelId, "text", arg);
var labelText = $scope.view.wdg['label-1'].text;
var InstructText = labelText.substr(labelText.indexOf(")") + 1);
$scope.setWidgetProp( "label-1", "text", InstructText);
var spokenText = $scope.view.wdg["label-1"].text;
var msg = new SpeechSynthesisUtterance(spokenText)
window.speechSynthesis.speak(msg);
});
Avinash
Hi Avinash,
I couldn't find any mistakes in your code. You could check the settings of your iPad. Vuforia View should have the same permissions as on your iPhone. Make sure, that all necessary volumes are turned on. Check, if the newest version is installed.
greetings
whity
