Skip to content

Commit

Permalink
chore: prepare 3.1.0 relase
Browse files Browse the repository at this point in the history
  • Loading branch information
dimninik committed Oct 17, 2023
1 parent 0e9cefe commit 01de436
Show file tree
Hide file tree
Showing 6 changed files with 1,518 additions and 1,645 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [3.0.1] - 2023-10-03

### Added

- Handling Bluetooth 5 Advertising Extensions on Android
- isConnectable flag for android devices
- Expo config plugin for prebuilding

### Changed

- Android permissions section in docs and readme
- Merged MultiPlatformBleAdapter (https://github.com/dotintent/MultiPlatformBleAdapter) with react-native-ble-plx repo

### Fixed

- Application crash when multiple listeners were set to watch the disconnect action and the device was disconnected
- Handling wrong Bluetooth Address error on Android

## [3.0.0] - 2023-09-28

Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ for the old instructions or [migration guide](./docs/MIGRATION_V1.md).

## Recent Changes

**3.0.0**

- Added Example project
- Updated MultiplatformBleAdapter to version 0.2.0.
- Updated RN bridge config
- Changed CI flow
- Updated CI to RN 0.72.x
- Updated docs
- Updated dependencies
- Fixed iOS 16 bugs
**3.0.1**

- Added Handling Bluetooth 5 Advertising Extensions on Android
- Added isConnectable flag for android devices
- Added Expo config plugin for prebuilding
- Changed Android permissions section in docs and readme
- Merged MultiPlatformBleAdapter (https://github.com/dotintent/MultiPlatformBleAdapter) with react-native-ble-plx repo
- Fixed application crash when multiple listeners were set to watch the disconnect action and the device was disconnected
- Fixed handling wrong Bluetooth Address error on Android

[Current version changes](CHANGELOG.md)
[All previous changes](CHANGELOG-pre-03.md)
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset='utf-8'>
<title>react-native-ble-plx 3.0.0 | Documentation</title>
<title>react-native-ble-plx 3.1.0 | Documentation</title>
<meta name='description' content='React Native Bluetooth Low Energy library'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' rel='stylesheet'>
Expand All @@ -15,7 +15,7 @@
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>react-native-ble-plx</h3>
<div class='mb1'><code>3.0.0</code></div>
<div class='mb1'><code>3.1.0</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down Expand Up @@ -2057,8 +2057,8 @@ <h2>Scanning devices</h2>
<p>It is worth to note that scanning function may emit one device multiple times. However
when device is connected it won't broadcast and needs to be disconnected from central
to be scanned again. Only one scanning listener can be registered.</p>
<h3>Bluetooth 5 Advertisements</h3>
<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>
<h3>Bluetooth 5 Advertisements in Android</h3>
<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>
<h2>Connecting and discovering services and characteristics</h2>
<p>Once device is scanned it is in disconnected state. We need to connect to it and discover
all services and characteristics it contains. Services may be understood
Expand Down
Loading

0 comments on commit 01de436

Please sign in to comment.