Air 3.1 iOS In-App Purchase and Exit on Suspend
Hello my dear friends.
During building my app I received a new task.
Early was implemented UIApplicationExitsOnSuspend value, so our app exits when we pressed HOME button. It's ok, each app execution works as new executions.
But when we want to add In-App purchase I lost in solutions. When we press "Buy" in In-App purchase dialog - our app automaticaly closes looking on UIApplicationExitsOnSuspend = true. And when In-App return sussesfully - it must automatically open app and return OK or NOT. But how I can check this if I terminate my app using UIApplicationExitsOnSuspend )))
Forwarding along to the iOS team. You might also want to post this over on the Flash Pro forums.
Chris
Similar Messages
-
IOS In App Purchases restore transactions not working properly with Milkman Games ANE for Adobe AIR
I am experiencing the following problems with Milkman Games in-app-purchases ANE dor Adobe AIR:
PROBLEM 1
0) StoreKit is created and correctly returns all the product IDs via StoreKit.storeKit.loadProductDetails()
1) I purchase item A, the item is correctly purchased
2) I purchase item B, the item is correctly purchased
3) I uninstall and re-install the app
4) I restore transactions via StoreKit.storeKit.restoreTransactions()
5) Only item B is restored ( onPurchaseSuccess() is only triggered once for item B)
EXPECTED BEHAVIOUR: I would expect that restoreTransactions() would trigger onPurchaseSuccess() for each of the items previously restored.
PROBLEM 2
6) I close the app
7) When I restart the app, onPurchaseSuccess() for product B is fired without any of the app code calling it.
Is StoreKit attempting to restore transactions by default everytime StoreKit is created? (i.e. StoreKit.create(); )
Testing device: iPad2, iPhone4
Operating System: iOS 7 and iOS 6
Compiling for: AIR 3.8
Type of item purchased: all items tested are non-consumable
Did anyone ever experienced such a behaviour with iOS in-app-purchases in an AIR mobile app? Any ideas or pointer in the right direction are appreciated, thanks!Shared Objects aren't working for me after the last update Adobe Flash Pro 13.1.0.217 and Air 3.9.0.1380. After exporting to the iPad the apps I get an erro when using Flush command:
Error: Error #2130: Unable to flush SharedObject.
at Error$/throwError()
at flash.net::SharedObject/flush()
at CleverClimbers_fla::MainTimeline/frame1()[MyFile_fla.MainTimeline::fr ame1:133]
at CleverClimbers_fla::MainTimeline/frame1()
Cannot display source code at this location.
Debug session terminated.
Any ideas for this? -
TS1702 I installed an app and tried to do an in-app purchase and it froze
I installed an app and tried to do an in-app purchase and it froze, now it crashes every time i try to open it... Ive reinstalled the app as well as restarted my phone even , i5 iOS 7
Hi Allense,
What device are you trying to re-install it on? What OS are you running on that device?
GB -
I bought a new app ($0.99), bought $19.00 worth of on app purchases and the app crashed, now it says that I have to start a new game since i had just started it and didn't get a chance to save it, so my question is, how do i get my money back?
I'm keeping the app, i just need the $19.00 back.
-
Do you understand me ? I want money back.Because I have problem with LINE In App Purchase.And no one try to resolve this problem.And the answer of NEVER LINE JAPAN they don't have responsibility.I think it will be effect with APPLE image also.I want you to help me everyways to refound my monet back.Could you?
Contact iTunes Store Support.
-
I seem to not enter the correct answers to my security questions for itunes to buy an in-app purchase and also cannot answer the questions exactly like i answered them when creating the account for my ipod, how do i find out what answers i put for my ipod touch and itunes?
Try these previous discusssions:
recover answers to security questions: Apple Support Communities
how do i change apple ID security...: Apple Support Communities -
I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I dont care if i owe apple's itunes appstore a few dollars over 2 in app purchases i never meant to download in fact the whole app itself i wanted to delete...but out of the hundreds (maybe lower thousands) fof dollars in music and apps and whatever else, that i rightfully purchased over the passed couple of years....should *NOT* have the upgrades and/or previous purchased songs withheld from me over $3 in accidently purchased add ons through an existing app i deleted an disliked anyway
Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"
-
I have bought an Item from apple store Called "Scarry Tribes , 19,999 sale !" . from develober Called "XYRALITY GmbH" Type: In App Purchase , and no thing added to my Account in the Game !!?
and if you cam Help Me I'll Copy the Invoice or Order number .. !While I am no fan of Best Buy and would not buy a lightbulb from them I doubt you issues have anything to do with your iMac and more to do with your lack of experience and simply getting bad advice. Judging by you post I suspect you have loaded your computer down with a lot of crapware and that has caused it's problems. For example running antivirus apps on a Mac not only is a waste of time, it's a waste of money, system resources and will eventually create more problems that it solves. Please begin educating yourself on the subject by reading Thomas Reeds articles on the subject, Thomas is a frequent and knowledgeable contributor to these forums. You can find his webpage at http://www.reedcorner.net/tech-guides/
The good news is here are absolutely no, zero, zippo viruses for OS X. There are other types of malware available (for example trojans) however they differ greatly from viruses in that the use has to download and install them, whereas viruses do not work that way. OS X is not like MS Windows and is extremely secure.
My suggestion at this point would be to clean your computer of the crapware (including antivirus apps) however before doing so please download and install EtreCheck and post its report. Then we can see how your computer has been configured and begin to give you some advice on the next steps. -
I made an in app purchase and the payment did not go through due to lack of funds. Now I am trying to change the payment option (credit card) but it is not accepting it.
Please help! thanks in advance.I am desperate right now. I'm not sure if I got myself into some real trouble since I got the in-app and it works fine, but the purchase did not show up. It usually asks ms if I want to pay 2.99 and I would press "yes," but this time it did not ask and I feel like I got this app without paying for it. please any advice!?
-
Trying to make in app purchase and it keeps telling me to contact apple support. Any hints?
Contact iTunes support.
https://ssl.apple.com/emea/support/itunes/contact.html -
I made an in app purchase and never received what I was supposed to. I contacted the producers of the app and they never got back to me. I then contacted apple and they said they would return my 25$ purchase. I still haven't gotten it. I am starting to feel like I just lost 25 dollars and both companies are sweeping it under the bus. I don't know what to do now. What should I do?!?!
We are users like yourself. You are not speaking to Apple here. We are not able to help. Please call Apple to inquire.
Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
To contact product and tech support: Contacting Apple for support and service - this includes
international calling numbers..
For Mac App Store: Apple - Support - Mac App Store.
For iTunes: Apple - Support - iTunes. -
i made an in app purchase and the purchase is listed on my billing summary but i cannot access the purchase within the app. I have tried deleting the game and reloading the app and the purchase, nothing seems to work.
I've had this with games, I had to contact support via the 'problems with this app' link on the receipt & they refunded my money.
-
I would like to know how can i get money back (follow the subject).
thank you
(my english is poor. sorry)If you haven't received the item but you've been charged for it then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that in-app purchases and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
If the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page. -
I'm trying to make an in app purchase and it keeps telling me to come to the support page but I can't figure out why it won't let me do it
And I have gone to the support and it was no help
-
I have a problem, i purchased a 19.99 worth of an in-app purchase and it says that it hasn't been download. How can i fix that?
See this support document http://support.apple.com/kb/ht1933
Maybe you are looking for
-
Disabling Weblogic's http server port - Using an external web server
Hi, We are using Weblogic 8.1 as application server and IWS as web server. We have siteminder web agent configured on the web server for implementing authentication and authorization. All our requests first go to the web server which redirects them t
-
Streaming a downloaded movie onto Apple TV
I downloaded a movie from the internet of which the files are in vob format. I can play the movie fine on my iMac through DVD player. How can I stream this this movie to my HDTV through Apple TV using Airplay? Home Sharing is turned for both the iMac
-
Server Spec 11.1.2
Hi all Below is the server spec for EPM 11.1.2. I would like to know the impact on memory and space if we have two, three applications instead of One. Can u guys help me ? 100 Users (35 active users) For One Planning App HTTP Web/J2EE Server Processo
-
IMovie thinks that the external harddisc is a camera
At startup iMovie is telling: "camera xyz detected" and tries to scan it. But xyz is my external USB-harddisc. After e few seconds of scanning iMovie is crashing- This happens also after the 7.01-update.
-
MacBook Pro Retina 15 late 2013 keyboard/Trackpad freezes
I have had a problem for at least the last 6 months (possibly ever since I've had it since last November) with keyboard and trackpad freezing, usually when I awake it from sleep and/or plugging in an external display. I have to reboot by plugging in