You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am capturing an NDEF_DISCOVERED intent succesfully, however while the intent action contains android.nfc.action.NDEF_DISCOVERED and the extras contains the expected fields, all of the data is null. According to THIS the data associated with my intent should be stored in the extra.NDEF_MESSAGES array, however it returns empty. I believe this is an error on the plugin side, as the data sent back from _eventChannel.receiveBroadcastStream().map<Intent?>() is also missing the data.
AndroidManifest.xml contains the following in the correct activity:
I was able to confirm the tag has the correct contents via another app. My assumption here was that because the data of my payload (mimeType record) is raw bytes (and not UTF encodeable) the bundleToJson function was breaking, however after writing a string to the payload the issue persists.
The text was updated successfully, but these errors were encountered:
Hello,
I am capturing an NDEF_DISCOVERED intent succesfully, however while the intent action contains android.nfc.action.NDEF_DISCOVERED and the extras contains the expected fields, all of the data is null. According to THIS the data associated with my intent should be stored in the extra.NDEF_MESSAGES array, however it returns empty. I believe this is an error on the plugin side, as the data sent back from _eventChannel.receiveBroadcastStream().map<Intent?>() is also missing the data.
AndroidManifest.xml contains the following in the correct activity:
The code I am using to debug:
And the result:
Intent(fromPackageName: null, fromSignatures: null, action: android.nfc.action.NDEF_DISCOVERED, data: null, categories: null, extra: {android.nfc.extra.NDEF_MESSAGES: [null], android.nfc.extra.ID: []})
I was able to confirm the tag has the correct contents via another app. My assumption here was that because the data of my payload (mimeType record) is raw bytes (and not UTF encodeable) the bundleToJson function was breaking, however after writing a string to the payload the issue persists.
The text was updated successfully, but these errors were encountered: