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