+ 5
[SOLVED] Suppressing Warnings on the mobile app
Does anyone happen to know how to suppress warnings on web codes in this app? check in my codes the Snake.js Game to better understand which warning i am talking about (it appears a few moments after starting the game) edit: solved the problem which originated from a synchronous XMLHttpRequest (XHR) by the Firebase service which caused the sololearn application to make a console.log warning. what solved it was adding the following line on the start of the code: Firebase.INTERNAL.forceWebSockets();
3 Answers
+ 5
This issue screamed XHR via firebase so that would be my first guess.
>>>Firebase.INTERNAL.forceWebSockets
EDIT: Oh! glad you solved it! :)
Next time you face issues with this - send me a pm. :)
+ 4
sure thing doc
+ 4
:-)