Skip to content

Commit cb5c7d7

Browse files
committed
fix: export BleTraceCategory
1 parent 0b606d0 commit cb5c7d7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bluetooth.android.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ad } from '@nativescript/core/utils/utils';
33
import { AndroidActivityRequestPermissionsEventData, AndroidActivityResultEventData, AndroidApplication, android as andApp } from '@nativescript/core/application';
44
import {
55
AdvertismentData,
6+
BleTraceCategory,
67
BluetoothCommon,
78
BluetoothError,
89
BluetoothOptions,
@@ -36,7 +37,7 @@ export function getBluetoothInstance() {
3637
return _bluetoothInstance;
3738
}
3839

39-
export { AdvertismentData, Peripheral, ReadResult, Service };
40+
export { BleTraceCategory };
4041

4142
const ACCESS_LOCATION_PERMISSION_REQUEST_CODE = 222;
4243
const ACTION_REQUEST_ENABLE_BLUETOOTH_REQUEST_CODE = 223;

src/bluetooth.ios.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {
2+
BleTraceCategory,
23
BluetoothCommon,
34
BluetoothError,
45
BluetoothOptions,
@@ -21,6 +22,8 @@ import {
2122
} from './bluetooth.common';
2223
import { Trace } from '@nativescript/core';
2324

25+
export { BleTraceCategory };
26+
2427
function nativeEncoding(encoding: string) {
2528
switch (encoding) {
2629
case 'utf-8':

0 commit comments

Comments
 (0)