Skip to content

Latest commit

 

History

History
 
 

mqtt-client-React-Native

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

mqtt-client-React-Native

A simple demo to show how to use mqtt with React Native.

Prerequisites

  • Xcode and iOS Simulator

Installation

Execute the following command in the RNMQTTDemo directory environment

npm install

Execute the following command in the RNMQTTDemo/ios directory environment

pod install

Run

In the RNMQTTDemo directory environment, create two new terminal windows and execute the following commands respectively

npx react-native start
npx react-native run-ios