React Native
Thryve provides React Native SDK and modules that are using the Thryve native SDKs.
Configuration of projects
Install packages
# Install the core SDK
npm install ./packages/thryve-react-native-sdk-<version>.tgz
# Install only the modules you need
npm install ./packages/thryve-react-native-hconnect-module-<version>.tgz # Health Connect (Android only)
npm install ./packages/thryve-react-native-samsung-health-module-<version>.tgz # Samsung Health (Android only)
npm install ./packages/thryve-react-native-apple-health-module-<version>.tgz # Apple HealthKit (iOS only)
npm install ./packages/thryve-react-native-shenai-module-<version>.tgz # ShenAI (Android & iOS)"dependencies": {
"@thryve/react-native-sdk": "./packages/thryve-react-native-sdk-5.2.1.tgz",
"@thryve/react-native-hconnect-module": "./packages/thryve-react-native-hconnect-module-5.2.1.tgz",
"@thryve/react-native-samsung-health-module": "./packages/thryve-react-native-samsung-health-module-5.2.1.tgz",
"@thryve/react-native-apple-health-module": "./packages/thryve-react-native-apple-health-module-5.2.1.tgz",
"@thryve/react-native-shenai-module": "./packages/thryve-react-native-shenai-module-5.2.1.tgz"
}Setup Android configuration
Configure Nexus Maven repository (android/settings.gradle)
android/settings.gradle)Add Thryve SDK dependencies (android/app/build.gradle)
android/app/build.gradle)Define Android SDK versions (android/build.gradle)
android/build.gradle)Configure project when using Health Connect
Configure project when using Samsung Health
Setup iOS configuration
Configure the Podfile
Configure the Info.plist
Configure the required entitlements
Common issues
iOS build error: Typedef redefinition with different types in RCT-Folly/folly/portability/Time.h
Typedef redefinition with different types in RCT-Folly/folly/portability/Time.hMigrating to React Native SDK 5.2.0
Breaking changes
Samsung Health data types replaced
Last updated

