diff options
| author | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
|---|---|---|
| committer | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
| commit | d6d9a09d505d11148599a95a5be3e1351edbe0ac (patch) | |
| tree | a5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m | |
| parent | e4fb9966e762852bf17f21c8406501d42fae0b61 (diff) | |
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m')
| -rw-r--r-- | libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m new file mode 100644 index 0000000..21d65b5 --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/TS28BProfileModule.m | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | // | ||
| 2 | // TS28BProfileModule.m | ||
| 3 | // ReactNativeIOSLibrary | ||
| 4 | // | ||
| 5 | // Created by user on 2019/11/14. | ||
| 6 | // Copyright © 2019 daiqingquan. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "TS28BProfileModule.h" | ||
| 10 | |||
| 11 | @implementation TS28BProfileModule | ||
| 12 | |||
| 13 | |||
| 14 | RCT_EXPORT_MODULE() | ||
| 15 | |||
| 16 | #pragma mark | ||
| 17 | #pragma mark - constantsToExport | ||
| 18 | |||
| 19 | |||
| 20 | - (NSDictionary *)constantsToExport | ||
| 21 | { | ||
| 22 | return @{ | ||
| 23 | @"ACTION_MEASUREMENT_RESULT":@"action_measurement_result", | ||
| 24 | TS28B_ACTION:@"action", | ||
| 25 | TS28B_DEVICE:@"device", | ||
| 26 | TS28B_KEY_MAC:@"mac", | ||
| 27 | kACTION_GET_ALL_CONNECTED_DEVICES:kACTION_GET_ALL_CONNECTED_DEVICES, | ||
| 28 | TS28B_RESULT:@"result", | ||
| 29 | TS28B_UNIT_FLAG:@"unit_flag", | ||
| 30 | TS28B_THERMOMETER_TYPE:@"thermometer_type" | ||
| 31 | }; | ||
| 32 | }; | ||
| 33 | |||
| 34 | |||
| 35 | + (BOOL)requiresMainQueueSetup | ||
| 36 | { | ||
| 37 | return YES; | ||
| 38 | } | ||
| 39 | |||
| 40 | @end | ||
