You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to emulate a NFCtagType4 with an Android device.
I'm able to read the tag but HCE_STATE_READ event is fired 3 times.
Is that the desired behaviour?
I fixed it locally in respondRead method inside NFCTagType4 class:
if (realLength == slicedResponse.length) {
this.hceModel.getLastState()
.setValue(HceViewModel.HCE_STATE_READ);
}
Could it be a valid solution to avoid multiple firings?
The text was updated successfully, but these errors were encountered:
Same here, it keeps bumping up and the only way to fix it is to close the app to reset the session . . even if the component is unmount and re-mount it triggers a lot
I'm trying to emulate a NFCtagType4 with an Android device.
I'm able to read the tag but HCE_STATE_READ event is fired 3 times.
Is that the desired behaviour?
I fixed it locally in respondRead method inside NFCTagType4 class:
Could it be a valid solution to avoid multiple firings?
The text was updated successfully, but these errors were encountered: