Ionic + Serial plugin


Hi all!

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 ( ).
Looks like this plugin is out-dated because can’t make a successful build.
(these two answers: & )

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.



Tried to downgrade Android version, run this command: ionic cordova platform add android@6.3.0
And now build was successful and an app was deployed to the device.
One of the solutions, but not the best one because not working on latest settings.


Hello, any good news for that?



From my side no, I went with work-around which I described in my comment.