6d7a / quito Goto Github PK
View Code? Open in Web Editor NEWTCP-capable MQTT client for react native
License: MIT License
TCP-capable MQTT client for react native
License: MIT License
Describe the bug
I am trying to run the example project so that I can play with the my local mosquitto broker. But after installing packages and pods it is failing at: 'React/RCTBridgeDelegate.h' file not found
To Reproduce
Steps to reproduce the behavior:
'React/RCTBridgeDelegate.h' file not found
Expected behavior
It should run on simulator.
Screenshots
Smartphone (please complete the following information):
Additional context
I tried to create a fresh new react native project (by npx react-native init quitoDemo which created fresh project with RN version 0.71.5) and tried to put everything from the example project and it also gave me tons of errors, mainly from usestates.
I'm looking for a usable RN library for MQTT, hopefully this is the end point
i have tried in android simulator it's good.
But when i try on IOS i got no error / exception.
it's seem it's broken (IOS 13 deploy, XCODE 14.0 , CocoaPods 1.11.3 , React native 0.70.5 , React 18.1.0 ) (with expo eject build )
i have tried both TCP / TLS
Here all my build no error appear and it's running properly except after it try to connecting..
CocoaPods Debug :
Downloading dependencies
Installing ASN1Decoder (1.8.0)
Installing BoringSSL-GRPC (0.0.24)
Installing CocoaAsyncSocket (7.6.5)
Installing CocoaMQTT (2.0.5)
Installing DoubleConversion (1.1.6)
Installing EASClient (0.4.1) ....
Installing quito (0.1.3) ...
I use developpement build with remote debug.
Can you please help me for knowing why my app crash ?
#Edit
I think it was just the React-native version of the package.json . cause i have change it and it's doesn't crash.. (Expo SDK 47)
need to downgrade this version if doesn't work.
So it's not a bug just version missmatch ^^
Thank you.
Best regards
Is expo supported at the moment, or is it needed to eject?
If expo is not supported do you plan to do so in the future?
Describe the bug
The IOS version crashes when a username is specified: "Could not cast value of type 'NSTaggedPointerString' (0x1f6b9bfd8) to 'NSDictionary' (0x1f6ba0400)"
in MqttOptions.swift line 29:
if let willmsg = optionsFromJs["username"] as! NSDictionary? {
self.will = Will(fromJsWill: willmsg)
} else {
self.will = nil
}
To Reproduce
IOS with username in options
Version
v0.1.1
Smartphone :
Iphone 6s Plus, IOS 15.6
Additional context
Thanks for the nice library, on the topic of native MQTT there is unfortunately not much :-)
Describe the bug
Crash when run on iOS
To Reproduce
Clone -> Yarn Install -> cd example -> yarn install -> cd ios -> yarn install && pod install -> run
Smartphone (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
please update CocoaMQTT
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.