Skip to content

Commit 4da0ced

Browse files
dkimitsakeesvandierenCopilot
authored
* experimental MVP PurchaseManager using Apple StoreKit2 API (#273)
* * experimental MVP PurchaseManager using Apple StoreKit2 API uses `io.github.dkimitsa.robovm:robopods-storekit-swift` bindings for Swift based StoreKit2 API. implementation should be considered as POC and might some things might be broken.At least gdx-pay sample app was working with this manager. * * isEligibleForIntroOffer is checked before filling FreeTrialPeriod as suggested by keesvandieren * * implemented missing observer callbacks in purchase and restore transactions * * updated dependency to StoreKit2 bindings with MobiVm release version. * Update gdx-pay-iosrobovm-apple/src/main/java/com/badlogic/gdx/pay/ios/apple/PurchaseManageriOSApple2.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update gdx-pay-iosrobovm-apple/src/main/java/com/badlogic/gdx/pay/ios/apple/PurchaseManageriOSApple2.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Kees van Dieren <keesvandieren@squins.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent aa14de9 commit 4da0ced

3 files changed

Lines changed: 767 additions & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ext {
3434
mockito_core : 'org.mockito:mockito-core:2.7.21',
3535
robovm_rt : "com.mobidevelop.robovm:robovm-rt:$roboVMVersion",
3636
robovm_cocoatouch : "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion",
37+
robovm_storekit2 : "com.mobidevelop.robovm:robopods-swift-storekit2:18.2.0.1",
3738
support_v4 : "com.android.support:support-v4:25.0.0"
3839
]
3940

gdx-pay-iosrobovm-apple/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ dependencies {
1010
api project(':gdx-pay-client')
1111
api libraries.robovm_rt
1212
api libraries.robovm_cocoatouch
13+
api libraries.robovm_storekit2
1314
}

0 commit comments

Comments
 (0)