Simple file or database?

Hi,

I’ve been working on a game(for iOS) that does include in-app currency sales and I just wanted to know if I should use a simple file or a simple database to store currency information. Also, I want to know if there is any other way.

Thank you [import]uid: 154911 topic_id: 34098 reply_id: 334098[/import]

That’s more of a preference thing. A lot of people prefer saving a table as a json object in a plain text file. I’m more comfortable using SQLite as i am already fairly proficient SQLand more comfortable working with DBs for saving/pulling data.

Either way works and one isn’t really better than the other. [import]uid: 147305 topic_id: 34098 reply_id: 135605[/import]

Is there a secure way to store data like this or are my concerns unnecessary? I’m talking about data editing, that will really block the in-app sales. What about this? [import]uid: 154911 topic_id: 34098 reply_id: 135608[/import]

Well, it’s not a trivial task either way but the SQLiteDB would be harder out of the box since you would need to know how to open it.

[import]uid: 147305 topic_id: 34098 reply_id: 135613[/import]

Hmm, I got it. Thank you for the help. [import]uid: 154911 topic_id: 34098 reply_id: 135719[/import]

That’s more of a preference thing. A lot of people prefer saving a table as a json object in a plain text file. I’m more comfortable using SQLite as i am already fairly proficient SQLand more comfortable working with DBs for saving/pulling data.

Either way works and one isn’t really better than the other. [import]uid: 147305 topic_id: 34098 reply_id: 135605[/import]

Is there a secure way to store data like this or are my concerns unnecessary? I’m talking about data editing, that will really block the in-app sales. What about this? [import]uid: 154911 topic_id: 34098 reply_id: 135608[/import]

Well, it’s not a trivial task either way but the SQLiteDB would be harder out of the box since you would need to know how to open it.

[import]uid: 147305 topic_id: 34098 reply_id: 135613[/import]

Hmm, I got it. Thank you for the help. [import]uid: 154911 topic_id: 34098 reply_id: 135719[/import]