You can easily update the Instabug SDK for each platform by following the instructions below:
iOS
If you are using Cocoapods, use the following command in the terminal of your project:
pod update Instabug
If you are using Carthage, use the following command:
carthage update
Android
To update the Instabug Android SDK, you simply have to change the version number in your Gradle file to the latest SDK version. ln the example below, we will upgrade from 14.0.0
to 14.2.0
:
Before: implementation 'com.instabug.library:instabug:14.0.0'
After: implementation 'com.instabug.library:instabug:14.2.0'
If you happen to be using Maven instead, you would enter the new SDK version within the version tag:
<dependency>
<groupId>com.instabug.library</groupId>
<artifactId>instabug</artifactId>
<version>14.2.0</version>
</dependency>
React Native
Simply use the following command if you're using npm
:
npm install instabug-reactnative
If you prefer Yarn, you can run the following command instead:
yarn upgrade instabug-reactnative
Flutter
To update the Instabug Flutter SDK, you need to modify the version number in the pubspec.yaml
file to reflect the latest SDK version. In the example below, we will upgrade from version 14.0.0
to 14.2.0
:
Before
instabug_flutter: ^14.0.0
After
instabug_flutter: ^14.2.0
Once you've made this change, run the following command:
flutter pub get