Skip to main content

Versioning and Upgrades

The SDK follows semantic versioning (MAJOR.MINOR.PATCH). The SDK is currently at version 2.0.0, which made appIdentifier required and added setUser() for user identification, aligning behaviour with the iOS, Android, and Flutter SDKs.

Pinning the Version​

{
"dependencies": {
"@b2metric/react-native-sdk": "2.0.0"
}
}

After upgrading, re-run cd ios && pod install so the iOS native module is rebuilt against the new version.