I am making an iOS application that uses Apple Game Center. I used a sandbox account for testing my leaderboards.
I want to delete my test data from the leaderboards using the "Delete Test Data" button in itunes connect.
After pressing the button it says "Delete Test Data: Requested"
After this i wait for a while (like 15 minutes). Then the button becomes active again if i reload the page. However when i restart my applicaion the leaderboards still shows my data.
Do i need to wait longer or is there something else i can do to delete the test data?
Try to read help popup which Apple provides for you:
You are just sending a request to delete data, actual deletion is not performed.
So here is my solution:
I waited a few hours. Then I had to delete my application from the Game Center application. After that i reinstalled my app. But there was still a score in one of the leaderboards (Most data got deleted).
Then i deleted the leaderboard (the one with data) on iTunes Connect and remade it. Then delete the app from Game Center and reinstalled again.
After this my data was gone.
Related
I have a game that uses leaderboards that I have not yet submitted for app review and publishing on iTunes Connect yet. I want to delete the test scores that I've been using with my sandbox Game Center players before going live.
Looking at instructions and other screenshots on the web, my leaderboard doesn't look right in iTunes Connect.
There is no method to view the leaderboard from iTunes Connect, and no method for me to delete the scores to reset it before publishing. How do I go about doing that?
Is this normal? Also, should the status say "Not live" at this time?
I found the answer. The screenshots and tutorials I was looking at must have been slightly out of date. In order to delete the test data, you need to click the "More" button in the top right, and then select "Delete test data" from the dropdown.
I'm still not entirely sure about the status saying "Not live", but I suspect it becomes live as soon as your app does. I will try to remember to update this when I publish and find out.
I have found a lot of sites saying that apple let developers delete a leaderBoard score. But I can't find this buttom anywhere.
ps: My app ins't posted at appStore yet.
Following this guide:
Go to the Game Center page of your app, as described in Navigating to Your App’s Game Center Page.
In the Leaderboards section, click Delete Test Data.
A request to Apple is submitted to delete your test data. Requests are usually processed within one day and can’t be restored.
I'm testing a new app on my device, and today, I started integrating the StoreKit for In-App Purchases.
The problem is that EVERY TIME I launch the app, it asks me for my sandbox account password. Here following, you'll find some details about the problem.
The very first time I launched the app, everything worked as expected. No problems while completing the in-app purchase (with my sandbox user - let's call it testuser1#t.com -).
Stopped the app, integrated a button "Restore purchases". Unfortunately, I forgot to add "finishTransaction" at completion (not sure if this could be the problem).
From now on, every time I launch the app, it keeps asking me for testuser1#t.com's password.
StoreKit starts doing it's stuff in a view which is NOT the rootView, so I excluded that I'm casting something wrong programmatically...
So, what I did AFTER?
Deleted app from device and reinstalled (after reboot)
Deleted sandbox user (and created a new one - let's say testuser2#t.com -). I successfully used the NEW account in order to get a new IAP.
Cleared settings on my device
Deleted IAP from iTunes Connect
The problem is still there. Keep in mind that the password asked is for testuser1#t.com (the very first test account!)
Stopped the app, integrated a button "Restore purchases". Unfortunately, I forgot to add "finishTransaction" at completition (not sure if this could be the problem)
That is indeed the problem!
Store Kit will always ask you to re-authenticate if there are transactions left on the queue. To get rid of those transactions, just call:
for transaction in SKPaymentQueue.defaultQueue().transactions {
SKPaymentQueue.defaultQueue().finishTransaction(transaction)
}
I just create an App with "Facebook Audience Integration", Everything works fine, I have create my placement ID and I can see "test ads" and "real ads" (if I remove my test device).
But there is a problem, my app is still not in "review" I have this message on the header "Ads Only Visible to Admins and Developers [...]Once your app or site serves 5 ads, we'll check that it complies with our policies.."
Current state of my app
My app is live on the store since more than 10 days and my app is stil not in review, but I have more than 5 request on my app
Screenshot here
Maybe I missed something?a button to press or just tell me you are in the same situation (maybe).
Do you have an idea?
Thank you
Got the answer by the facebook team support :
Our review process has some big problems, and we're changing it this week. In the future, your apps should be automatically reviewed within 24 hours, as soon as they start sending any requests to our network. It should be very fast.
I am using StoreKit for in app purchases in my iPhone game. The purchases all work correctly, however I am constantly being prompted when the app is opened to sign into an account which does not exist anymore.
I had one sandbox account that I used until I was getting an error in which pressing 'restore purchases' was restoring the purchase even if the user pressed 'Cancel' on the modal popup. Because of this I created a new sandbox account to try and restore purchases from an account which had not made any purchases. Unfortunately restore purchases still worked in this situation which is of course a problem. I thought it could be an issue with the old sandbox account still being on the device somewhere so I deleted it. For some reason, every time the app starts, I am still prompted to sign into this test account that has been deleted.
Research has lead me to believe that maybe somewhere a transaction was not finished and so it is trying to complete it every time the app starts? Does this sound plausible?
If you would like to see my code, let me know and I will update.
Edit: I have of course tried deleting the app and reinstalling and also signing out of all accounts along with a reboot of the device.
Research has lead me to believe that maybe somewhere a transaction was not finished and so it is trying to complete it every time the app starts? Does this sound plausible?
Not just plausible, but likely. Hack your app to call finish on all transactions regardless of actual completion state, then un-hack it.
To solve this I finally signed into the account it was prompting me to sign in to and then went through and purchased all of my IAPs again manually, this reset whatever hung action there was and fixed the issue.