Skip to content

Commit a628456

Browse files
committed
docs: [skip ci] ios setup 작성
1 parent 618adae commit a628456

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ This library uses the following native MQTT client libraries:
1212

1313
To use this library, you must first install it using npm or yarn.
1414

15+
```sh
16+
npm install @ko-developerhong/react-native-mqtt
17+
# OR
18+
yarn add @ko-developerhong/react-native-mqtt
19+
```
20+
1521
## IOS Setup
1622
Add Podfile
1723
```
1824
pod "CocoaMQTT", :modular_headers => true
1925
pod "MqttCocoaAsyncSocket", :modular_headers => true
2026
```
2127

22-
```sh
23-
npm install @ko-developerhong/react-native-mqtt
24-
# OR
25-
yarn add @ko-developerhong/react-native-mqtt
26-
```
27-
2828
## Import
2929
```ts
3030
import MqttClient, { ConnectionOptions, ClientEvent, MQTTEventHandler } from 'react-native-mqtt';

0 commit comments

Comments
 (0)