Good afternoon, I am logging in my app by google play to use achievements and highscore, and saved the information in the localstorage, until then all right, but when the user reinstalls the application, it loses all the information, because the localstorage is deleted .. I implemented then the playfab plugin to get the information when the user logs in and save to a bank when he reinstalls the app( IMAGE 1), he takes the data from the playfab database and places it in an array. And then this Array becomes the variables. The biggest difficulty I'm having is the following: When the user closes the game, the data is saved on the playfab server ( IMAGE2) ... But when he reopens the app, the server data gets 0, (they reset) both in server as in the game. What is happening is probably the following by logic ... The database has X information, the local storage has Y, when it opens, is overlapping the information, or some conflict ... I know the difficulty is in the code logic and not in the playfab server ... But i need some help me please, because I can not make it work ... Thank you
I know i need to VERIFY its exists, But how do I validate if something exists, if that's what I need to get it in the database?