libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
225 stars 83 forks source link

Do I need to implement iOS and Android specific PurchaseManager? #262

Closed wangdong20 closed 6 months ago

wangdong20 commented 6 months ago

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

wangdong20 commented 6 months ago

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.