Libgdx robovm ios IAP 绑定
Libgdx robovm ios bindings for IAP
我想在我的 libgdx
游戏中实施 ios 应用内购买。我正在使用 Android studio
我正在搜索 robovm ios 绑定,但我只发现 https://github.com/BlueRiverInteractive/robovm-ios-bindings , but this bindings are deprecated. On suggested link https://github.com/robovm/robovm-robopods ios IAP 没有任何绑定。
是否有任何其他工作绑定用于此目的?
我可以(以及如何)在我的 Android Studio
项目中使用这个已弃用的 BlueRiverInteractive
绑定吗?
我不想使用 gdx-pay
,因为我不想更改游戏的 android 部分(我已经在 android 的应用程序购买中为 google玩商店)
如有任何帮助,我们将不胜感激
谢谢
RoboVM 现在有一个名为 Robo.Billing 的新 RoboPod,它允许您在应用程序中实现跨平台应用内购买:
https://github.com/robovm/robovm-robopods/tree/master/components/robo.billing
尚无文档,但您可以查看示例应用程序:
https://github.com/robovm/robovm-samples/tree/snapshot/robopods/components/robo.billing
看看示例的核心项目。您可以在核心项目中进行所有应用内购买,无需更改 iOS 项目中的任何代码。
如果您还想让 Robo.Billing 处理 Android IAP,您将必须在 onActivityResult
或您的启动 activity 中实现一些代码(只需检查 android 项目样本)。
另外不要忘记将必要的依赖项添加到 build.gradle:
core: compile "org.robovm:robopods-billing-core:1.13.1-SNAPSHOT"
ios: compile "org.robovm:robopods-billing-ios:1.13.1-SNAPSHOT"
android: compile "org.robovm:robopods-billing-android:1.13.1-SNAPSHOT"
我想在我的 libgdx
游戏中实施 ios 应用内购买。我正在使用 Android studio
我正在搜索 robovm ios 绑定,但我只发现 https://github.com/BlueRiverInteractive/robovm-ios-bindings , but this bindings are deprecated. On suggested link https://github.com/robovm/robovm-robopods ios IAP 没有任何绑定。
是否有任何其他工作绑定用于此目的?
我可以(以及如何)在我的 Android Studio
项目中使用这个已弃用的 BlueRiverInteractive
绑定吗?
我不想使用 gdx-pay
,因为我不想更改游戏的 android 部分(我已经在 android 的应用程序购买中为 google玩商店)
如有任何帮助,我们将不胜感激 谢谢
RoboVM 现在有一个名为 Robo.Billing 的新 RoboPod,它允许您在应用程序中实现跨平台应用内购买: https://github.com/robovm/robovm-robopods/tree/master/components/robo.billing
尚无文档,但您可以查看示例应用程序: https://github.com/robovm/robovm-samples/tree/snapshot/robopods/components/robo.billing
看看示例的核心项目。您可以在核心项目中进行所有应用内购买,无需更改 iOS 项目中的任何代码。
如果您还想让 Robo.Billing 处理 Android IAP,您将必须在 onActivityResult
或您的启动 activity 中实现一些代码(只需检查 android 项目样本)。
另外不要忘记将必要的依赖项添加到 build.gradle:
core: compile "org.robovm:robopods-billing-core:1.13.1-SNAPSHOT"
ios: compile "org.robovm:robopods-billing-ios:1.13.1-SNAPSHOT"
android: compile "org.robovm:robopods-billing-android:1.13.1-SNAPSHOT"