cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Sequence Voice command works on Mobile device but not on IPAD

agangaiah
14-Alexandrite

Sequence Voice command works on Mobile device but not on IPAD

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 1

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

Top Tags