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

Miissing entitlement #77

Closed
farawehassan opened this issue Jun 13, 2022 · 8 comments
Closed

Miissing entitlement #77

farawehassan opened this issue Jun 13, 2022 · 8 comments
Assignees

Comments

@farawehassan
Copy link

I keep getting this error while polling
[CoreNFC] 00000002 82c5c2d0 -[NFCTagReaderSession _connectTag:error:]:686 Error Domain=NFCError Code=2 "Missing required entitlement" UserInfo={NSLocalizedDescription=Missing required entitlement}

This is my info.plist and Runner.entitlements file
Screen Shot 2022-06-13 at 11 44 44 AM

Screen Shot 2022-06-13 at 11 45 33 AM

@jiegec
Copy link
Contributor

jiegec commented Jun 13, 2022

Missing entitlement checklist:

@farawehassan
Copy link
Author

Missing entitlement checklist:

I did all of this which is in the screenshot I shared above but I still get the error

@vaimikpatel2908
Copy link

I am heaving the same error. I tried Nfc_Manager's latest version as well. Both failed on iOS with the same error. It throws an error "Missing required entitlement" while calling the .poll method.

I have verified the following things:
I have enabled the capability for the app identifier in the apple developer account.
Also ,Followed the check list which is provided in the ReadMe section of the plugin to add Entitlement and NFCReaderUsageDescription in info.plist.

Does anyone has figured out why it is not working yet?

@SimonVillage
Copy link

SimonVillage commented Nov 8, 2022

Running into the same issue. Followed checklist, I also tried the example in the repository which should work without issues?

Edit:
I had to add the correct AID for passports A0000002471001

@dangfan
Copy link
Contributor

dangfan commented Nov 9, 2022

Would you please provide a minimal reproducible example?

@Tabarek
Copy link

Tabarek commented May 16, 2023

any update on this?

@wonSllaB
Copy link

any update on this?

On iOS, payment AIDs are currently not allowed to be polled.

  • AID 'A000000003...' is the standard first 5 bytes of a VISA payment application AID
  • If you try this with another AID (non-payment) you would be able to start the polling and transceive
  • Note that this restriction also applies to select commands send through FlutterNfcKit.tranceive()
    • A similar error would be prompted by CoreNFC when you try to do so

@aliangsama
Copy link

I also encountered the same problem

I am heaving the same error. I tried Nfc_Manager's latest version as well. Both failed on iOS with the same error. It throws an error "Missing required entitlement" while calling the .poll method.

I have verified the following things: I have enabled the capability for the app identifier in the apple developer account. Also ,Followed the check list which is provided in the ReadMe section of the plugin to add Entitlement and NFCReaderUsageDescription in info.plist.

Does anyone has figured out why it is not working yet?

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

No branches or pull requests

9 participants