Develop a Scanning app using NFC app in react native for IOS and android

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Develop a Scanning app using NFC app in react native for IOS and android

439 次查看
varun12
Contributor I

Hello All,

Is there a library that we can use in React native IOS and Android to scan and Authenticate the password of NFC NTAG 213?

I was able to do this perfectly in Java Android. I want to use the library and make use of the AuthenticatePwd and read function in React Native .

Please see the below code in Java I want to do the same in React Native.

It will be of great help if anyone could help me with this.

INTag213215216 tag = NTagFactory.getInstance().getNTAG213(m_libInstance.getCustomModules());
tag.getReader().connect();
tag.authenticatePwd(pwdArray, pack);


byte [] data1 = tag.read(4);
byte [] data2 = tag.read(8);

Thanks,

Varun

 

0 项奖励
0 回复数