GithubHelp home page GithubHelp logo

6d7a / quito Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 6.0 1.12 MB

TCP-capable MQTT client for react native

License: MIT License

Kotlin 23.28% JavaScript 2.75% Java 7.46% TypeScript 37.90% Swift 21.18% Ruby 1.78% C 0.10% Objective-C 5.54%
android ios mqtt mqtt-client react-native tcp websocket

quito's People

Contributors

6d7a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quito's Issues

bug : IOS crash when trying to connect

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

Can't run the example project

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:

  1. Install packages
  2. Install pods
  3. Run the example project by running the ios script
  4. Try by command line or xcode getting the same error that is 'React/RCTBridgeDelegate.h' file not found

Expected behavior
It should run on simulator.

Screenshots

Smartphone (please complete the following information):

  • Device: iPhone 14 simulator
  • OS: iOS 16.4

Screenshot 2023-03-30 at 9 49 42 PM

  • Version [e.g. 22]

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.

feature: Expo support

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?

Crash on IOS

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 :-)

bug: Crash when run on iOS

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):

  • Device: iPhoneX
  • OS: ios 16.4.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.