1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
diff --git a/node_modules/@ihealth/ihealthlibrary-react-native/ReactNativeIOSLibrary.podspec b/node_modules/@ihealth/ihealthlibrary-react-native/ReactNativeIOSLibrary.podspec
index 0126593..857277d 100644
--- a/node_modules/@ihealth/ihealthlibrary-react-native/ReactNativeIOSLibrary.podspec
+++ b/node_modules/@ihealth/ihealthlibrary-react-native/ReactNativeIOSLibrary.podspec
@@ -1,24 +1,18 @@
-
Pod::Spec.new do |s|
s.name = "ReactNativeIOSLibrary"
- s.version = "1.0.0"
- s.summary = "ReactNativeIOSLibrary"
- s.description = <<-DESC
- ReactNativeIOSLibrary
- DESC
+ s.version = "1.5.0"
+ s.summary = "iHealth React Native SDK"
+ s.description = "React Native bridge for iHealth device SDK"
s.homepage = "https://dev.ihealthlabs.com"
s.license = "MIT"
- # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
- s.author = { "author" => "author@domain.cn" }
- s.platform = :ios, "7.0"
- s.source = { :git => "https://github.com/author/RNUtils.git", :tag => "master" }
- s.source_files = "ios/**/*.{h,m}"
+ s.author = { "iHealthLabs" => "sdk@ihealthlabs.com" }
+ s.platform = :ios, "13.0"
+ s.source = { :git => "https://github.com/iHealthDeviceLabs/iHealth-React-Native-SDK.git", :tag => "v#{s.version}" }
+ s.source_files = "ios/**/*.{h,m}"
+ s.public_header_files = "ios/ReactNativeIOSLibrary/Communication_SDK/Headers/*.h"
+ s.vendored_libraries = "ios/ReactNativeIOSLibrary/Communication_SDK/iHealthSDK2.7.5.a"
s.requires_arc = true
+ s.frameworks = "CoreBluetooth"
-
- s.dependency "React"
- #s.dependency "others"
-
+ s.dependency "React-Core"
end
-
-
diff --git a/node_modules/@ihealth/ihealthlibrary-react-native/android/build.gradle b/node_modules/@ihealth/ihealthlibrary-react-native/android/build.gradle
index 56d6a99..7081ed8 100755
--- a/node_modules/@ihealth/ihealthlibrary-react-native/android/build.gradle
+++ b/node_modules/@ihealth/ihealthlibrary-react-native/android/build.gradle
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'
android {
- compileSdkVersion 28
- buildToolsVersion '28.0.3'
+ compileSdkVersion 35
+ buildToolsVersion '35.0.0'
defaultConfig {
- minSdkVersion 18
- targetSdkVersion 28
+ minSdkVersion 24
+ targetSdkVersion 35
versionCode 1
versionName "1.0"
diff --git a/node_modules/@ihealth/ihealthlibrary-react-native/react-native.config.js b/node_modules/@ihealth/ihealthlibrary-react-native/react-native.config.js
new file mode 100644
index 0000000..32d9d2d
--- /dev/null
+++ b/node_modules/@ihealth/ihealthlibrary-react-native/react-native.config.js
@@ -0,0 +1,13 @@
+module.exports = {
+ dependency: {
+ platforms: {
+ ios: {
+ podspecPath: require('path').resolve(__dirname, 'ReactNativeIOSLibrary.podspec'),
+ },
+ android: {
+ sourceDir: require('path').resolve(__dirname, 'android'),
+ packageImportPath: 'import com.ihealth.ihealthlibrary.iHealthDeviceManagerPackage;',
+ },
+ },
+ },
+};
|