Plugin.NFC icon indicating copy to clipboard operation
Plugin.NFC copied to clipboard

Write Tag Android got exception: Tag IO Error

Open phamquoctuan1 opened this issue 2 years ago • 2 comments

Description

Steps to Reproduce

  1. I put breakpoint into MainPage.xaml.cs to debug
  2. then clicked Write Tag (TEXT) in App
  3. It was throw exception in ndef.Connect(); in this method WriteOrClearMessage went to this line catch (Java.IO.IOException ioex) { throw new Exception("Tag IO Error: " + ioex.Message); }

Expected Behavior Can write the tag

Actual Behavior got exception

Basic Information Only debug get that, when I run app normally is ok

  • Version with issue:
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

phamquoctuan1 avatar Jul 12 '23 06:07 phamquoctuan1

@phamquoctuan1 Could you please fill out all the information so we can possibly help you fix this issue?

saamerm avatar Sep 20 '23 17:09 saamerm

I am getting this same error on MAUI with Android ONLY when trying to publish with NFCNdefTypeFormat.Mime TypeFormat. WellKnown (text) seems to work fine.

image

Any guidance?

rehnz avatar Oct 31 '23 23:10 rehnz