I try to use nfc manager, and read and write data to ISO7816 NFCTAG, but my EAS build never builds.
I use eas to build development client, because I use react native nfc manager library. I have to add some custom AIDs. Therefore I have set some permissions for iPhone which are these (and it’s generated automatically by the plugin):
error: Provisioning profile “*[expo] com.freeridre.senityiosnfc AppStore 2021-07-23T12:02:36.833Z” doesn’t include the com.apple.developer.nfc.readersession.iso7816.select-identifiers entitlement. (in target ‘senityiosnfc’ from project ‘senityiosnfc’)
But I have included the necessary entitlement. So I don’t know what’s the problem…
In apple’s developer site the provisioning profile has the necessary entitlements.
Thank your for your helping hands.
I see you are using the bare workflow. Was there a reason you ejected?
Could you try rolling back to before you ejected, making sure the react-native-nfc-manager plugin is still configured with the selectIdentifiers you need, and then building with eas build?
Well, I make a totally new project. Now I build the app without AIDs, but when I install the development client it never loads… I don’t know why. No error messages. And when I start the expo start --dev-client I can not use the QR code…
What do you mean “without AIDs”? You would need to put them in the plugin config in app.json.
I am not sure why the QR code would not work, but if you log in to the dev client (in the profile section) then the project should show up under the RECENTLY IN DEVELOPMENT heading.
I figured out that something was wrong with the eas build. I built another one and that works perfect without AIDs. Now I added the AIDs as you can see above, as the react native nfc-manager’s github page shows. I’m curious very much!
Well… I’m sad so much… It didn’t work.
The same error again, when building with
eas build --profile development --platform ios
or
eas build
error: Provisioning profile “*[expo] com.freeridre.SenityNFCForiOS AdHoc 1627310348265” doesn’t include the com.apple.developer.nfc.readersession.iso7816.select-identifiers entitlement. (in target ‘Senity’ from project ‘Senity’)
when I check the entitlements with expo tools it shows: