+ 15
😰 Sololearn also doesn't support Device motion and orientation 😰
I think 🤔 Sololearn needs an update in it's browser. Sololearn doesn't support many things like ifame properties, ←with history api like window.history.go(1); & storage api. And today I discovered that it also doesn't support Device orientation events along with many events. It's just my opinion to upgrade as it is possible. You can see that it doesn't supports device orientation 😱 https://code.sololearn.com/Whu7y29buYNB/?ref=app
12 Answers
+ 8
Its because SoloLearn uses webview
And while making android app, webview needs to be configured with some options the developer can decide which features to allow and which to not its all depend on developers and SoloLearn don't allow these permissions to codes
There maybe a valid reason though. like if a code captued picture or video and it was allowed to do so cause SoloLearn was allowed permission by user so Codes would inherit the permissions but if the creator of code does some bad things with the data of viewers of his code then in this case SoloLearn will be responsible so maybe to be safe from legal issues SoloLearn hasn't allowed us
You can see all options of webview at the android devlopers site https://developer.android.com/reference/android/webkit/WebSettings
Its not problem of your phone or os its just that SoloLearn hasn't allowed those permissions to us
you can mail info@sololearn.com to request them to allow more webview permissions to code
+ 12
Hey sololearn has release updates yesterday check it out if it were solved
+ 4
Yes, you are right
See my code :
https://code.sololearn.com/W8otdzWpUWa7/?ref=app
+ 3
Everything would be appreciated ✌🏻
+ 3
Thanks 😊 @everyone I'll try figuring out the issue and mail SL
Thanks Arnav Kumar
+ 3
Ayush I am not talking about the app what i am talking about is the web Playground
+ 2
It doesn't support vanilla tilt
+ 2
Device orientation event was supported in earlier versions. It was removed in recent updates because many people reported it to have triggered issues. I recall someone said that in a thread discussing the same topic (which I can't seem to find).
+ 2
Ayush you're wrong: sololearn app USE webview for displaying web code projects... but is not a webview only app: that's a big difference ;P
+ 2
Thanks visph