The Venu 2 Plus supports and plays tones.
The App in the simulator plays tones but on the watch it doesn't.
Is there something special that the app has to have configured to be able to play tones on the watch?
The Venu 2 Plus supports and plays tones.
The App in the simulator plays tones but on the watch it doesn't.
Is there something special that the app has to have configured to be able to play tones on the watch?
Yes. On Fenix6 it's: Menu > System > sounds > Alert Tones > On
Thanks, It's on, as Notifications vibrates and plays a sound, but the app which works in the simulator doesn't play sound on the watch.
Most odd - even another app plays a tone, but not the Beta app when it should.
are those the same app type?
If you use the Attention sample in the SDK does that work in the sim and on the real device? If not, use the sample app in a bug report, as that way Garmin knows that app which can help in fixing the bug
are those the same app type?
yes
If you use the Attention sample in the SDK does that work in the sim and on the real device?
Shouldn't it work on both?
yes it should, but you're saying SOME code doesn't work on real device, and Jim gave you a good idea what to test because if that doesn't work then there's either a bug in the device which Garmin hopefully will fix ASAP, or they'll understand that the example code or the documentation has some place to improvement (which we can also hope they'll fix, though it may be less priority :(
If the sample works on both, then you need to look at what's different in your code.
If it's like your app and works in the sim, but not on the real device, using one of Garmin's own samples is a good way to do a bug report, as to Garmin, it's known and proven code.
The Attention sample has fallback code to play a regular tone if ToneProfile is unavailable. The docs claim that ToneProfile is supported on Venu 2 Plus, but maybe that's a bug? (In both the doc and the sim, if they don't match reality.)
If you just play a regular tone, does it work?
// Play a tone if (Attention has :playTone) { var currentToneIdx = _toneIdx; _currentTone = _toneNames[_toneIdx]; _toneIdx = (_toneIdx + 1) % _toneNames.size(); if (_toneIdx == 0) { if ((Attention has :ToneProfile) && ($.Rez.JsonData has :id_birthday)) { Attention.playTone({ :toneProfile => loadSong($.Rez.JsonData.id_birthday as Symbol) }); } else { _currentTone = "Not supported"; } } else { Attention.playTone(currentToneIdx as Tone); } } else { _currentTone = "Not supported"; }
If you just play a regular tone, does it work?
Yes it works on both device and simulator. EG
so it seems an issue with the example in the Api docs.
What is strange is the built code works in the Simulator but the same built code doesn't in the device [Venu 2 PLus at latest level].