Hi playfab. I have a question.
i am building a simple 2d unity game. I would like to know about saving the game data (offline).
I have read the brilliant documentation and so far Absolutely loved the service.
but im in a deadlock right now.
Question: How to save the data offline.
Scenario: i have a couple of different boosters in the game(i.e booster1, booster2, booster3),
so far what i have in me mind is to save everything( coins, Booster1_amount, Booster2_amount, Booster3_amount) on cloud(playfab) but it has limitations. Like player needs constant internet connection to play(with boosters).
how to solve this problem? I want to make the boosters available to the player even offline.
i can save the data( the amount of each booster player has) on the device of player and use it whenever player is offline and when he goes online again sync the data. (the most common solution).
But then comes the issue of security what if somebody hacks into the files (the files encrypted by unity).
Is there any other option? simpler one, with no additional cost. No new server required.
Exact Scenario: player plays the game,he is connected to the internet, he's got 10 boosters. he uses 3 boosters, remains 7, (**)we update it on playfab instantly. All good. he closes the app. opens it. he's got 7 boosters. he closes the app. turns off internet. opens the app. what now?
if i am (**)saving the game data on an encrypted file on device, then whats the point? how to avoid this security loophole? I am updating both playfab and encrypted file.