+ 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

3rd Jul 2021, 7:54 AM
Gone
12 odpowiedzi
+ 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
3rd Jul 2021, 8:58 AM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 12
Hey sololearn has release updates yesterday check it out if it were solved
3rd Jul 2021, 1:51 PM
Jano c͓̽o͓̽d͓̽e͓̽r͓̽
Jano c͓̽o͓̽d͓̽e͓̽r͓̽ - avatar
+ 4
Yes, you are right See my code : https://code.sololearn.com/W8otdzWpUWa7/?ref=app
3rd Jul 2021, 8:14 AM
Ayush
Ayush - avatar
+ 3
Everything would be appreciated ✌🏻
3rd Jul 2021, 7:55 AM
Gone
+ 3
Thanks 😊 @everyone I'll try figuring out the issue and mail SL Thanks Arnav Kumar
3rd Jul 2021, 12:39 PM
Gone
+ 3
Ayush I am not talking about the app what i am talking about is the web Playground
6th Jul 2021, 9:19 AM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 2
It doesn't support vanilla tilt
3rd Jul 2021, 8:15 AM
Ayush
Ayush - avatar
+ 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).
3rd Jul 2021, 8:38 AM
Ipang
+ 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
6th Jul 2021, 6:58 AM
visph
visph - avatar
+ 2
Thanks visph
6th Jul 2021, 7:28 AM
Gone