Skip to main content
5-Regular Member
October 28, 2018
Question

Sequence Voice command works on Mobile device but not on IPAD

  • October 28, 2018
  • 1 reply
  • 1104 views

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

1 reply

16-Pearl
October 29, 2018

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