From 549b47d375fffd1ce17c71447c924ad3c256d029 Mon Sep 17 00:00:00 2001 From: Martin Endler Date: Sun, 26 Jan 2020 00:55:10 +0100 Subject: [PATCH] Fix typo in README Add a new FAQ to README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52d2112..f203ef3 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Bindings over pcsclite to access Smart Cards. It works in **Linux**, **macOS** a - [Are prebuilt binaries provided?](#are-prebuilt-binaries-provided) - [Disabling drivers to make pcsclite working on Linux](#disabling-drivers-to-make-pcsclite-working-on-linux) - [Which Node.js versions are supported?](#which-nodejs-versions-are-supported) + - [Can I use this library in my React Native app?](#can-i-use-this-library-in-my-react-native-app) - [License](#license) @@ -64,7 +65,7 @@ Bindings over pcsclite to access Smart Cards. It works in **Linux**, **macOS** a On **macOS** and **Windows** you **don't have to install** anything, **pcsclite API** is provided by the OS. - On Linux/UNIX you'd probably need to install pcsclite library and deamon**. + On Linux/UNIX you'd probably need to install pcsclite library and daemon**. > For example, in Debian/Ubuntu: > ```bash @@ -307,6 +308,16 @@ in the meantime see [#10](https://github.com/pokusew/node-pcsclite/issues/10) @pokusew/pcsclite officially supports the following Node.js versions: **8.x, 9.x, 10.x, 11.x, 12.x, 13.x**. +### Can I use this library in my React Native app? + +Short answer: NO + +Explanation: **Mobile support is virtually impossible** because @pokusew/pcsclite uses **Node Native Modules** +to access system **PC/SC API**. So the **Node.js runtime and PC/SC API** are required for @pokusew/pcsclite to run. +That makes it possible to use it on the most of OS (Windows, macOS, Linux) **directly in Node.js** +or in **Electron.js and NW.js** desktop apps. On the other hand, these requirements are not normally met on mobile devices. +On top of that, React Native does not contain any Node.js runtime. + ## License