Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

purchased contents missed after update

hash.techniqhash.techniq Posts: 12Registered Users
hello folks,

please i need any help, in my inapp purchase, there are many albums to be purchased, each album when purchased will change its button from buy now to play now, when my app is updated, the application reset to default since there are no contents saved after updating, the user has to re-download them, i used to save the purchased albums in Caches directory since the apple restrict saving in Documents directory, what shall i do, where to save the songs of the purchased albums???
Post edited by hash.techniq on

Replies

  • smithdale87smithdale87 Posts: 4,286iPhone Dev SDK Supporter
    I would say to not store the purchase receipts on the device at all. Or at least have them stored elsewhere in case you cannot find them on the device (which is your case). Store customer receipts on a server or something. That way, even if user deletes your app and downloads again at a later date, you can restore previous purchases.
  • hash.techniqhash.techniq Posts: 12Registered Users
    smithdale87;429601 said:
    I would say to not store the purchase receipts on the device at all. Or at least have them stored elsewhere in case you cannot find them on the device (which is your case). Store customer receipts on a server or something. That way, even if user deletes your app and downloads again at a later date, you can restore previous purchases.
    dude thats never help. all the songs are located on an online server of us, all what i want to do is just to keep the purchased songs safe when updating the application, could some one advice please??
  • smithdale87smithdale87 Posts: 4,286iPhone Dev SDK Supporter
    So it sounds like you are confusing the term "purchasing" and "downloading". They have two very different meanings, and your original post specifically talks all about keeping track of "purchases" when the user updates the app.

    On to your real problem, about keeping downloaded files around --
    the application reset to default since there are no contents saved after updating, the user has to re-download them, i used to save the purchased albums in Caches directory since the apple restrict saving in Documents directory
    How are you determining if the user has downloaded the item? Just checking if the file exists?
Sign In or Register to comment.