Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFCQueryNdefStatusCompletionHandler.error nullability is wrong #21540

Open
RamType0 opened this issue Oct 29, 2024 · 2 comments
Open

NFCQueryNdefStatusCompletionHandler.error nullability is wrong #21540

RamType0 opened this issue Oct 29, 2024 · 2 comments
Milestone

Comments

@RamType0
Copy link

According to Apple Developer Documentation,

error
An NSError object if the query fails; otherwise, nil.

But in this repository, it is defined that

delegate void NFCQueryNdefStatusCompletionHandler (NFCNdefStatus status, nuint capacity, NSError error);

@rolfbjarne
Copy link
Member

I can confirm this, and a fix is in progress.

Thanks for the report.

@rolfbjarne rolfbjarne added this to the Future milestone Oct 29, 2024
@RamType0
Copy link
Author

void ReadNdef (Action<NFCNdefMessage, NSError> completionHandler);

void WriteNdef (NFCNdefMessage ndefMessage, Action<NSError> completionHandler);

void WriteLock (Action<NSError> completionHandler);

These lines also have wrong nullability definition.

Maybe there is some code generation issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants