无法在iTunes Connect上的App Store上推广SKPaymentTransactionObserver“应用内购买",但已实现并测试了代理 [英] SKPaymentTransactionObserver `In-app purchases can’t be promoted on the App Store` on iTunes connect but delegate implemented and tested

查看:779
本文介绍了无法在iTunes Connect上的App Store上推广SKPaymentTransactionObserver“应用内购买",但已实现并测试了代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实现和测试委托方法后,我们在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.

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

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.

解决方案:问题出在Itunes connect上的Apple方面.在我的雷达发现之后,我们的应用现已可以在App Store购买并可以在App Store上看到. 如果有人遇到与我们相同的问题,请毫不犹豫地为其创建一个Radar.

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.

推荐答案

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

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.

这篇关于无法在iTunes Connect上的App Store上推广SKPaymentTransactionObserver“应用内购买",但已实现并测试了代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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