storekit

StoreKit returns invalid product identifiers - only on the real App Store, only on iOS7

主宰稳场 提交于 2020-01-22 15:40:50
问题 We have an App that queries StoreKit for product details like normal (you can disregard that it's a Xamarin App, it shouldn't make a difference unless there's a bug in Xamarin): var request = new SKProductsRequest( new NSSet( ... ) ); _runningRequests.Add( request ); request.ReceivedResponse += HandleReceivedResponse; request.RequestFailed += HandleRequestFailed; request.RequestFinished += HandleRequestFinnished; request.Start(); // .... void HandleReceivedResponse( object sender,

StoreKit returns invalid product identifiers - only on the real App Store, only on iOS7

限于喜欢 提交于 2020-01-22 15:40:13
问题 We have an App that queries StoreKit for product details like normal (you can disregard that it's a Xamarin App, it shouldn't make a difference unless there's a bug in Xamarin): var request = new SKProductsRequest( new NSSet( ... ) ); _runningRequests.Add( request ); request.ReceivedResponse += HandleReceivedResponse; request.RequestFailed += HandleRequestFailed; request.RequestFinished += HandleRequestFinnished; request.Start(); // .... void HandleReceivedResponse( object sender,

Does refreshReceipt ask for AppStore credentials?

孤街浪徒 提交于 2020-01-16 08:02:10
问题 I have been testing In App Purchases for iOS in a sample app. I need to figure out if I can call refreshReceipt API immediately at the launch to check user's eligibility for some trial period subscriptions etc. I have called refreshReceipt in AppDelegate's application:didFinishLaunching:options method but it asks me for AppStore credentials, basically the Sandbox user's password. I was not expecting this behaviour as read from Apple docs. Is it something that is happening because of the

Redeemed promo codes not included in updateTransaction

非 Y 不嫁゛ 提交于 2020-01-12 07:49:09
问题 I have an application that integrates In-App Purchases. The in-app purchasing functionality in general works as expected for purchases that occur in app, and is also fully tested to work for purchases initiated in the app store (tested using "itms-services://?action=....") I am enabling my IAPService as soon as the app is launched in the AppDelegate, and it is correctly calling updateTransaction as expected, but.... When I redeem a promo code it does not arrive in updateTransactions. It does

Redeemed promo codes not included in updateTransaction

一世执手 提交于 2020-01-12 07:49:09
问题 I have an application that integrates In-App Purchases. The in-app purchasing functionality in general works as expected for purchases that occur in app, and is also fully tested to work for purchases initiated in the app store (tested using "itms-services://?action=....") I am enabling my IAPService as soon as the app is launched in the AppDelegate, and it is correctly calling updateTransaction as expected, but.... When I redeem a promo code it does not arrive in updateTransactions. It does

StoreKit delegate functions are not getting called

∥☆過路亽.° 提交于 2020-01-07 05:35:10
问题 I wanted help from you guys. I have implemented the storekit code in my iPhone/iPad app and I am testing the application on iPad 1 with iOS 3.2. I tried to test the application after performing all the steps like adding the products in for an application in iTunes connect and using provisioning profile to run that app on my iPad but when i run the application Storekit delegate functions are never called neither it gives any error and it never crashes. I can't figure out what is the problem.

Checking iOS requestReview() output?

走远了吗. 提交于 2020-01-06 06:41:16
问题 Is there any way to know if the user tapped a star to rate the app or clicked Not Now when requestReview() is presented? I would like to be able to reward the user if he or she rated the app and not call requestReview() again in that case. Thank you! 来源: https://stackoverflow.com/questions/49980650/checking-ios-requestreview-output

In-App Purchase - How to determine if a purchase has already been made?

耗尽温柔 提交于 2020-01-05 07:36:30
问题 Why it's so hard to find out how to do this is beyond me - so maybe I am trying to do this the wrong way - who knows - well hopefully one of you, lol. I have a button that says 'Purchase' (for a non-consumable). If the purchase is successful then update NSUserDefaults purchased = YES and the button is removed. All good up to here. Now when the user deletes the app and wants to reinstall or install on a new device then what I would like to show, in these cases, in place of the 'Purchase'

In-App Purchase - How to determine if a purchase has already been made?

你离开我真会死。 提交于 2020-01-05 07:36:09
问题 Why it's so hard to find out how to do this is beyond me - so maybe I am trying to do this the wrong way - who knows - well hopefully one of you, lol. I have a button that says 'Purchase' (for a non-consumable). If the purchase is successful then update NSUserDefaults purchased = YES and the button is removed. All good up to here. Now when the user deletes the app and wants to reinstall or install on a new device then what I would like to show, in these cases, in place of the 'Purchase'

iOS in-app purchase never completes

一笑奈何 提交于 2020-01-03 13:41:07
问题 I am trying to create an in-app purchase for my app, but I am running into issues. The payment process starts, and the user has to enter in their password; however, the payment never actually completes. I know I have the right identifier set up in iTunesconnect, and I also created a test account to buy the in-app purchase with. When I run the code below, I get the following messages outputted: "User can make payments" "Products are available" "Transaction state -> Purchasing" After entering