K
K
KraGen.Developer2022-03-14 15:07:13
Unity
KraGen.Developer, 2022-03-14 15:07:13

How to save data so that if the game is deleted, none of the data is deleted?

Hello everyone, in general, I started making IAP in the game and the question arose:
How to save data so that after deleting and reloading the game, the data is not deleted?
That is, let's imagine the situation: A person bought "Remove ads" played a game. Well, he deleted it, then after a while he sees a suitable update, shakes it again and then bam and there is no ad removal. Buy again? but no because I save the data in PlayerPrefs. Well, in short. Who will tell you how to save?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2022-03-14
@KraGenDeveloper

Your purchase must be Nonconsumable, and when you start the application, you can receive all such user purchases.

L
LittleBob, 2022-03-14
@LittleBob

Why not register in the application and save all user data in a database somewhere on your server?
When logging in, the user enters a password, if there is one on the database, take the necessary data and use it to load advertising, progress and other things, if not, create a new table and save the account in it. Something like this.
YouTube has tutorials on PHP and SQLite. But these are not the only technologies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question