Skip to content

Commit

Permalink
Merge pull request #637 from storm2513/bug/fix-intents-handling
Browse files Browse the repository at this point in the history
Bug: fix intents handling when they don't contain NFC tag [Android]
  • Loading branch information
whitedogg13 authored May 31, 2023
2 parents 5e7b932 + 5bd179c commit 66d7b54
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,9 @@ private WritableMap parseNfcIntent(Intent intent) {

WritableMap parsed = null;
Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
if (tag == null) {
return null;
}
// Parcelable[] messages = intent.getParcelableArrayExtra((NfcAdapter.EXTRA_NDEF_MESSAGES));

synchronized(this) {
Expand Down

0 comments on commit 66d7b54

Please sign in to comment.