Debug Mode - Prebuilt
This feature allows SDK to raise error pop up for providing invalid parameter during SDK integration.
How it works ?
-
While
debug
value set totrue
, and you have provided invalid parameter in config object, you can get a pop-up related to that error. -
For example, you have provided invalid API key in config object, now it will raise error pop up as below image.
-
While
debug
value set tofalse
, and you have provided invalid parameter in config object, you can get a pop-up, but it will not specify an exact error. -
For example, your account discontinued for some reason, now it will not raise error related to account discontinue, but it will display as below image.
By default, debug
value is false
.
Debug Mode attributes
index.html
const config = {
// ... other configuration
debug: true, // false
// ...
};
Got a Question? Ask us on discord