Browse Source

添加蓝牙库

master
zhangjiming 3 months ago
parent
commit
014e72739d
  1. 1
      .gitignore
  2. 13
      app.json
  3. 2387
      package-lock.json
  4. 5
      package.json

1
.gitignore

@ -18,6 +18,7 @@ expo-env.d.ts
*.mobileprovision
/android
/ios
# Metro
.metro-health-check*

13
app.json

@ -9,14 +9,20 @@
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"ios": {
"supportsTablet": true
"supportsTablet": true,
"bundleIdentifier": "com.anonymous.outlinern"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.anonymous.outlinern"
"package": "com.anonymous.outlinern",
"permissions": [
"android.permission.BLUETOOTH",
"android.permission.BLUETOOTH_ADMIN",
"android.permission.BLUETOOTH_CONNECT"
]
},
"web": {
"bundler": "metro",
@ -33,7 +39,8 @@
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
]
],
"react-native-ble-manager"
],
"experiments": {
"typedRoutes": true

2387
package-lock.json
File diff suppressed because it is too large
View File

5
package.json

@ -15,6 +15,7 @@
"preset": "jest-expo"
},
"dependencies": {
"@craftzdog/react-native-buffer": "^6.0.5",
"@expo/vector-icons": "^14.0.2",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/native": "^7.0.14",
@ -22,6 +23,7 @@
"expo-blur": "~14.0.3",
"expo-constants": "~17.0.8",
"expo-dev-client": "~5.0.13",
"expo-device": "~7.0.2",
"expo-font": "~13.0.4",
"expo-haptics": "~14.0.1",
"expo-linking": "~7.0.5",
@ -34,6 +36,7 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.7",
"react-native-ble-manager": "^12.1.4",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "~2.20.2",
"react-native-paper": "^5.13.1",
@ -48,7 +51,9 @@
"@babel/core": "^7.25.2",
"@types/jest": "^29.5.12",
"@types/react": "~18.3.12",
"@types/react-native-fs": "^2.8.3",
"@types/react-test-renderer": "^18.3.0",
"@react-native-community/cli": "latest",
"jest": "^29.2.1",
"jest-expo": "~52.0.6",
"react-test-renderer": "18.3.1",

Loading…
Cancel
Save