I am creating an iPhone app with an in-app purchase. I use the "built-in" model, where additional content is unlocked upon receipt. My transaction works without problems ... but what is the best way to save a purchase record on a user device?
Apple recommends using NSUserDefaults to store this information. The problem with this recommendation is that anyone who has a free copy of iPhone Explorer can very easily enter the application, edit the plist and unlock the full version without actual payment.
Can anyone recommend a safer solution?
Standard disclaimer: there is no "real solution" that will defeat all piracy - there is only a varying degree of difficulty in unlocking the material for free. Current generally accepted wisdom: it may not be important to worry about a small number of people who know how to edit applications.
Anyway:
~
/tmp
/Library/Caches
, , , . .:)
, . plist ( )
, , . plist. , -, (, , ). . (, value = hash (userID)) "" , ( ) - . , , , , plist.
?
Source: https://habr.com/ru/post/1785848/More articles:how to perform C # time check in HHMMSS format - c #Delete new line after shell command - command-lineI need code to check any time in C # in HHMMSS format - c #Можно ли включить "исходные" файлы в wixlib? - wixConsidering HorizontalAlignment and VerticalAlignment when creating a custom panel - alignmentXNA's ToggleFullScreen causes a lost device, such as errors - xnaAdd columns dynamically to a table managed with jQuery tablesorter - jquery[Text Game] Quiddler Solver Algorithm - c ++How to get an array of object values using jquery - jqueryDirectX11 and Batch Kit - algorithmAll Articles