AVSpeechSynthesizer doesn't work when running in background of workout app

I have a watchOS 3 workout app with background modes of Workout Processing and Audio enabled. It's awesome that AVSpeechSynthesizer now works on the watch, but it appears to only work for me when the app is in the foreground. I would love to have the same speech to text audio alerts on the watch and I currently have for the iPhone app, but they are useless unless they work in the background as well. Anyone know if this is working as intended or if its a bug?

Replies

Make sure in capabilites Audio is enable for background mode.

Yes, I have background audio enabled for both the watch app and the extension.

Are you able to solve the problem?

As of watchOS 3.1, AVSpeechSynthesizer still does not work is the app is in the background.

We had the same issue, the issue is fixed in watchOS 3.1.1, but that was pulled, the issue is the workout processing doesn't seem to keep the app working in background for some reason, you can force it to work but adding "location" to the background modes, but then you can't submit it.


Craig

I tried on 3.1.3 Beta and the speech only come up when the screen is up.


I only have the backround enabled in watchkitapp extension.


In watchkitapp there is background capability as well not sure what's the use of it.