Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49299

TCP requests in Ionic 3

$
0
0

@rusty wrote:

I’m writing an Ionic app that interfaces with a GPS device (via Wifi) and needs to communicate with the device using TCP. All the searching I have done has pointed me towards this repo: https://github.com/KoenLav/cordova-plugin-chrome-apps-sockets-tcp

Unfortunately, using Ionic 3, I am not able to get the plugin to show up on the window object. Example:

// chrome is undefined (window).chrome.tcp.socket.create();

I’ve tried declaring window.chrome in the app.module, but the plugin code is never added to window.chrome object.

Any suggestions?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49299


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>