From 129b53c0141b7242acdf11ff45dc45bd7e0b8b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volker=20Sch=C3=B6nefeld?= Date: Mon, 22 Jan 2024 12:57:55 +0100 Subject: [PATCH] fixed incorrect signature for isScanning: on iOS leading to a runtime exception when calling it from RN --- ios/BleManager.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ios/BleManager.m b/ios/BleManager.m index 611d4a5a..0de22513 100644 --- a/ios/BleManager.m +++ b/ios/BleManager.m @@ -98,8 +98,7 @@ @interface RCT_EXTERN_MODULE(BleManager, NSObject) (NSString *)peripheralUUID callback:(nonnull RCTResponseSenderBlock)callback) -RCT_EXTERN_METHOD(isScanning: - callback:(nonnull RCTResponseSenderBlock)callback) +RCT_EXTERN_METHOD(isScanning:(nonnull RCTResponseSenderBlock)callback) RCT_EXTERN_METHOD(getMaximumWriteValueLengthForWithoutResponse: (NSString *)peripheralUUID