chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 556 forks source link

IOS NFC sample throws exception #348

Closed HerrZwerg closed 5 years ago

HerrZwerg commented 5 years ago

Hi,

I wanted to try your nfc sample to read ndef tags, but I am stuck with the following error

2018-09-20 21:49:55.281495+0200 VMAPP[1738:622768] registerNdef 2018-09-20 21:49:55.281605+0200 VMAPP[1738:622812] didInvalidateWithError Session is invalidated unexpectedly (null) 2018-09-20 21:49:55.282390+0200 VMAPP[1738:622768] Received Event: deviceready 2018-09-20 21:49:55.289096+0200 VMAPP[1738:622768] Waiting for NDEF tag 2018-09-20 21:51:03.773584+0200 VMAPP[1738:622768] beginSession 2018-09-20 21:51:03.774208+0200 VMAPP[1738:622768] [CoreNFC] 00000002 826a1780 -[NFCNDEFReaderSession beginSession]:255 error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.}, errorCode: 0xca 2018-09-20 21:51:03.774308+0200 VMAPP[1738:622807] didInvalidateWithError Session is invalidated unexpectedly (null)

Any idea?

thank you

HerrZwerg commented 5 years ago

Hi, the problem was with an mobile provision which did not include NFC. all worked well..

thank you