Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NfcPlugin.java for sdk 31+ compatibility #482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FConstantMovework
Copy link

Adding mutable flag (Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent while placing Call)

Adding mutable flag (Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent while placing Call)
@maximdjorosoft
Copy link

The NFC addTagDiscoveredListener is still not firing, even with this fix. Used to work before.

@FConstantMovework
Copy link
Author

Thi fix is meant to ensure compatibility with android 12. Without it any app using the plugin on android 12 will crash at start. About the non firing addTagDiscoveredListener it should be related to some dependecies because in every of my applications I'm using it and it's working well. Let me know if you would like more details about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants