From d6d9a09d505d11148599a95a5be3e1351edbe0ac Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 13 Apr 2026 15:17:52 +0800 Subject: Local iHealth SDK, device detail screen, iOS event fixes --- libs/ihealth-sdk/android/build.gradle | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 libs/ihealth-sdk/android/build.gradle (limited to 'libs/ihealth-sdk/android/build.gradle') diff --git a/libs/ihealth-sdk/android/build.gradle b/libs/ihealth-sdk/android/build.gradle new file mode 100755 index 0000000..8f07183 --- /dev/null +++ b/libs/ihealth-sdk/android/build.gradle @@ -0,0 +1,46 @@ +apply plugin: 'com.android.library' + +android { + compileSdkVersion 35 + buildToolsVersion '35.0.0' + + defaultConfig { + minSdkVersion 24 + targetSdkVersion 35 + versionCode 1 + versionName "1.0" + + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + + sourceSets { + main { + jniLibs.srcDirs = ['libs'] + } + } +} + +dependencies { + testImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { + exclude group: 'com.android.support', module: 'support-annotations' + }) + api 'androidx.appcompat:appcompat:1.2.0' + api 'androidx.core:core:1.6.0' + api 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0' + api 'androidx.annotation:annotation:1.3.0' + testImplementation 'junit:junit:4.12' + api 'com.facebook.react:react-native:+' + api 'com.squareup.okhttp3:okhttp:4.8.0' + api 'com.google.code.gson:gson:2.8.6' + implementation files('libs/iHealthSDK_2.9.8.jar') + implementation 'org.greenrobot:greendao:3.2.2' + // implementation 'no.nordicsemi.android:dfu:1.6.1' // removed — not needed for scanning, and repo not available + implementation 'com.alibaba:fastjson:1.2.48' +} -- cgit