Skip to main content
Samsung Developer Program

Building the Open IAB Unity Plugin

The Open IAB plugin can be downloaded here

If you experience difficulties in downloading the build Open IAB 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 Open IAB plugin from source code:

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

OpenIAB_Integration_BuildPlugin_Step2.png

  1. In the Open IAB 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 success build, the Unity package file can be found 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?