in-app-purchase

Limit iOS App even after the user re-installs it

人盡茶涼 提交于 2019-12-12 19:21:27
问题 I created an app that gives the user 3 coins at the first launch. Once the user finished the 3 coins he should buy unlimited coins by an In-App purchase. The problem is that if the user doesn't want to buy unlimited coins he can delete the app, install the app again and he will have again the 3 coins again. And he can do this forever without ever buying the In-App purchase. Is there a simple way to prevent this? How can I know if a user finished the coins inside the app even after deleting it

Downloading iAP Hosted Content gets stucks on SKDownloadStateWaiting for some users

谁说我不能喝 提交于 2019-12-12 16:21:46
问题 Pretty much what the title says. The code works fine for all my development devices in the sandbox environment and for a majority of my users. However, there are some users reporting that the download process doesn't move beyond the waiting state (SKDownloadStateWaiting), even when left through the night. Some do manage to get the download started after a few tries (closing the app completely and going through restore purchases feature), so it does look to be completely random. Here is the

Cannot revoke Android inapp subscription

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 15:25:39
问题 For testing purposes I am trying to revoke inapp subscription for Android app. I am using standard API call defined at https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/revoke and it responds with no errors. However, after calling for get API I am getting response like: { "kind": "androidpublisher#subscriptionPurchase", "startTimeMillis": "1418380314678", "expiryTimeMillis": "1421058696393", "autoRenewing": true } So, nothing changed and even subscription I am

responseCode 4 of Google In-App Billing Library 1.0

删除回忆录丶 提交于 2019-12-12 15:15:49
问题 I'm programming in-app billing function in my app for ads free version by using google in-app billing library 1.0. And I've gone through all stages of here codelab until now. However, I alway meet this error and returned responseCode is 4 (= ITEM_UNAVAILABLE ) at onPurchasesUpdated() . I had already registered my product item at google play console and activated it about 3 hours ago. Isn't it enough time? Or... are there any steps that I missed? Please let me know what is wrong? Thanks. :)

Is it possible to share ONE In-App purchase between TWO Apps?

為{幸葍}努か 提交于 2019-12-12 12:51:55
问题 I have a product that has two different build, one for iPhone, and another one for iPad. Is it possible to unlock features via In-App purchase in both with make the playement once from one of them? 回答1: You cannot use the same ID, howerver, you can manage information about which purchases have been made by which users on your own server, and update that information every time a user buys something. You just have to check on that server which purchases have been made. 来源: https://stackoverflow

Swift, spritekit: In app purchase code runs, NOTHING happens?

微笑、不失礼 提交于 2019-12-12 12:49:29
问题 Ok, so I'm working in Swift and I just need help. I have followed 4 different tutorials on how to implement in app purchases in sprite kit with Swift, copied code verbatim, and nothing is working for me. Here are the steps I have taken: Gone in Itunes Connect and created an in app purchase under my app's record. My in app purchase's product Id is "GameOverSaveSavior" In Xcode, I've turned my app's In app purchase capability to ON , made sure my team is set to my account, and made sure my

Amazon IAP doesn't invoke onPurchaseResponse

守給你的承諾、 提交于 2019-12-12 11:28:59
问题 I have an android app, which is using IAP. I'm sending PurchasingManager.initiateGetUserIdRequest() and getting the user ID successfully in onGetUserIdResponse . After getting the response the PurchasingManager.initiatePurchaseRequest("sku") is invoked, but unfortunately the desired onPurchaseResponse seems never be called. My applications IAP items are approved by amazon. Any help on this? 回答1: In our case, the issue ended up being that we had added the android:exported="false" flag to our

Android In-App Purchase

◇◆丶佛笑我妖孽 提交于 2019-12-12 10:56:45
问题 Presently I am developing one application in android.I want to implement in app purchase in my app when i click a button. Please help me with simple example to implementing in app purchase for our app. Thanks in advance. 回答1: I am sorry to answer in this manner, but the documentation from Google is pretty good on the subject; http://developer.android.com/guide/market/billing/index.html The "Dungeons" example provides sample code that is pretty good. In app billing is a bit complex, and uses

How to change toast message that comes after successful purchase of a product in in-app billing

[亡魂溺海] 提交于 2019-12-12 10:33:18
问题 I am getting a message like "Thank You,Your item will be appear shortly" after user purchase the product.Now this message comes from the market place side.But i want a custom message instead of this one. How to do the same or at least how can I remove this toast notification? 回答1: As other users have said, you cannot change the toast from the Play Store. You will have to edit the Play Store App for that. What you CAN do is to check if the purchase succeeded and show your own toast saying "The

How to carry on In-App Purchase throughout whole app? (Remove ads from MULTIPLE views)

℡╲_俬逩灬. 提交于 2019-12-12 10:17:09
问题 I have written my code for an In-App Purchase to remove ads and it works flawlessly, except, it only works on the view controller where I removed my ads from. I want it to carry over throughout my whole app. How would I do that? Better understanding : I have Ads on a few view controllers in my app. I have a Information view controller where you can purchase the removal of ads. The thing is : it does't carry over to my other views, as if I go back to the menu view controller. Also, when I go