File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
/// <reference path="./node_modules/@nativescript/types-ios/index.d.ts" />
2
- /// <reference path="./node_modules/@nativescript/types-android/lib/android-28.d.ts" />
2
+ /// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreBluetooth.d.ts" />
3
+ /// <reference path="./node_modules/@nativescript/types-android/lib/android-32.d.ts" />
3
4
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />
4
5
/// <reference path="./src/typings/android.d.ts" />
Original file line number Diff line number Diff line change @@ -222,11 +222,11 @@ function initLeScanCallback() {
222
222
constructor (
223
223
private serviceUuids : string [ ] ,
224
224
private manufacturerData : android . util . SparseArray < any [ ] > ,
225
- private serviceData : { [ k : string ] : native . Array < number > } ,
225
+ private serviceData : { [ k : string ] : androidNative . Array < number > } ,
226
226
private advertiseFlags : number ,
227
227
private txPowerLevel : number ,
228
228
private localName : string ,
229
- private bytes : native . Array < number >
229
+ private bytes : androidNative . Array < number >
230
230
) { }
231
231
}
232
232
@@ -800,7 +800,7 @@ function initBluetoothGattCallback() {
800
800
d . onCharacteristicChanged ( gatt , characteristic ) ;
801
801
}
802
802
} ) ;
803
-
803
+
804
804
const owner = this . owner . get ( ) ;
805
805
if ( ! owner ) {
806
806
return ;
You can’t perform that action at this time.
0 commit comments