Question: cordovarduino vs. cordova-plugin-serial
See original GitHub issueFirst of all, thanks for this great plugin! Will post to #15 as soon as there’s something to see 😉
Looking for a USB/serial plugin for Android, I found both this [https://www.npmjs.com/package/cordovarduino] and cordova-plugin-serial
[https://www.npmjs.com/package/cordova-plugin-serial], which seem to be very similar, except for version numbers and maintainers. So far, I’ve been using cordova-plugin-serial
with my Ionic 2 app, but the link to its GitHub repo seems broken.
So, you could please shed some light on this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Read data from multiple USB ports on Android, using ...
Using the Cordova plugin, xseignard/cordovarduino , I can get data from either port A or port B, but not both concurrently.
Read more >cordova-plugin-serial - npm
Cordova plugin to communicate with the android USB serial port. Latest version: 0.0.3, last published: 7 years ago.
Read more >Cordova-plugin-serial NPM - npm.io
Cordovarduino is a Cordova/Phonegap plugin that enable you to use serial communication from an Android device to a serial over USB capable one....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe
cordova-plugin-usb-serial
would be an alternative (similar tocordova-plugin-bluetooth-serial
)?@xseignard could you look into changing the id in
plugin.xml
andpackage.json
?https://github.com/xseignard/cordovarduino/blob/eb35d36e264763f4a47d75f195860cd365f245ab/plugin.xml#L4-L5
and
https://github.com/xseignard/cordovarduino/blob/223eb2bc8f78e660475964f327b424711081529b/package.json#L6
adding this plugin will alway change the project’s `package.json´, adding this line:
and this breaks subsequent
npm install
. I believe changing those two places would fix the issue.