At the moment working on my side-project where I need to listen to Serial port (RS232 protocol).
Try to use the Serial plugin from Ionic Native ( https://ionicframework.com/docs/native/serial/ ).
Looks like this plugin is out-dated because can’t make a successful build.
(these two answers: https://github.com/ionic-team/ionic/issues/13702#issuecomment-353901678 & https://github.com/ionic-team/ionic/issues/13702#issuecomment-353973791 )
Someone got something done with it lately?
Error in my case:
cp: copyFileSync: could not write to dest file (code=ENOENT): …\ionic\test-app\platforms\android\res\xml\config.xml
Parsing …\ionic\test-app\platforms\android\res\xml\config.xml failed
(node:15196) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open ‘…\ionic\test-app\platforms\android\res\xml\config.xml l’
(node:15196) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.