Skip to content

Commit a6fe5fb

Browse files
committed
fix: readme
1 parent 88801bc commit a6fe5fb

File tree

6 files changed

+19
-22
lines changed

6 files changed

+19
-22
lines changed

.eslintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"overrides": [
1010
{
11-
"files": ["src/**", "integration-tests/**"],
11+
"files": ["src/**", "__tests__/**", "integration-tests/**"],
1212
"parser": "hermes-eslint",
1313
"extends": [
1414
"plugin:react/recommended",

README.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,27 @@ It does NOT support:
4040

4141
## Compatibility
4242

43-
This version (2.x) breaks compatibility with old RN versions. Please check [old README](./docs/README_V1.md) (1.x)
43+
For old RN versions (<0.60) please check [old README](./docs/README_V1.md) (1.x)
4444
for the old instructions or [migration guide](./docs/MIGRATION_V1.md).
4545

46-
| React Native | 2.0.0 |
46+
| React Native | 3.0.0 |
4747
| ------------ | ------------------ |
48-
| 0.63.3 | :white_check_mark: |
49-
| 0.62.2 | :white_check_mark: |
50-
| 0.61.5 | :white_check_mark: |
51-
| 0.60.6 | :white_check_mark: |
48+
| 0.72.4 | :white_check_mark: |
49+
| 0.71.13 | :white_check_mark: |
50+
| 0.70.13 | :white_check_mark: |
5251

5352
## Recent Changes
5453

55-
**2.0.3**
54+
**3.0.0**
5655

57-
- Updated MultiplatformBleAdapter to version 0.1.9
56+
- Added Example project
57+
- Updated MultiplatformBleAdapter to version 0.2.0.
58+
- Updated RN bridge config
59+
- Changed CI flow
60+
- Updated CI to RN 0.72.x
61+
- Updated docs
62+
- Updated dependencies
63+
- Fixed iOS 16 bugs
5864

5965
[Current version changes](CHANGELOG.md)
6066
[All previous changes](CHANGELOG-pre-03.md)
@@ -69,8 +75,6 @@ Interested in React Native project involving Bluetooth Low Energy? [We can help
6975

7076
Contact us at [intent](https://withintent.com/contact-us/?utm_source=github&utm_medium=github&utm_campaign=external_traffic).
7177

72-
Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you have any questions, feedback or want to help!
73-
7478
## Configuration & Installation
7579

7680
### Expo SDK 43+

__tests__/BleManager.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-import-assign */
12
import { BleManager, Device, Service, Characteristic } from '../src'
23
import { BleErrorCode, BleErrorCodeMessage } from '../src/BleError'
34
import * as Native from '../src/BleModule'

lefthook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pre-commit:
33
commands:
44
lint:
55
files: git diff --name-only @{push}
6-
glob: "*.{js,ts,jsx,tsx}"
6+
glob: '*.{js,ts,jsx,tsx}'
77
run: yarn lint
88
commit-msg:
99
parallel: true

scripts/copyExampleProjectFiles.js

-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ const copyExampleProjectJsFiles = () => {
2222
fs.cpSync(jsSourceDirectory, jsSourceDestinationDirectory, { recursive: true })
2323
}
2424

25-
const androidManifestPath = path.join(
26-
__dirname,
27-
EXAMPLE_PROJECT_DIR_NAME,
28-
'android',
29-
'app',
30-
'src',
31-
'main',
32-
'AndroidManifest.xml'
33-
)
3425
const androidManifestDestinationPath = path.join(
3526
__dirname,
3627
TEST_PROJECT_DIR_NAME,

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
"strict": true,
2626
"target": "esnext",
2727
"verbatimModuleSyntax": true
28-
}
28+
},
29+
"exclude": ["src/**", "__tests__/**", "integration-tests/**"]
2930
}

0 commit comments

Comments
 (0)