Skip to content

Commit baf25a9

Browse files
Merge pull request #1128 from dotintent/bugfix/Fix-expo-config
fix: expo config
2 parents e94ae41 + 50ff599 commit baf25a9

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

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

5+
## [3.1.1] - 2023-10-26
6+
7+
### Fixed
8+
9+
- Expo config plugin for prebuilding
10+
511
## [3.1.0] - 2023-10-17
612

713
### Added

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
## About this library
1111

12-
This is React Native Bluetooth Low Energy library wrapping [Multiplatform Ble Adapter](https://github.com/dotintent/MultiPlatformBleAdapter/).
13-
1412
It supports:
1513

1614
- [observing device's Bluetooth adapter state](https://github.com/dotintent/react-native-ble-plx/wiki/Bluetooth-Adapter-State)
@@ -44,23 +42,17 @@ It does NOT support:
4442
For old RN versions (<0.60) please check [old README](./docs/README_V1.md) (1.x)
4543
for the old instructions or [migration guide](./docs/MIGRATION_V1.md).
4644

47-
| React Native | 3.1.0 |
45+
| React Native | 3.1.1 |
4846
| ------------ | ------------------ |
4947
| 0.72.4 | :white_check_mark: |
5048
| 0.71.13 | :white_check_mark: |
5149
| 0.70.13 | :white_check_mark: |
5250

5351
## Recent Changes
5452

55-
**3.1.0**
53+
**3.1.1**
5654

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
55+
- Fixed expo config plugin for prebuilding
6456

6557
[Current version changes](CHANGELOG.md)
6658
[All previous changes](CHANGELOG-pre-03.md)
@@ -93,7 +85,10 @@ After installing this npm package, add the [config plugin](https://docs.expo.io/
9385
}
9486
```
9587

96-
Next, rebuild your app as described in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.
88+
Then you should build the version using native modules (e.g. with `npx expo prebuild` command).
89+
And install it directly into your device with `npx expo run:android`.
90+
91+
You can find more details in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.
9792

9893
## API
9994

docs/index.html

Lines changed: 2 additions & 2 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.1.0 | Documentation</title>
5+
<title>react-native-ble-plx 3.1.1 | 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.1.0</code></div>
18+
<div class='mb1'><code>3.1.1</code></div>
1919
<input
2020
placeholder='Filter'
2121
id='filter-input'

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ble-plx",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "React Native Bluetooth Low Energy library",
55
"main": "src/index",
66
"module": "src/index",
@@ -13,6 +13,8 @@
1313
"android",
1414
"ios",
1515
"cpp",
16+
"plugin/build",
17+
"app.plugin.js",
1618
"*.podspec",
1719
"!lib/typescript/example",
1820
"!ios/build",

0 commit comments

Comments
 (0)