1

バージョン 1.0 では、アプリのコンテンツは無料でした。バージョン 1.1 では、一部のコンテンツに自動更新サブスクリプションを実装し、InApp 購入の実装に IAPHelper を使用しました。新規インストールの場合、サブスクリプションは正常に機能していますが、バージョンを更新したユーザーは有料コンテンツに無料でアクセスできます. この背後にある理由を知っている人がいたら、助けてください。

これは私の購入コードです

[[SubIAPHelper sharedInstance] requestProductsWithCompletionHandler:^(BOOL success, NSArray *products) {
    if (success) {
        inAppproducts=products;
        SKProduct *product =products[0];
        if (![[SubIAPHelper sharedInstance] productPurchased:product.productIdentifier]) {

           /* purchasing UI shown here and after successful purchase content is downloaded */

        }
        else
        {
            /*Content downloaded as previously purchased and rest of the flow*/
        }
    }
 }];

どんな種類の助けもかなりのものです。

4

0 に答える 0