Updated For MAUI - Maui support #97
Library is updated to support .Net MAUI
Description of Change
I make change to migrate .NetStandard 2 to .Net 6. and also update deprecated methods of CoreNFC.
Bugs Fixed
- Related to issue # Maui support #97
Provide links to issues here. Ensure that a GitHub issue was created for your feature or bug fix before sending PR.
API Changes
List all API changes here (or just put None), example:
Changed:
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">=><Project Sdk="Microsoft.NET.Sdk">tag.GetNFCMiFareTag() != null=>tag.Type == CoreNFC.NFCTagType.MiFaretag.GetNFCIso7816Tag() != null=>tag.Type == CoreNFC.NFCTagType.AsNFCIso7816Tagtag.GetNFCIso15693Tag() != null=>tag.Type == CoreNFC.NFCTagType.AsNFCIso15693Tagtag.GetNFCFeliCaTag() != null=>tag.Type == CoreNFC.NFCTagType.FeliCa
Behavioral Changes
Describe any non-bug related behavioral changes that may change how users app behaves when upgrading to this version of the codebase.
PR Checklist
- [x] Has tests (if omitted, state reason in description)
- [x] Has samples (if omitted, state reason in description)
- [ ] Rebased on top of master at time of PR
- [x] Changes adhere to coding standard
- [x] Updated documentation
@pavan7parekh great work! 2 things, you removed backwards compatibility with Xamarin forms old projects by removing former standard isn’t it? Also, for this file src/Plugin.NFC/iOS/NFC.iOS.cs can you only commit the changes that you made and not the white space and indentation changes?
@saamerm We can not make it for backwards compatibility with Xamarin old projects. Actually, To make it compatible for MAUI we need change the Project SDK "MSBuild.Sdk.Extras/3.0.44" to "Microsoft.NET.Sdk". and that's why it is not compatible for Xamarin.
@pavan7parekh check out this conversation https://twitter.com/Saamerm/status/1547650109181087745 and this example https://github.com/smstuebe/xamarin-fingerprint/commit/90ba2eda57fd5fd4bfb3ffe439fbd5bad690e8e0
@pavan7parekh, @saamerm I fixed the backward compatibility with XF and also added a new sample for MAUI if you want to check out.
@franckbour Awesome! Thank You
Hi @franckbour,
When my PR will approve and merge? I have to update my project with plugin.nfc nuget package.