koenlav / cordova-plugin-chrome-apps-sockets-tcp Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mobilechromeapps/cordova-plugin-chrome-apps-sockets-tcp
License: Other
This project forked from mobilechromeapps/cordova-plugin-chrome-apps-sockets-tcp
License: Other
Hello,
I've tried this plugin with several Android devices and it always worked perfectly.
While using it with a Xiaomi Mi A2 Lite, it gives result -104 on the connect method and throws a "Connection timed out" error.
Why this difference among devices?
Is there something I can do to increase the connection timeout limit?
Thanks.
Hello,
I would suggest to drop this dependency: "cordova-plugin-chrome-apps-iossocketscommon" and pull newer copies of files under "third_party" folder:
https://github.com/robbiehanson/CocoaAsyncSocket/tree/master/Source/GCD
This would fix piles of warnings in XCode...
The only change in the project is switching to GCDAsyncSocketDelegate.
Can someone investigate??
Many thanks
Cheers,
Francesco
I have a tcp socket connection I am making to a device and am using this tool to stream data to an app. It makes two types of calls to the socket -
1 is for a small message that tells it the write and read pointer locations of data on the device - this message is around 30 chars
2 A continous stream of data sent from the device back to the app
On android it works flawlessly - however on IOS the socket receives the pointer message fine but when trying to stream data stops receiving data after three bursts. You can see the three dsata bits it will typically receive.
There is no close event or disconnect event being triggered.
I have tried setting the chrome.sockets.tcp.setKeepAlive to TRUE but this doesnt seem to do anything.
Any help would be appreciated
d10DataListener || LOG | self.d10DataListener Start
TCP SOCKET CLIENT ON RECEIVE DATA : 111111,2904181734,101365,9796,2,143,0,640,79,40,3530,3585,56,293,640,3530,53336900
d10DataListener || LOG | self.d10DataListener Start
TCP SOCKET CLIENT ON RECEIVE DATA : 0,-61337000,1070,2000],[111111,2904181734,101366,9796,2,143,0,6
d10DataListener || LOG | self.d10DataListener Start
TCP SOCKET CLIENT ON RECEIVE DATA : 40,79,40,3530,3579,56,293,
d10DataListener || LOG | self.d10DataListener Start
Hello there!
I'd like to know, is the project still in development?
Thanks!
I'm unable to get this plugin to work in Ionic 3. I'm doing the following steps:
// 1) Add plugin.
cordova plugin add cordova-plugin-chrome-apps-sockets-tcp
// 2) Use the plugin.
this.platform.ready()
.then((readySource) => {
if (readySource == 'cordova') {
// This will throw an error (chrome is undefined)
(<any>window).chrome.tcp.socket.create();
}
});
I get "chrome" is not defined. Any suggestions?
Hello,
I'm experiencing this issue on app publishing:
The app references non-public selectors in Payload/ newSocketQueueForConnectionFromAddress:onSocket:, socket:didAcceptNewSocket:, socket:didReadPartialDataOfLength:tag:, socket:didReceiveTrust:completionHandler:, socket:didWritePartialDataOfLength:tag:, socket:shouldTimeoutReadWithTag:elapsed:bytesDone:, socket:shouldTimeoutWriteWithTag:elapsed:bytesDone:, socketDidCloseReadStream:
That have been also reported here:
robbiehanson/CocoaAsyncSocket#672
I've already tried to pull files from CocoaAsyncSocket in "third_party" folder (of "cordova-plugin-chrome-apps-iossocketscommon"), but it doesn't help.
Do anybody else had the same warning?
Many thanks
Cheers,
Francesco
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.