Skip to content

Commit 7332af5

Browse files
Merge pull request #1123 from dotintent/chore/Prepare-3.1.0-release
chore: prepare 3.1.0 release
2 parents 0e9cefe + 1c6c996 commit 7332af5

File tree

6 files changed

+1519
-1646
lines changed

6 files changed

+1519
-1646
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

5-
## [3.0.1] - 2023-10-03
5+
## [3.1.0] - 2023-10-17
6+
7+
### Added
8+
9+
- Handling Bluetooth 5 Advertising Extensions on Android by legacyScan flag
10+
- isConnectable flag for android devices
11+
- Expo config plugin for prebuilding
612

713
### Changed
814

915
- Android permissions section in docs and readme
16+
- Merged MultiPlatformBleAdapter (https://github.com/dotintent/MultiPlatformBleAdapter) with react-native-ble-plx repo
17+
18+
### Fixed
19+
20+
- Application crash when multiple listeners were set to watch the disconnect action and the device was disconnected
21+
- Handling wrong Bluetooth Address error on Android
1022

1123
## [3.0.0] - 2023-09-28
1224

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,23 @@ It does NOT support:
4444
For old RN versions (<0.60) please check [old README](./docs/README_V1.md) (1.x)
4545
for the old instructions or [migration guide](./docs/MIGRATION_V1.md).
4646

47-
| React Native | 3.0.0 |
47+
| React Native | 3.1.0 |
4848
| ------------ | ------------------ |
4949
| 0.72.4 | :white_check_mark: |
5050
| 0.71.13 | :white_check_mark: |
5151
| 0.70.13 | :white_check_mark: |
5252

5353
## Recent Changes
5454

55-
**3.0.0**
55+
**3.1.0**
5656

57-
- Added Example project
58-
- Updated MultiplatformBleAdapter to version 0.2.0.
59-
- Updated RN bridge config
60-
- Changed CI flow
61-
- Updated CI to RN 0.72.x
62-
- Updated docs
63-
- Updated dependencies
64-
- Fixed iOS 16 bugs
57+
- Added Handling Bluetooth 5 Advertising Extensions on Android by legacyScan flag
58+
- Added isConnectable flag for android devices
59+
- Added Expo config plugin for prebuilding
60+
- Changed Android permissions section in docs and readme
61+
- Merged MultiPlatformBleAdapter (https://github.com/dotintent/MultiPlatformBleAdapter) with react-native-ble-plx repo
62+
- Fixed application crash when multiple listeners were set to watch the disconnect action and the device was disconnected
63+
- Fixed handling wrong Bluetooth Address error on Android
6564

6665
[Current version changes](CHANGELOG.md)
6766
[All previous changes](CHANGELOG-pre-03.md)

docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset='utf-8'>
5-
<title>react-native-ble-plx 3.0.0 | Documentation</title>
5+
<title>react-native-ble-plx 3.1.0 | Documentation</title>
66
<meta name='description' content='React Native Bluetooth Low Energy library'>
77
<meta name='viewport' content='width=device-width,initial-scale=1'>
88
<link href='assets/bass.css' rel='stylesheet'>
@@ -15,7 +15,7 @@
1515
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
1616
<div class='py1 px2'>
1717
<h3 class='mb0 no-anchor'>react-native-ble-plx</h3>
18-
<div class='mb1'><code>3.0.0</code></div>
18+
<div class='mb1'><code>3.1.0</code></div>
1919
<input
2020
placeholder='Filter'
2121
id='filter-input'
@@ -2057,8 +2057,8 @@ <h2>Scanning devices</h2>
20572057
<p>It is worth to note that scanning function may emit one device multiple times. However
20582058
when device is connected it won't broadcast and needs to be disconnected from central
20592059
to be scanned again. Only one scanning listener can be registered.</p>
2060-
<h3>Bluetooth 5 Advertisements</h3>
2061-
<p>To see devices that use Bluetooth 5 Advertising Extension you have to set the legacyScan variable to <code>false</code> in <a href="#scanoptions">Scan options</a> when you are starting <a href="#blemanagerstartdevicescan">BleManager.startDeviceScan()</a>,</p>
2060+
<h3>Bluetooth 5 Advertisements in Android</h3>
2061+
<p>To see devices that use Bluetooth 5 Advertising Extension you have to set the <code>legacyScan</code> variable to <code>false</code> in <a href="#scanoptions">Scan options</a> when you are starting <a href="#blemanagerstartdevicescan">BleManager.startDeviceScan()</a>,</p>
20622062
<h2>Connecting and discovering services and characteristics</h2>
20632063
<p>Once device is scanned it is in disconnected state. We need to connect to it and discover
20642064
all services and characteristics it contains. Services may be understood

0 commit comments

Comments
 (0)