external-nfc-api icon indicating copy to clipboard operation
external-nfc-api copied to clipboard

New versions of android have changes for broadcast system, code needs to be updated.

Open heromanofe opened this issue 2 years ago • 1 comments

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 avatar Aug 22 '23 21:08 heromanofe

@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.

skjolber avatar Oct 25 '23 21:10 skjolber