Closed hattmann closed 1 year ago
Ok, it is now working, the "Error" was not a Plugin.NFC issue.
The Line with the Full Path to the Entitlement.plist
File in the VS Project File was wrong, there was no compiler error from .NET Maui for this.
<CodesignEntitlements>Entitlement.plist</CodesignEntitlements>
The correct Entry with path is now Platforms\iOS\Entitlement.plist
:
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<CodesignEntitlements>Platforms\iOS\Entitlement.plist</CodesignEntitlements>
<CodesignKey>iPhone Distribution: Example (GGGNYXS4N)</CodesignKey>
<CodesignProvision>CompanyAppstoreSigning</CodesignProvision>
<BuildIpa>true</BuildIpa>
<IpaIncludeArtwork>true</IpaIncludeArtwork>
<CreatePackage>false</CreatePackage>
<IpaPackageName>de.example.hdl</IpaPackageName>
<UseInterpreter>True</UseInterpreter>
</PropertyGroup>
Sorry for the wrong issue, but perhaps others find this useful.
@hattmann do you want to create a PR to the README.md file so others don't have the issue?
Description
IOS / Library not working after published to AppStore Connect / Testflight NFC
Expected Behavior
NFC Popup raises and NFC Card can be detected
Actual Behavior
Message "NFC is not available Followed by Message "NFC is disabled" Followed by "Session Invalidated / System resource unvailable"
Basic Information
Content Added to Entitlement.plist:
Content Added to Info.plist:
Screenshots
Reproduction Link