Updated last year
This tutorial intended for customers who have already integrated SDK v4.15* and willing to upgrade to v5.9.
The SDK package name was changed so it requires updating the project integration with the SDK as well as updating the class imports inside the project.
Please note that the steps are derived from the Sample App and can be applied quite easily to your own application.
Remove the previous binah-web-sdk-v4.15.3-5.tgz file from the project.
Add the biosensesignal-web-sdk-v5.9.2-1.tgz file in the same path.
In pacakge.json replace:
"@binah/web-sdk": "./binah-web-sdk-v4.15.3-5.tgz"with:
"@biosensesignal/web-sdk": "./biosensesignal-web-sdk-v5.9.2-1.tgz"Replace any previous import of 'binah-react-native-sdk' to '@biosensesignal/web-sdk', for example:
import monitor, {
AlertData,
DeviceOrientation,
EnabledVitalSigns,
FaceSessionOptions,
HealthMonitorCodes,
HealthMonitorSession,
ImageValidity,
OfflineMeasurements,
SessionState,
VitalSigns,
VitalSignsResults,
} from '@binah/web-sdk';with:
import monitor, {
AlertData,
DeviceOrientation,
EnabledVitalSigns,
FaceSessionOptions,
HealthMonitorCodes,
HealthMonitorSession,
ImageValidity,
OfflineMeasurements,
SessionState,
VitalSigns,
VitalSignsResults,
} from '@biosensesignal/web-sdk';
Perform yarn and yarn start commands
Run the project