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 8.0.0 to 8.0.9:
Before: implementation 'com.instabug.library:instabug:8.0.0'
After: implementation 'com.instabug.library:instabug:8.0.9'
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>8.0.9</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
Cordova
Run this command to update Instabug:
cordova plugin update instabug-cordova
Xamarin
From Visual Studio project navigator, expand ProjectName.Droid. Right click on the Instabug Package. Click on Update. Repeat the previous steps for ProjectName.iOS.