Closed peterwilli closed 9 years ago
I'm making a fork + pull request for this issue, as well as abillity to list product information as we need that and it's not there yet :last_quarter_moon_with_face:
Thanks for investigation! Please submit your pull request when you have it ready and I shall add it. I'll create a new release also. :-D
@noblemaster the first pull request has been made. I tested it on my end with my game and it works. See: https://github.com/libgdx/gdx-pay/pull/35
The part where you can fetch products I'll do later tonight or tomorrow.
Great! I integrated your pull request. Thanks for the hard work :-D
Please note, I created a new release also; use gdx-pay 0.4.0 (or 0.5.0-SNAPSHOT) now.
Thanks @noblemaster! I'll close this issue then.
Hi,
Recently I tried testing my in app purchases on iOS and it doesnt work as expected. I updated to the latest LibGDX (1.5.5) and RoboVM (1.0.0)
I can recall it used to work (or atleast purchasing) and I am stuck on this error when I try to purchase a product:
I also removed my robovm cache prior to running (using
rm -rf ~/.robovm/cache
) and strangely enough, loading products seems to work fine:I'm struggling with this all day and still am :( It would be really nice if someone knows what's going on! Thanks in advance!
Update
It seems that RoboVM updated their function naming! See: http://docs.robovm.com/api/1.0.0/org/robovm/apple/storekit/SKPayment.html#createFromProduct-org.robovm.apple.storekit.SKProduct- It's called
public static SKPayment create(SKProduct product)
in 1.0.0But let's take a beta of 1.0 (LibGDX 1.5.4 uses the snapshot build of robovm): http://docs.robovm.com/api/1.0.0-beta-03/org/robovm/apple/storekit/SKPayment.html#createFromProduct-org.robovm.apple.storekit.SKProduct- There it's called:
public static SKPayment createFromProduct(SKProduct product)
Update 2 Testing fix now