munim-bluetooth 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +769 -15
- package/android/src/main/AndroidManifest.xml +18 -0
- package/android/src/main/java/com/munimbluetooth/HybridMunimBluetooth.kt +700 -3
- package/ios/HybridMunimBluetooth.swift +622 -3
- package/lib/commonjs/index.js +247 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +227 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +161 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/specs/munim-bluetooth.nitro.d.ts +193 -1
- package/lib/typescript/src/specs/munim-bluetooth.nitro.d.ts.map +1 -1
- package/package.json +5 -2
- package/src/index.ts +287 -3
- package/src/specs/munim-bluetooth.nitro.ts +266 -3
|
@@ -1,2 +1,20 @@
|
|
|
1
1
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
+
<!-- Bluetooth permissions for BLE peripheral and central operations -->
|
|
3
|
+
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
4
|
+
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
|
5
|
+
|
|
6
|
+
<!-- BLE Advertising (Peripheral) -->
|
|
7
|
+
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
|
|
8
|
+
|
|
9
|
+
<!-- BLE Scanning and Connection (Central) -->
|
|
10
|
+
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
|
|
11
|
+
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
|
|
12
|
+
|
|
13
|
+
<!-- Location permissions required for BLE scanning on Android 6.0+ -->
|
|
14
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
15
|
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
16
|
+
|
|
17
|
+
<!-- Feature declarations -->
|
|
18
|
+
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
|
|
19
|
+
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
|
|
2
20
|
</manifest>
|