Comments (2)
Not sure what mqtt is; but if you are passing "mqtt" as the protocol; then the receiving side is probably expecting mqtt being sent and so it is probably closing the connection when it doesn't get the a "mqtt" in the protocol list. Like I said in the docs; protocol support (i.e. sending and verifying a protocol) is not implemented; so if the SERVER is requiring "mqtt" then until this feature is added; it won't work unless you change the server to allow no protocol to work...
from nativescript-websockets.
Should be now supported in v1.4.0
from nativescript-websockets.
Related Issues (20)
- Error SLF4J HOT 2
- Advanced Interface in angular nativescript not working HOT 1
- [iOS/NS8/NG11] Module parse failed: 'return' outside of function HOT 2
- truncates returned bytes using iOS 13 HOT 3
- Support send callback HOT 1
- Cannot open web socket for Android HOT 3
- Exception error when device go to offline and disconnect from server HOT 1
- Cannot build app for Android: "Execution failed for task ':app:checkDebugDuplicateClasses'."
- Exception Crash on using on IOS - PSWebSocketDelegate HOT 9
- source websocket.jar HOT 3
- Connection still open after NS rebuild HOT 1
- WebSocket closing after 1 minute, regardless of timeout setting HOT 4
- Compatible with NativeScript 7 and iOS 14? HOT 3
- > Awesome -- I'll try and test this today! (Replace PocketSocket with iOS native websockets) HOT 2
- Getting 1006 code on iOS HOT 1
- NS8 Angular 12 TypeError: wrapper._notify is not a function HOT 2
- [Bug] webSocketInstance._notify is not a function HOT 5
- Warnings about missing `org.slf4j.impl.StaticLoggerBinder` HOT 2
- Module not found: Error: Can't resolve './websockets-base' for "@master.technology/websockets" HOT 15
- events are undefined in angular 12 & 13 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-websockets.