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

Fix remove Deprecated android beam in Android 14 #11

Closed

Conversation

souleymane-diallo
Copy link

Removal of Deprecated Android Beam Features in API 34

The chariotsolutions/phonegap-nfc plugin includes Android Beam features, which were deprecated in Android API 29 and
removed in API 34. As a result, the plugin is incompatible with Android 14.

  • To fix this, I removed the nfc.share, nfc.unshare, nfc.handover, and nfc.stopHandover functions from the NfcPlugin.java file.
  • The nfc.handover and nfc.stopHandover methods, specific to Android only, have also been removed from the JavaScript file
    phonegap-nfc.js and README

Files modified:

  • NfcPlugin.java
  • phonegap-nfc.js
  • README.md

@pierresh
Copy link

Hello,

Yes, I also met that problem. It would be great that this PR gets merged :)

@ath0mas
Copy link
Member

ath0mas commented Jun 11, 2024

Planning to do it soon yes.

@ath0mas
Copy link
Member

ath0mas commented Jun 22, 2024

Closing this PR, to check and discuss the changes directly in parent repo and PR chariotsolutions#508.
When ok for me, I'll do the PR here and merge, before a new release to follow quickly.

@ath0mas ath0mas closed this Jun 22, 2024
@ath0mas
Copy link
Member

ath0mas commented Jul 10, 2024

Released in v1.3.0-5, published to cordova-plugin-ns0m-nfc.
Thanks again!

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.

3 participants