Skip to content

Commit 3d0ff70

Browse files
committed
fix: migrate support libraries to AndroidX to fix build error
1 parent f2b3d5c commit 3d0ff70

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
# react-native-bluetooch-escpos-printer
1+
# react-native-bluetooth-escpos-printer
2+
3+
## Acknowledgments
4+
5+
This project is based on the original work by [Janus J K Lu](https://github.com/januslo/react-native-bluetooth-escpos-printer).
6+
Special thanks to Janus for the initial creation of this project, without which this fork wouldn't be possible.
7+
8+
---
9+
10+
Feel free to explore the original repository here: [januslo/react-native-bluetooth-escpos-printer](https://github.com/januslo/react-native-bluetooth-escpos-printer).
11+
212

313
React-Native plugin for the bluetooth ESC/POS & TSC printers.
414

android/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ repositories {
5555

5656
dependencies {
5757
implementation 'com.facebook.react:react-native:+' // From node_modules
58-
implementation group: 'com.android.support', name: 'support-v4', version: '27.0.0'
58+
implementation "androidx.appcompat:appcompat:1.4.2"
59+
implementation "androidx.core:core:1.10.1"
5960
implementation "com.google.zxing:core:3.3.0"
6061
}

package.json

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-native-bluetooth-escpos-printer",
3-
"version": "0.0.6",
2+
"name": "@ccdilan/react-native-bluetooth-escpos-printer",
3+
"version": "0.2.0",
44
"description": "React-Native plugin for the bluetooth ESC/POS printers.",
55
"main": "index.js",
66
"scripts": {
@@ -13,9 +13,25 @@
1313
"Bluetooth",
1414
"Printer"
1515
],
16-
"author": "janus j k lu",
16+
"author": "Janus J K Lu",
17+
"maintainers": [
18+
{
19+
"name": "Ccdilan",
20+
"email": "[email protected]",
21+
"url": "https://github.com/ccdilan"
22+
}
23+
],
24+
"contributors": [
25+
"Janus J K Lu (Original Creator, https://github.com/januslo/react-native-bluetooth-escpos-printer)",
26+
"Ccdilan (https://github.com/ccdilan)"
27+
],
1728
"license": "MIT",
1829
"peerDependencies": {
1930
"react-native": ">=0.55.4"
20-
}
31+
},
32+
"repository": {
33+
"type": "git",
34+
"url": "git+https://github.com/ccdilan/react-native-bluetooth-escpos-printer.git"
35+
},
36+
"homepage": "https://github.com/ccdilan/react-native-bluetooth-escpos-printer#readme"
2137
}

0 commit comments

Comments
 (0)