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?

Similar Messages

  • My imac is running mountain lion and last night i downloaded maverick. in midst of installing it it said a powerPC app microsoft word would not work so i canceled the install for the time being. my questions is  if i choose to finish installing maverick

    my imac is running mountain lion and last night i downloaded maverick. in midst of installing it, it said a powerPC app microsoft word would not work so i canceled the install for the time being. my questions is  if i choose to finish installing maverick does that mean i will nevver be able to access word documents stored on my desktop? or do the word docs automatically convert to pages or what? i am so confused. would i be better off just sticking with mountain lion and send the maverick install to the trash? hoping someone will be able to answer my question though i am afraid the response is likely to be just stick with mountain lion so you can keep using word. i had been looking forward to maverick but it seems pretty drastic to not have access to microsoft word anymore by switching to maverick. hope someone has an answer so i can have the best of both worlds so to speak!

    thanks for your response Csound1 on the peninsula ... if i go ahead and install maverick and then download LibreOffice or OpenOffice will i then be able to access old microsoft word saved documents on my deskstop through those two free alternatives? i am not that knowledgeable about these things so i am not sure if you are saying i will just be able to use libreoffice or openoffice for creating new documents or whether i can access the saved microsoft docs? are they transferred to OO or LO or what and if editing of the old word docs is needed can i do that through the OO and LO programs or apps (see i am not even sure if i am using the correct vocabulary!) hope you can answer this as quick as the first question, so i can decide to stick with mountain lion and trash the maverick install or proceed with maverick install and hoppe that my microsoft word docs are still accessible through OO or LO or adding to myquestion will pages on maverick be able to open the old word documents? thanks again!

  • HT2693 How do you contact Apple by email to report one of their pre-installed iPad Apps (ie Calender) is not working properly?

    How do you contact Apple by email to report one of their pre-installed iPad Apps (ie Calender) is not working properly?
    On trying to open month of March 2013 the pre-installed calendar just shuts down and closes.  Have tried restarting iPad but this didn't help and because its a pre-installed App am unable to re-install it.   Is this a universal problem or just affecting me?  Tried searching for support in both App Store and on Apple site and can't see how to report this.

    Feedback
    http://www.apple.com/feedback

  • The App Nike   Running is not working well with my Ipod touch 5 th generation It always gives me the wrong distance and velocity. Is it normal? What could I do?

    The App Nike   Running is not working well with my Ipod touch 5 th generation It always gives me the wrong distance and velocity. Is it normal? What could I do?

    Are you using the shoe sensor?
    Try:
    http://www.apple.com/support/nikeplus/troubleshooting/

  • Remote not working properly with Apple TV...sporadic fuctioning

    Hello,
    I have no idea what caused this to happen, but both my remotes (I have one from my MacBook Pro and one from my AppleTV) seem to not work properly with AppleTV. It sometimes works but it is extremely frustrating as it only registers about 1 out of every 10-20 clicks then continues to remember the previous clicks therefore making it essentially impossible to select the desired menu/item. Basically it just seems like it's out of control!
    I tested whether it was the remote or AppleTV that was causing the problem by running Front Row on my MacBook Pro and both remotes seem to navigate Front Row perfectly fine. They both act the same way with AppleTV, whether they are paired or not. It seems as though something happened with my AppleTV. This problem occurred randomly, with no specific cause I can think of.
    Please let me know if any of you have ever experienced this problem and what your solution was, if any!
    I have tried restoring to factory conditions, resetting settings, ran diagnostics, unplugged and replugged it, and nothing seems to be working!
    Oh, and I just replaced the battery on one and have tried swapping batteries, etc.
    HELP PLEASE!
    Thank you,
    Travis

    The menus have never been as responsive as they used to since the 2.0 update in my opinion - basically AppleTV seems to cache/buffer remote click if it is busy or perhaps waiting for something to stream from itunes, and when resources become available it suddenly executes all command rapidly which makes it behave wildly in menus.
    Usually happens I find after restarting the unit or if streaming drives have gone in to power saving modes and there's a delay while they wake up to feed the AppleTV.

  • Hi, My iPhone 4s does not work properly with the sound.

    Hi, My iPhone 4s does not work properly with the sound. It just ring. Any other app it doesn't make sound unless I have my headset or bluetooth. And it make me choose between "DOCK CONECTOR" or my "APPLE TV". Why? Or any sugestion plz

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • HP computer will not work properly with an HP printer

    I have the following two items that I am trying to use together:
     - HP 23" TouchSmart Desktop, T6500 2.1GHz 4GB DDR3, 500GB HDD (Windows 7)
     - HP OfficeJet 6500 Multi-Function Printer/Scanner/Fax
    When I try to scan to Adobe Acrobat Professional 9.0, the document goes through the scanner, however the dialog box that I would expect (e.g. "Next Page" or "Done") never shows up.  At this point, the system is unresponsive with respect to Adobe or the printer.
    I suspect that it is waiting for the input from the dialog box that never showed up.  I tried to move the other windows to see if the dialog opened in the background, however I am not able to select any of them (they remain frozen).
    I contacted HP Support, only to have them tell me it must be the driver, and I have an "old" printer.  (I did not realize that a 9 month old printer was considered "old").  I have tried all of the possible drivers that are available (original disk, downloads, other downloads from HP tech support), none of these resolves the problem.
    In any case, they were unable to resolve the problem of having an HP computer work properly with an HP printer.  (The printing function seems to work, just very slowly).
    Has anyone else heard of this?  Is there a resolution?

    Update: I am still looking for a solution to this problem - the scanning portion of the Multi-function OfficeJet 6500 does not work properly with the HP TouchSmart computer.
    I have not been able to find anyone in HP that can tell me when (or if) new drivers will be released for this printer.
    I decided to investigate upgrading to a newer version of printer since HP told me the 9 month old printer I have was "obsolete", only to find that the identical printer is still on sale in many stores.  Hmmm....
    I feel like I am getting the run-around from HP.
    I have since tried several more driver/software combinations, but every time I have the same problem (as described in the previous post).
    If anyone has any ideas or suggestions, I would be most happy to hear them.
    Thank you.

  • Help, web cam is not working properly with win vista

    Hii.. my web cam is not working properly with win vista..even if the icon appears bt it does nt start.. its
    lenovo easy capture 2.5...so if u cud suggest me anything...
    Moderator note; subject edited

    re-install drivers and try again. ( also easy capture )

  • My iphone 5 does not work properly with Ford Sync,

    Hi, My iphone 5 does not work properly with Ford Sync, everytime I pair the phone, Ford sync navigation system freezes and does not work !
    Can someone help.

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • TS4002 Icloud Mail doet not work properly with PC since a few days!!!

    Icloud Mail doet not work properly with PC since a few days!!!

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (800) 631-3811.
    - Peter

  • My garage band will not work properly with new lion upgrade..HELP

    My garage band will not work properly with new lion upgrade..HELP
    I have tried to open old session i have done in garage band and many of the effects and instruments I have used will not show up. The system seems to have a bug.

    If the graphical user interface looks broken, that is quite often a problem of corrupted user preferences - have you tried to remove the preferences file, as described in the FAQ
    http://www.bulletsandbones.com/GB/FAQPages/OddBallProbs.html
    Here is again the short version:
    Quit GarageBand, if it is running.
    Open your User Library in the Finder. It is hidden in MacOS X Lion, so use the Finder's "Go" menu:
    Finder > GO    hold down the "Options" key, until the library appears in the menu, select it.
    In the window that opens, open the folder "Preferences" and remove the file:com.apple.garageband.plist and com.apple.garageband.plist.lockfile
    Then try again to run GarageBand and download the loops.
    The preferences file stores all you user settings that you set using the "Preferences" panel in GarageBand, also the layout of the GarageBand window and the location of your recent projects. You will have to enter these settings again after removing the file.
    Regards
    Léonie

  • In-app purchase - restore transaction

    Ok so I have been able to use the native extensions to make use of the in app purchase and got that working well, however, my app got rejected because I didn't have a way for a user to restore their purchase if they delete the app from their device and re-add it at a later date.
    Here's my question though. How do I detect whether a user has actually already purchased the in-app purchase when they reinstall the app to show the restore purchase button.
    Right now the way it works is that when they buy my in app purchase the app stores a variable in a SharedObject so that whenever the app loads it sees the vairable as true and reveals the feature. Once they delete the app from the device the shared object has been deleted also so there is no way for the app to know it was already purchased.
    Do I just put a button on the purchase screen that says "restore purchase" that will fire the StoreKit.storeKit.restoreTransactions()event if that user had already purchased something, but return an error if they hadn't?

    sbhave wrote:
    Also I would recommend you call restoreTransactions on launch if you find that LSO is unavailable. That way user will automatically get all his purchases as he starts using your app.
    isn't that a bit wierd - it means that as soon as the app is launched for the first time it will ask the user for their password with the dialog box - that's not normal behaviour for an app. I would imagine the user being dubious about entering it when they didn't expect anything to start downloading
    and with regard to the restore button always behing there - isn't that weird for someone who has never purchased anything to see a button that says "restore purchases". I've never seen either of these two implementations on an app before. Isn't there a way to detect if the user has any purchases to restore before you offer them an automatic restore or a manual one?

  • Just upgraded to iOS5 on iPad. Music app and mail does not work properly.

    Just upgraded iPad2 to iOS5. Music app does not work properly. When I select a song to play, it plays a different song. Sometimes, it just stops playing songs, other times, it shuffles songs.
    Not sure whats going on.
    Worked fine using iOS4.3.5.
    Synced the iPad to iCloud. enabled mail. It shows under settings that the iCloud mail is setup, but the mail does not appear in the mail app. Not sure whats happening with these functions on iOS5.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Klipsch S4i headphones do not work properly with iPhone 5

    I've got a really weird issue with my iPhone 5.  I previously purchased an iPod Nano 16GB as well as Klipsch S4i headphones.  The headphones has a console with 3 buttons.  The topmost button is to increase volume and conversely, the lowest button decreases volume.  No problem with either of these buttons.
    The center button is operated by the number of times you push it.  One push pauses the track (song) being played.  A second push resumes play.  Two pushes in a row causes the iPod to advance to the next track in the playlist.  Three pushes in a row cause the iPod to go back to the beginning of the track being played.  If you push three times consecutively then you go back to the track prior to the track which is being played, and so forth depending upon the number of times you keep pushing three times.  With me so far?  So the S4i console works just fine with the iPod.
    However, the S4i console does not work well with the iPhone 5.  I went to the Apple store this evening and they restored (reset?) the iPhone 5.  I then restored the data to it from my computer once I got home.  So the state of the S4i console is this.  Push the center button once and it pauses.  That is okay.  Push the center button again and it resumes play.  Still good.
    Push the center button twice in a row and it sometimes advances to the next track.  Not always unless you are very fast at depressing the button.  Push the button three times and it may or may not go back to the beginning of the track.  This seems to be a function of 'how fast' you are pushing the button.  Literally, you have to be like Quick Draw McGraw on the darn button.  That is not the case with the iPod Nano.
    Pushing the button multiple times does not necessarily take you forward to the next track or at the start of the one playing or to the track before.  While typing this, I managed to get the center button to work better so I thought maybe it is going out.  But I don't experience that same problem with the iPod Nano and it was not a problem on the two tech's iPods/iPhones at the Apple store when tried with my S4i headphones attached.  So I don't think there is any issue with the center button on the S4i's console or those headphones in general.  I also don't think it is a hardware issue as the headphone jack does not seem loose.  I have only been using my iPhone 5 for about a week.
    In fact, I was able to get the advance function as well as the reverse function for going back to the beginning of the track to work by depressing the center button quickly but if you want to jump back a track then you really have to hit it quickly multiple times.  In trying to go back to the beginning of a track or jumping back another or multiple tracks, then if the track you went back to the beginning of begins to play then the pushing three times maneuver does not work.  I have no clue what is going on other than it has got to be a programming issue with the iPhone 5.  Call me a cynic but I have my doubts that exchanging my new iPhone 5 is going to make a difference.
    Moreover, on a number of occasions (more than 5) while playing tunes on the iPhone 5, it suddenly and randomly stops.  This happened before the device was restored this evening and I have not had the opportunity to really test it out besides seeing if there is still an issue with the S4i headphones and the iPhone 5.  I swear I did not touch or brush against the screen or depress any buttons when this occurred.
    Has anyone got an idea what might be the problem?  If so, I would be grateful if you could clue me in here.

    Maybe it's a safty issue. You should not be able to watch movies while driveing anyway. Does it work when the car is in netral or park and the emergency brake is on. In my lexus thats the only way the front DVD will work.

  • ITunes not working properly with HP running Vista home premier

    My Ipod touch works fine on my windows XP pro system but does not sync photos and podcasts from my other computer at home: new HP Multimedia system running Vista Home Premier. It goes through all the motions but will only add a few photos from a file and they are partially corrupt. Many times it won't add any selected photos. Same with podcasts, they won't sync to the ipod. Have tried various USB ports.

    well, it is easy. i just wish it to sync in a manner that i do not get frustrated with it. it just does not like to sync when i open up itunes on desktop to update apps when they have updates. i have got to revert to plugging in the phone and ipad for it to sync and update apps. if you read through the whole thing you would have found it out. all i am saying is that itunes 10.6.1 and ios 5.1 have bugs and issues that make it hard for a iphone and ipad user to sync and update apps. itunes is slow to open with windows 7 as well as i did not mention that before but i have mentioned it in my other forum posts.
    summary:
    itunes 10.6.1, is slow to open on windows 7,
    syncing ipad and iphone does not update without plugging them in.
    wifi sync is not working properly or as it should, it doesn't recognize phone and ipad unless plugged in.

Maybe you are looking for