React Native
Thryve provides React Native SDK and modules that are using the Thryve native SDKs.
Configuration of projects
"dependencies": {
"@thryve/react-native-sdk": "file:../../thryve-react-native-sdk-5.0.1.tgz",
"@thryve/react-native-apple-health-module": "file:../../thryve-react-native-apple-health-module-5.0.1.tgz",
"@thryve/react-native-health-connect-module": "file:../../thryve-react-native-health-connect-module-5.0.1.tgz",
"@thryve/react-native-shealth-module": "file:../../thryve-react-native-shealth-module-5.0.1.tgz",
"@thryve/react-native-shenai-module": "file:../../thryve-react-native-shenai-module-5.0.1.tgz",
"react": "19.0.0",
"react-native": "0.78.2"
},
"devDependencies": {
"@types/react": "^19.0.0",
}, "plugins": [
...
[
"expo-build-properties",
{
"android": {
"compileSdkVersion": 34,
"targetSdkVersion": 34,
"buildToolsVersion": "35.0.0",
"extraMavenRepos": [
{
"url": "https://nexus.external.thryve.de/repository/releases/",
"credentials": {
"username": "PUT_NEXUS_USERNAME_HERE",
"password": "PUT_NEXUS_PASSWORD_HERE"
}
}
],
"manifestQueries": {
"package": [
//If you are integrating Health Connect add
"com.google.android.apps.healthdata",
//If you are integrating Google Fit add
"com.google.android.apps.fitness",
//If you are integrating Samsung Health add
"com.samsung.health",
"com.sec.android.app.shealth"
]
},
"permissions": [
//Add the Health Connect permissions you are interested here.
"android.permission.health.READ_HEART_RATE"
]
},
"ios": {
"extraPods": [
{
"name": "ThryveCore",
"source": "https://git.thryve.de/thryve/Specs.git"
},
{
"name": "ThryveAppleHealth",
"source": "https://git.thryve.de/thryve/Specs.git"
},
{
"name": "ThryveShenAI",
"source": "https://git.thryve.de/thryve/Specs.git"
}
],
"entitlements": {
"com.apple.developer.healthkit": true,
"com.apple.developer.healthkit.background-delivery": true
},
"infoPlist": {
"NSHealthShareUsageDescription": " Allow to share your health data",
"NSHealthUpdateUsageDescription": "Allow to update your health data",
"UIBackgroundModes": [
"fetch"
]
},
"privacyManifests": {
"NSPrivacyAccessedAPITypes": [
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategorySystemBootTime",
"NSPrivacyAccessedAPITypeReasons": [
"CA92.1"
]
},
{
"NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryUserDefaults",
"NSPrivacyAccessedAPITypeReasons": [
"CA92.1"
]
}
]
}
}
}
]
...
]Configurations specific to native plattforms
Last updated

