Update the Connect React Native SDK

To update the Connect library in your React Native app, change the version in package.json and reinstall your dependencies. For available versions, see Release notes for mobile Connect SDKs.

  1. Install the library.
npm install react-native-acoustic-connect-beta@latest
npm install [email protected]
  1. Reinstall CocoaPods dependencies for iOS.
cd ios && pod install
  1. For Android, trigger a Gradle sync in Android Studio.

  2. Rebuild the app.

📘

Note

After updating, run npm ls react-native-nitro-modules to confirm that the resolved version of react-native-nitro-modules still falls within the range declared in react-native-acoustic-connect-beta's peerDependencies. A version mismatch can cause the SDK to fail at startup.