Skip to main content
Samsung Developer Program

Unbind From the IAP Billing Service

After working with the in-app purchases, unbind from the IAP billing service by calling the unbindService() method, which unbinds and shuts down the billing service. This unbinding is implemented in the onDestroy() method in the Shop.cs file.

// Remove listeners when the application exits

private void OnDestroy()
    // Unbind from the IAP billing service
  • Was this article helpful?