libgdx/gdx-pay

Do I need to implement iOS and Android specific PurchaseManager?

Closed this issue · 1 comments

Please ensure you have given all the following requested information in your report.

Issue details, reproduction steps/code

I want to implement Gdx-pay in my project, I found if I can only use PurchaseManager from Core module, will I still need to use specific PurchaseManager from iOS and Android platform?

Version of gdx-pay and/or relevant dependencies

1.3.7

Stacktrace

//Please provide the stacktrace if applicable 

Please select the affected platforms and payment service implementation

  • Amazon
  • googlebilling
  • googlepay
  • apple robovm
  • Huawei

I just figured it out, for PurchaseManager in Core Module I can use core impelementation, however PurchaseManager is only a interface, I need to implement different PurchaseManager on specific platform, that's why I need include import PurchaseManager in both iOS and Android platform.