@splig wrote:
Hi there!
I am reading an NFC tag but I would like to remove the default platform sound every time I read a tag from my app so I would like to sound an “ok” or “warning” sound depending on read value.
I haver read about the Android flag https://developer.android.com/reference/android/nfc/NfcAdapter.html#FLAG_READER_NO_PLATFORM_SOUNDS but I don’t see a way to set this value in ionic. Moreover, to my understanding (new in ionic, node and angular, big deal!) is already set to be quiet.
Anyway… I understood reading the code from cordova plugin I could user readerMode method but this method is not available in ionic interface.
Has somebody handed it? Briefly: I want to read an NFC tag quietly, without the Android beep on read.
Thanks!
Posts: 1
Participants: 1