Skip to content

Commit

Permalink
Merge pull request #1128 from dotintent/bugfix/Fix-expo-config
Browse files Browse the repository at this point in the history
fix: expo config
  • Loading branch information
dominik-czupryna-withintent authored Oct 27, 2023
2 parents e94ae41 + 50ff599 commit baf25a9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

## [3.1.1] - 2023-10-26

### Fixed

- Expo config plugin for prebuilding

## [3.1.0] - 2023-10-17

### Added
Expand Down
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

## About this library

This is React Native Bluetooth Low Energy library wrapping [Multiplatform Ble Adapter](https://github.com/dotintent/MultiPlatformBleAdapter/).

It supports:

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

| React Native | 3.1.0 |
| React Native | 3.1.1 |
| ------------ | ------------------ |
| 0.72.4 | :white_check_mark: |
| 0.71.13 | :white_check_mark: |
| 0.70.13 | :white_check_mark: |

## Recent Changes

**3.1.0**
**3.1.1**

- Added Handling Bluetooth 5 Advertising Extensions on Android by legacyScan flag
- 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
- Fixed expo config plugin for prebuilding

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

Next, rebuild your app as described in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.
Then you should build the version using native modules (e.g. with `npx expo prebuild` command).
And install it directly into your device with `npx expo run:android`.

You can find more details in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.

## API

Expand Down
4 changes: 2 additions & 2 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.1.0 | Documentation</title>
<title>react-native-ble-plx 3.1.1 | 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.1.0</code></div>
<div class='mb1'><code>3.1.1</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-ble-plx",
"version": "3.1.0",
"version": "3.1.1",
"description": "React Native Bluetooth Low Energy library",
"main": "src/index",
"module": "src/index",
Expand All @@ -13,6 +13,8 @@
"android",
"ios",
"cpp",
"plugin/build",
"app.plugin.js",
"*.podspec",
"!lib/typescript/example",
"!ios/build",
Expand Down

0 comments on commit baf25a9

Please sign in to comment.