Alaa Adel suggested an idea · Mar 17 at 01:33 PM · sdks
I am using the Javascript SDK.
Sometimes I get error messages in the browser console. They contain nice details about the error. But for the users, I don't want them to read this data; specially that it might contain credentials and so on..
For example, in PlayFabClientAPI.js, line 131 in Chrome, there is this line:
reject(xhrResult);
Which shows the error in console. The error allows me to read the request data and see the player's email and password..etc.
Please provide a way to enable/disable these messages by the developer. Like a variable for example, something like:
{ // ... SDK code if (isDebugMode===true) { // The developer can change it to 'false' at release // Print-to-Console code } }
Thank you.
We would love to know what you need. Submit your ideas and upvote others to help us prioritize.
Set multiple TitleData keys in single API call.
Store and catalog management from Server SDK
Secure socket to custom game servers
UnitySDK: override ToString() in DataModels
Add IsConsumable field to PlayFab's API for catalog items
REST API feature to be provided