SKPaymentTransactionObserver`应用内购买不能在 iTunes 连接的 App Store` 上推广,但委托实施和测试 [英] SKPaymentTransactionObserver `In-app purchases can’t be promoted on the App Store` on iTunes connect but delegate implemented and tested

查看:12
本文介绍了SKPaymentTransactionObserver`应用内购买不能在 iTunes 连接的 App Store` 上推广,但委托实施和测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实现和测试委托方法后,我们在 Itunes connect 中不断收到此警告消息:

We keep getting this warning message in Itunes connect after implementation and test of the delegate method:

这些应用内购买无法在 App Store 上推广,因为您最新的应用二进制文件不包含 SKPaymentTransactionObserver 方法.

These in-app purchases can’t be promoted on the App Store because your latest app binary doesn’t include the SKPaymentTransactionObserver method.

我们在管理我们的付款和其他 SKPaymentTRansactionObserver 的专用对象中为从 iOS 11 购买的新 App Store 实现了委托方法.

We implemented the delegate method for the new App Store purchase from iOS 11 in a dedicated object that manages our payments and other SKPaymentTRansactionObserver.

func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
    let isProUser = userDataService.isUserPro
    let isUserLoggedIn = userDataService.isUserLoggedIn

    if isUserLoggedIn && !isProUser {
        return true
    } else if isUserLoggedIn && isProUser {
        return false
    }
    paymentFromAppStore = payment
    return false
}

我们通过以下方式对其进行了测试:

We tested it with:

itms-services://?action=purchaseIntent&bundleId=[添加您的 bundleID]&productIdentifier=[添加您的 productID]

itms-services://?action=purchaseIntent&bundleId=[add your bundleID]&productIdentifier=[Add your productID]

并且在测试期间一切正常.为沙箱用户调用委托和支付处理.我们提交了我们的应用并获得了批准,但在 Itunes connect 上没有任何反应.

And everything worked fine during tests. The delegate is called and payment processing for sandbox users. We submitted our app and we've been approved but nothing happened on Itunes connect.

我们是唯一面临这个问题的人吗?有没有人有答案和解决方案?

Are we the only one facing this issue? Does anyone have an answer and solution?

提前感谢您的回答!

黄色消息会自行消失.我创建了一个我们转发给苹果的雷达.现在看来消息消失了.因此,我们将在下一个版本中查看是否在生产中有效.我会再次更新这篇文章以给出最终答案.

Yellow message disapear on its own. I created a radar that we foward to apple. And now it seams that the message disapear. So we will see with our next release if if works in production. I will update this post again to give a final answer.

解决方案:问题出在 Apple 端在 Itunes 连接上.在我的雷达之后,我们的应用程序现在可以在 App Store 购买并在 App Store 上看到.如果有人遇到与我们相同的问题,请不要犹豫为其创建雷达.

SOLUTION: Problem was from Apple side on Itunes connect. After my radar our app has now App Store purchase available and visible on the App Store. If someone has the same issue that we had, don't hesitate to create a Radar for it.

推荐答案

解决方案:问题出自 Apple 端在 Itunes 连接上.在我创建了雷达之后,我们的应用程序现在可以在 App Store 购买并且在 App Store 上可见.如果有人遇到与我们相同的问题,请不要犹豫为其创建雷达.

SOLUTION: Problem was from Apple side on Itunes connect. After the radar I created, our app has now App Store purchase available and visible on the App Store. If someone has the same issue that we had, don't hesitate to create a Radar for it.

这篇关于SKPaymentTransactionObserver`应用内购买不能在 iTunes 连接的 App Store` 上推广,但委托实施和测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆