1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Why do NfcAntennaInfo.getAvailableNfcAntennas returns 2 antennas instead of 1?

Discussão em 'Mobile' iniciado por Stack, Outubro 4, 2024 às 05:12.

  1. Stack

    Stack Membro Participativo

    I'm trying to access NFC information in my phone, especially its physical position. I tried https://developer.android.com/reference/android/nfc/NfcAntennaInfo#getAvailableNfcAntennas() (I'm okay that it's only for sdkInt >= 34) , but unexpectedly it returns 2 antennas on my phone: one that I'm actually using for NFC features (top left) and one that I see for the first time (above middle right).

    I tried to obtain tags with last one and still didn't succeed. I'm concerned why is that, because I expected to get only active NFC antenna, like what does the second supposed to mean?

    Continue reading...

Compartilhe esta Página