Hello ! I’m making first attempts to realize app mobile with ionic 3-angular and cordova 8.
My need is to build a tcp socket plugin raw (not chrome plugin).
I think i could have three ways to do this:
- Build a plugin from zero (I dont think to be able)
- download a cordova plugin as “cz.blocshop.socketsforcordova” but it has been developed in old style and it seems not to be compliant with the rest of my project (typescript or ES6) and object “Socket” is not visible from my application
- download a native ionic plugin (for example SMS) and modify it inserting other function (example open_tcp, close_tcp, send_tcp, receive_tcp…).
The last one seems to be the best way to go for me, but i found problems in modifying files in “node_modules” @ionic-native/sms folder.
There are interfacing files “index.d.ts, index.js, index.metadata.json” that need to be modified at the same way.
So my question is:
Are ionic native plugins as “sms” modifiable. And if Yes, which is the best way to do this.
Thank you everyone can help me !!!
Bye