summaryrefslogtreecommitdiff
path: root/android/settings.gradle
diff options
context:
space:
mode:
authorhc <haocheng.xie@respiree.com>2026-04-10 17:39:12 +0800
committerhc <haocheng.xie@respiree.com>2026-04-10 17:39:22 +0800
commite4fb9966e762852bf17f21c8406501d42fae0b61 (patch)
tree658bbdba977ff7846a17ee94b8ed6b676f6ce9dd /android/settings.gradle
Initial commit: iHealth BLE scanner app with patched SDK v1.5.0
Diffstat (limited to 'android/settings.gradle')
-rw-r--r--android/settings.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..6c47ee0
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,15 @@
1pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
2plugins { id("com.facebook.react.settings") }
3extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
4dependencyResolutionManagement {
5 repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
6 repositories {
7 google()
8 mavenCentral()
9 }
10}
11rootProject.name = 'iHealthScanner'
12include ':app'
13include ':ihealthlibrary-react-native'
14project(':ihealthlibrary-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/@ihealth/ihealthlibrary-react-native/android')
15includeBuild('../node_modules/@react-native/gradle-plugin')