Closed rdalterioalmaviva closed 7 months ago
void disableForegroundNdefPush(Activity) | void enableForegroundNdefPush(Activity, NdefMessage) | boolean invokeBeam(Activity) | boolean isNdefPushEnabled() | void setBeamPushUris(Uri[], Activity) | void setBeamPushUrisCallback(CreateBeamUrisCallback, Activity) | void setNdefPushMessage(NdefMessage, Activity) | void setNdefPushMessageCallback(CreateNdefMessageCallback, Activity) | void setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback, Activity) |
Added Methods NfcAntennaInfo [getNfcAntennaInfo](https://developer.android.com/reference/android/nfc/NfcAdapter.html#getNfcAntennaInfo())()
Error build android devices sdk 34
error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(p2pMessage, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(NdefMessage,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:585: error: cannot find symbol [cordova] } else if (!nfcAdapter.isNdefPushEnabled()) { [cordova] ^ [cordova] symbol: method isNdefPushEnabled() [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:588: error: cannot find symbol [cordova] nfcAdapter.setOnNdefPushCompleteCallback(NfcPlugin.this, getActivity()); [cordova] ^ [cordova] symbol: method setOnNdefPushCompleteCallback(NfcPlugin,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:590: error: cannot find symbol [cordova] nfcAdapter.setBeamPushUris(uris, getActivity()); [cordova] ^ [cordova] symbol: method setBeamPushUris(Uri[],Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] /platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:611: error: cannot find symbol [cordova] } else if (!nfcAdapter.isNdefPushEnabled()) { [cordova] ^ [cordova] symbol: method isNdefPushEnabled() [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:614: error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(p2pMessage, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(NdefMessage,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:615: error: cannot find symbol [cordova] nfcAdapter.setOnNdefPushCompleteCallback(NfcPlugin.this, getActivity()); [cordova] ^ [cordova] symbol: method setOnNdefPushCompleteCallback(NfcPlugin,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:631: error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(null, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:643: error: cannot find symbol [cordova] nfcAdapter.setBeamPushUris(null, getActivity()); [cordova] ^ [cordova] symbol: method setBeamPushUris(,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] Note: Some input files use or override a deprecated API. [cordova] Note: Recompile with -Xlint:deprecation for details.
Removed Methods
void disableForegroundNdefPush(Activity) | void enableForegroundNdefPush(Activity, NdefMessage) | boolean invokeBeam(Activity) | boolean isNdefPushEnabled() | void setBeamPushUris(Uri[], Activity) | void setBeamPushUrisCallback(CreateBeamUrisCallback, Activity) | void setNdefPushMessage(NdefMessage, Activity) | void setNdefPushMessageCallback(CreateNdefMessageCallback, Activity) | void setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback, Activity) |
Added Methods NfcAntennaInfo [getNfcAntennaInfo](https://developer.android.com/reference/android/nfc/NfcAdapter.html#getNfcAntennaInfo())()
Error build android devices sdk 34
error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(p2pMessage, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(NdefMessage,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:585: error: cannot find symbol [cordova] } else if (!nfcAdapter.isNdefPushEnabled()) { [cordova] ^ [cordova] symbol: method isNdefPushEnabled() [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:588: error: cannot find symbol [cordova] nfcAdapter.setOnNdefPushCompleteCallback(NfcPlugin.this, getActivity()); [cordova] ^ [cordova] symbol: method setOnNdefPushCompleteCallback(NfcPlugin,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:590: error: cannot find symbol [cordova] nfcAdapter.setBeamPushUris(uris, getActivity()); [cordova] ^ [cordova] symbol: method setBeamPushUris(Uri[],Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] /platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:611: error: cannot find symbol [cordova] } else if (!nfcAdapter.isNdefPushEnabled()) { [cordova] ^ [cordova] symbol: method isNdefPushEnabled() [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:614: error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(p2pMessage, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(NdefMessage,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:615: error: cannot find symbol [cordova] nfcAdapter.setOnNdefPushCompleteCallback(NfcPlugin.this, getActivity()); [cordova] ^ [cordova] symbol: method setOnNdefPushCompleteCallback(NfcPlugin,Activity) [cordova] location: variable nfcAdapter of type NfcAdapter [cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:631: error: cannot find symbol [cordova] nfcAdapter.setNdefPushMessage(null, getActivity()); [cordova] ^ [cordova] symbol: method setNdefPushMessage(,Activity)
[cordova] location: variable nfcAdapter of type NfcAdapter
[cordova] platforms/android/app/src/main/java/com/chariotsolutions/nfc/plugin/NfcPlugin.java:643: error: cannot find symbol
[cordova] nfcAdapter.setBeamPushUris(null, getActivity());
[cordova] ^
[cordova] symbol: method setBeamPushUris(,Activity)
[cordova] location: variable nfcAdapter of type NfcAdapter
[cordova] Note: Some input files use or override a deprecated API.
[cordova] Note: Recompile with -Xlint:deprecation for details.