{"repo":"appidea/react-native-hce","free":true,"listed":false,"github":"https://github.com/appidea/react-native-hce","clone":"git clone https://github.com/appidea/react-native-hce.git","description":"Emulate smart cards inside React-Native application.","language":"TypeScript","stars":164,"topics":["react-native","react","hce","nfc"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-hce Adds Host card emulation (HCE) capabilities to React Native react-native-hce.appidea.pl We’d love your support! 🚀 Enjoying this project or using it in your tech stack? Consider becoming a sponsor 💖 and help us keep building cool stuff. Every bit helps - thanks, friend! 🤓 --- Host Card Emulation is the technology in Android Devices, that let the device act as a host in the NFC communication. This technology can be used, e.g. to simulate the passive smart cards or NFC tags. This package allows the react-native application to use the adventages of this technology. For now, the only out-of-the-box solution provided by this package is: - NFC Type 4 tag emulation (Text and URI record types supported) anyways, the module's architecture is ready to engage also the new, other usages. Architectural overview Core part of the library (on the native side) is a Service which implements HostApduService Android interface. The key difference between usual Android services and HostApduService is the initializer entity. HostApduService is initiated by OS - when phone taps the NFC reader. Thus, the Service (and - in the big picture - the entire library) has been prepared to the case, when the React Activity is in the background or even not available at the time in time of card data transfer. Because of this special behavior of HostApduService , we have chosen the \"declarativeness over interactivity\" approach in the architecture design. To make the transactions stable and reli","default_branch":null,"files":null,"tree":[],"storefront":"/r/appidea","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appidea/react-native-hce/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}