Skip to content

Commit 531acda

Browse files
authored
Merge pull request #2 from Harishwarrior/main
fix: typo
2 parents e19615f + 9da5a66 commit 531acda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Communication between Wear OS or watchOS SmartWatch and Android/iOS Device with Bluetooth Low Energy (BLE).
44

5-
This will send and recieve messages and/or data to the platform specific wearable communication method. It uses the wearable data layer and messaging API's on android devices and WCSession on iPhones.
5+
This will send and receive messages and/or data to the platform specific wearable communication method. It uses the wearable data layer and messaging API's on android devices and WCSession on iPhones.
66

77
## Install
88

@@ -37,13 +37,13 @@ WatchConnection.sendMessage({
3737
});
3838
```
3939

40-
### Recieve message
40+
### Receive message
4141

4242
Use the static method `WatchConnection.listenForMessage;` to register a message listener function.
4343

4444
* (android specific) if the message data is a string then the library will assume it is JSON and try to convert it. if that operation fails the message data will be sent to the listener unchanged.
4545

46-
#### Recieve message example
46+
#### Receive message example
4747

4848
```dart
4949
// msg is either a Map<String, dynamic> or a string (make sure to check for that when using the library)

0 commit comments

Comments
 (0)