[SOLVED] Suppressing Warnings on the mobile app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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();

2nd Dec 2016, 6:18 PM
Burey
Burey - avatar
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. :)
18th Dec 2016, 10:51 PM
Tristan McCullen
Tristan McCullen - avatar
+ 4
sure thing doc
18th Dec 2016, 11:08 PM
Burey
Burey - avatar
+ 4
:-)
18th Dec 2016, 11:11 PM
Tristan McCullen
Tristan McCullen - avatar