Skip to content

Document StoreKit 1 vs StoreKit 2 usage in iOS module README#288

Merged
keesvandieren merged 3 commits into
masterfrom
copilot/update-readme-storekit-implementation
Apr 13, 2026
Merged

Document StoreKit 1 vs StoreKit 2 usage in iOS module README#288
keesvandieren merged 3 commits into
masterfrom
copilot/update-readme-storekit-implementation

Conversation

Copilot AI commented Apr 13, 2026

Copy link
Copy Markdown
Contributor
  • Update gdx-pay-iosrobovm-apple/README.md to document StoreKit 1 vs StoreKit 2:
    • Explain when to use StoreKit 1 (PurchaseManageriOSApple) vs StoreKit 2 (PurchaseManageriOSApple2)
    • Document iOS version requirements (StoreKit 2 requires iOS 15+)
    • Show Gradle dependencies for both implementations (including the robovm_storekit2 dependency)
    • Show instantiation code for both, including runtime iOS version check
    • Include relevant details from PR * experimental MVP PurchaseManager using Apple StoreKit2 API #273 (experimental status, author credits, notes on API differences)
    • Add note for Kotlin users: no special configuration needed when using gdx-pay; mention the separate robopods-swift-storekit2-kt coroutine wrapper for direct StoreKit 2 usage

Copilot AI changed the title [WIP] Update README.md for Storekit implementation guidance Document StoreKit 1 vs StoreKit 2 usage in iOS module README Apr 13, 2026
Copilot AI requested a review from keesvandieren April 13, 2026 19:27
@keesvandieren

Copy link
Copy Markdown
Member

@copilot I remember Kotlin specialities for callbacks where mentions. Will this go well automatically if framework users use Kotlin, or is specific instruction for this needed?

…gdx-pay

Agent-Logs-Url: https://github.com/libgdx/gdx-pay/sessions/ee9305f2-2c40-4b1e-9278-a51ba976ced6

Co-authored-by: keesvandieren <863966+keesvandieren@users.noreply.github.com>

Copilot AI commented Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

@copilot I remember Kotlin specialities for callbacks where mentions. Will this go well automatically if framework users use Kotlin, or is specific instruction for this needed?

No special configuration is needed for Kotlin users. Both PurchaseManageriOSApple and PurchaseManageriOSApple2 handle all async operations and callbacks internally — users interact through the standard PurchaseObserver interface regardless of language.

The separate Kotlin coroutine wrapper (robopods-swift-storekit2-kt mentioned in PR #273) is only for projects using the StoreKit 2 API directly without gdx-pay.

Added a "Note for Kotlin users" section to the README clarifying this in fd9dc3c.

@keesvandieren keesvandieren marked this pull request as ready for review April 13, 2026 19:39
@keesvandieren keesvandieren merged commit 3092154 into master Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document when to use storekit 1, when to use storekit 2 implementation

2 participants