Skip to main content
Samsung Developer Program

Build the OpenIAB Unity Plugin

The OpenIAB plugin can be downloaded here

If you experience difficulties in downloading the build OpenIAB plugin, you can download the library source code and manually build the plugin. If there is an updated version of the plugin package source code, download the latest plugin package or build it from the updated source code. 

To build the OpenIAB plugin from source code:

  1. Download the OpenIAB library here.
  2. Save the library to the root level of the project folder. 

OpenIAB_Integration_BuildPlugin_Step2.png

  1. In the OpenIAB Unity Plugin folder, press Shift, then right-click and select Open Command Window here.

OpenIAB_Integration_BuildPlugin_Step3.png

  1. Enter the following command:
gradlew clean buildPlugin
  1. After a successful build, the Unity package file is located in the unity_plugin/build/outputs directory. 

OpenIAB_Integration_BuildPlugin_Step5.jpg

Note: You can modify the build path of the Unity package file by changing the unityExecutable property in the gradle.properties file.

  • Was this article helpful?