How do I resolve dependency conflicts in Vital SDK for React Native (Expo)?
Last updated: March 25, 2025
Context
When integrating the Vital mobile SDK with React Native (Expo), you may encounter dependency conflicts between different Vital packages, particularly with VitalCore and VitalDevices pods during the installation process.
Answer
To resolve dependency conflicts between Vital packages in your React Native (Expo) project, follow these steps:
Ensure all Vital-related packages in your
package.jsonare using the same version.Update the vital-devices-react-native package to the latest version in your repository.
In your iOS project directory, run the following command to update all Vital-related pods:
pod update VitalCore VitalDevices VitalHealthKit VitalLogging
Important: Version mismatches between Vital packages can cause installation failures. Always verify that all Vital dependencies are aligned to compatible versions before running pod install.
If you continue to experience issues after following these steps, reach out to Vital's technical support team for additional assistance.