yubioath-android icon indicating copy to clipboard operation
yubioath-android copied to clipboard

Disable NFC Sounds

Open tERyceNzAchE opened this issue 5 years ago • 6 comments

The reader-mode API has a flag FLAG_READER_NO_PLATFORM_SOUNDS that can be used to disable the NFC discovery sounds.

Please use this as the sounds are quite annoying, especially if you have to tap twice to see a code.

tERyceNzAchE avatar Nov 15 '19 17:11 tERyceNzAchE

Thank you for your feature request, we might add this as custom preferences. Because most people would prefer to have notification that the tag was accepted.

imakhalova avatar Dec 09 '19 01:12 imakhalova

To me the sound is very useful since on my Samsung phones, if you don't have the fob in a specific area, the phone can detect the fob but it gets some sort of an error, which makes a different tone. So having the audio feedback is very helpful to know if the fob was detected and properly communicating.

bperrybap avatar Dec 14 '19 06:12 bperrybap

While I can appreciate the need for NFC sounds for some people, it is incredibly annoying when trying to get 2FA codes at work in a quiet office environment, especially when you have to tap twice. The NFC sounds are LOUD.

tERyceNzAchE avatar Dec 14 '19 18:12 tERyceNzAchE

Seems like it is more of an Android / device issue rather than a yubico authenticator issue as at least on my Samsung phone there does not seem to be any type of configuration option for the NFC alert tones. If I mute the sound or set it to vibrate on my Samsung phone, I don't get any NFC "chirps".

Even if authenticator had an option to disable I'm not sure if the initial scan scan sound could be disabled if the app is not already up and running, since the first scan will be handled by the OS while it is determining which app to run before yubico authenticator is up and running and in control.

But yeah, it might be nice if the yubico Authenticator had a sound option to control whether the sound was made for yubikey scans once the app was up to offer at least a little control over it for those that want it.

bperrybap avatar Dec 14 '19 18:12 bperrybap

Even if authenticator had an option to disable I'm not sure if the initial scan scan sound could be disabled if the app is not already up and running, since the first scan will be handled by the OS while it is determining which app to run before yubico authenticator is up and running and in control.

I never scan the key without the App open, so enabling FLAG_READER_NO_PLATFORM_SOUNDS should silence all NFC sounds for me.

tERyceNzAchE avatar Dec 14 '19 20:12 tERyceNzAchE

I can confirm on a Pixel phone, the sound is at maximum volume and extremely loud, especially in the early morning which wakes everyone up. Only do-not-disturb, mute mode, and vibrate mode are silent. But it's very inconvenient to always have to turn on do-not-disturb, open the Yubico Authenticator app, scan the NFC, type the code, log in, go back to turn off do-not-disturb. I may accidentally forget to switch off do-not-distrub and miss a call or notification. (probably better to use vibrate mode instead.) Otherwise, I'd have to go find a USB-A to USB-C adapter just so that I don't need to use the NFC. Also, the list of accounts do not clear on password timeout, so if I want to clear it, I have to back to the recent apps and swipe it away.

ghost avatar Feb 10 '22 07:02 ghost

Sorry for the late response. The development of the app moved to https://github.com/Yubico/yubioath-flutter and we have released a new version of the app. Thank you for the suggestion, we will consider it for development in the new version. Please report any new issues in the new repository.

AdamVe avatar Nov 16 '22 09:11 AdamVe