maui icon indicating copy to clipboard operation
maui copied to clipboard

Support for NFC

Open 3GDXC opened this issue 4 years ago • 21 comments

Description

I would like to create a inventory management system using MAUI; warehouses currently use a mixture of Barcodes, QR codes, RFID and NFC tagged products and/or stillages. It would be good if MAUI provided as part of the essentials namespace NFC support for devices.

Public API Changes

var nfc = new NFC(); nfc.event+=processEvent; await nfc.ListenAsync( );

Intended Use-Case

holding the device up to/close to a NFC tag would trigger the event with the event args containing the NFC tag data

3GDXC avatar Mar 08 '22 23:03 3GDXC

Also support for RFID as above would be good

3GDXC avatar Mar 08 '22 23:03 3GDXC

We've moved this issue to the Future milestone. This means that it is not going to be worked on for the coming release. We will reassess the issue following the current release and consider this item at that time.

ghost avatar Mar 09 '22 02:03 ghost

Any update on this issue. I also have requirement of using NFC in my Maui app instead many people have an eye on this. @Redth @jsuarezruiz

Suleman218 avatar Jun 30 '22 10:06 Suleman218

Any update on this issue. I also have requirement of using NFC in my Maui app instead many people have an eye on this. @Redth @jsuarezruiz

At this moment we are focused in performance and quality (bug fixing). We will take into account requests like this one in the future but for now, you can use the code from community plugins like https://github.com/franckbour/Plugin.NFC

jsuarezruiz avatar Jun 30 '22 14:06 jsuarezruiz

@jsuarezruiz Thanks for the update

Suleman218 avatar Jul 04 '22 08:07 Suleman218

any news? has been a while.

Happy New Year to all.

notyournick avatar Jan 23 '23 00:01 notyournick

News ?

Amine-Smahi avatar Jul 01 '23 17:07 Amine-Smahi

Bump!

HeathersZen avatar Jul 11 '23 09:07 HeathersZen

Anything?

uestadeus avatar Jul 24 '23 17:07 uestadeus

I took an old Xamarin project and brought it to Maui with basically no changes. Tested in Android and works fine

https://github.com/acaliaro/XamarinDemoNfc

developerSoluzione1 avatar Jul 24 '23 17:07 developerSoluzione1

I took an old Xamarin project and brought it to Maui with basically no changes. Tested in Android and works fine

https://github.com/acaliaro/XamarinDemoNfc

Also for IOS ?

uestadeus avatar Jul 24 '23 17:07 uestadeus

Oh my mistake it s written there only for android. i missed that. thanks anyway

uestadeus avatar Jul 24 '23 17:07 uestadeus

I took an old Xamarin project and brought it to Maui with basically no changes. Tested in Android and works fine https://github.com/acaliaro/XamarinDemoNfc

Also for IOS ?

Yes the Xamarin sample was also for iOS but I have not tested in Maui ( I think it should works)

acaliaro avatar Jul 24 '23 18:07 acaliaro

Tomé un antiguo proyecto de Xamarin y lo traje a Maui básicamente sin cambios. Probado en Android y funciona bien

https://github.com/acaliaro/XamarinDemoNfc

Hello, could you please help me with the steps you follow to bring it to MAUI?

Rigo09 avatar Jul 26 '23 17:07 Rigo09

Tomé un antiguo proyecto de Xamarin y lo traje a Maui básicamente sin cambios. Probado en Android y funciona bien https://github.com/acaliaro/XamarinDemoNfc

Hello, could you please help me with the steps you follow to bring it to MAUI?

https://github.com/acaliaro/MauiAppTestNfcAndroid

acaliaro avatar Jul 27 '23 05:07 acaliaro

Any updates?

The Plugin.NFC seems to be not working on newer iOS versions: https://github.com/franckbour/Plugin.NFC/issues/148

andreas-spindler-mw avatar Dec 29 '23 08:12 andreas-spindler-mw

I've been running tests on both net7.0-ios and net8.0-ios, but I keep encountering this error

Time	Device Name	Type	PID	Tag	Message
Feb  3 18:42:18	Kennys-iPhones	Notice	29865	Xamarin.PreBuilt.iOS(CoreNFC)	-[NFCNDEFReaderSession beginSession]:363

Time	Device Name	Type	PID	Tag	Message
Feb  3 18:46:19	Kennys-iPhones	Notice	29865	Xamarin.PreBuilt.iOS(CoreNFC)	-[NFCNDEFReaderSession _invalidateSessionWithCode:message:finalUIState:activateCallback:]:971 code=4099, finalUIState=0, activateCallback=1
Time	Device Name	Type	PID	Tag	Message
Feb  3 18:46:19	Kennys-iPhones	Error	29865	Xamarin.PreBuilt.iOS(CoreNFC)	-[NFCNDEFReaderSession beginSessionWithConfig:]:443 error:Error Domain=NSCocoaErrorDomain Code=4099 UserInfo={NSDebugDescription=<private>}, errorCode: 0x1003

kennykanp avatar Feb 03 '24 23:02 kennykanp

Any update ?

Amine-Smahi avatar Feb 04 '24 22:02 Amine-Smahi

Hi, any news on the integration of nfc support in maui? is there an approximate date? @jsuarezruiz

Thanks

napangelo avatar Mar 09 '24 14:03 napangelo

Any update ?

andru196 avatar May 17 '25 14:05 andru196