external-nfc-api
external-nfc-api copied to clipboard
New versions of android have changes for broadcast system, code needs to be updated.
For myself, for now, I was able to fix broadcast issue by adding this in external activity class:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
registerReceiver(readerReceiver, filter, Context.RECEIVER_NOT_EXPORTED);
} else {
registerReceiver(readerReceiver, filter);
}
--Also I wanted to ask if this project is still active and if I can create pull request to also add other fixes to Issues I noticed--
@heromanofe if you have some improvements, I'll gladly take them in.
The project is not very active, as a lot of things have been copied and improved at android-nfc-lib.