extension-iap icon indicating copy to clipboard operation
extension-iap copied to clipboard

Added Samsung Galaxy Store IAP

Open Flake174 opened this issue 9 months ago • 6 comments

IAP support for Galaxy Store (Subscriptions are not implemented)

Flake174 avatar Feb 11 '25 07:02 Flake174

I think lib should be added as dependency in build.gradle and included conditionally depends on option in game.project. See how it's implemented here for example: https://github.com/defold/extension-ironsource/blob/3da966da251d30e3e272e2f6a6649cbd11bf4676/extension-ironsource/manifests/android/build.gradle#L57-L61

AGulev avatar Feb 11 '25 07:02 AGulev

I think lib should be added as dependency in build.gradle and included conditionally depends on option in game.project.

I agree, but it seems like Samsung is only distributing the IAP library as a jar file:

https://developer.samsung.com/iap/programming-guide/integrate-iap-helper-into-your-app.html

britzl avatar Feb 11 '25 07:02 britzl

distributing the IAP library as a jar file:

Actually, it is distributed as an .aar file, which would be preferable. In the current PR we have the .aar file unpacked with resources etc. It would be better if our AndroidBundler.java supports .aar files (note sure if it does, should be easy to add!)

britzl avatar Feb 11 '25 07:02 britzl

That's right, samsung sdk is distributed only as .aar file, I unpacked jar and other resources from it

Flake174 avatar Feb 11 '25 08:02 Flake174

That's right, samsung sdk is distributed only as .aar file, I unpacked jar and other resources from it

I think we want to make sure our bundler will handle local .aar files to avoid having all of the resources unpacked like they are now. I will look into it!

britzl avatar Feb 11 '25 08:02 britzl

https://github.com/defold/defold/issues/10330

britzl avatar Mar 11 '25 23:03 britzl