+ 26
14th Jan 2019, 12:14 PM
Pedro H.J
Pedro H.J - avatar
31 Antworten
+ 15
Google freezes Chromium Webview (that's the component containing the JavaScript engine that renders web codes) at some last-supported version. If a mobile does not also pull in WebView on app updates, you have the latest supported version--that's the engine you get. Workarounds include: ~ only use ES5 syntax, or detect the user agent and deliver the proper script version ~ use custom <script type=""> tags to separate ES5/6 code into blocks you manage ~ use the babel transpiler ~ polyfill non-syntax differences features (like array.splice) Babel samples can be found in CodePlayground: https://code.sololearn.com/WhJVO59gYZMH/?ref=app https://code.sololearn.com/WL4QrKP4we6A/?ref=app Check webview version (useful for https://caniuse.com): https://code.sololearn.com/WeBKGPjY0UHK/?ref=app
14th Jan 2019, 4:40 PM
Kirk Schafer
Kirk Schafer - avatar
+ 31
In My Phone I Can't See Your Code Result Too! I Don't Know The Reason!! I Wonder if I Find It Out!!!
14th Jan 2019, 7:58 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 27
KrOW Bro Thanks Alot Dear :)
16th Jan 2019, 5:57 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 18
Kirk Schafer do you know how Jason M.Azizi can updated to see my code ?
14th Jan 2019, 8:02 PM
Pedro H.J
Pedro H.J - avatar
+ 17
Thank you so much Kirk Schafer
14th Jan 2019, 5:22 PM
Pedro H.J
Pedro H.J - avatar
+ 15
Why one phone works and the other does not ?
14th Jan 2019, 1:05 PM
Pedro H.J
Pedro H.J - avatar
+ 14
Emma but on my smartphone, this works perfectly.
14th Jan 2019, 12:50 PM
Pedro H.J
Pedro H.J - avatar
+ 13
Emma Thanks for sharing this printscreen.
14th Jan 2019, 1:07 PM
Pedro H.J
Pedro H.J - avatar
+ 12
I have a new problem. Seb TheS can see chess code but can not see Strawberry code. https://code.sololearn.com/WYlh2W9zZ2Ol/?ref=app I'm trying something like old P5 sounds library , but no effect. 😧😨 I'll give up.
18th Jan 2019, 9:30 PM
Pedro H.J
Pedro H.J - avatar
+ 11
I changed to previous version P5 (0.6.1) David Carroll Jason M.Azizi Please Try this: https://code.sololearn.com/WIEK8dlC5Rbd/?ref=app
18th Jan 2019, 7:29 PM
Pedro H.J
Pedro H.J - avatar
+ 10
I tried to comment // console function but @SKIZZLES can not see this code again.
18th Jan 2019, 6:51 PM
Pedro H.J
Pedro H.J - avatar
+ 10
[note, GPU blacklists] If anyone thinks they might be getting a WebGL error I can link the Chromium GPU blacklist, and a statement on missing features that causes webview to auto-blacklist your configuration, even when a browser normally works with WebGL in your configuration. I can also include a couple test pages that detect WebGL blacklisting in a meta sort of way (they report it's there...but seemingly disabled).
18th Jan 2019, 8:23 PM
Kirk Schafer
Kirk Schafer - avatar
+ 9
They probably have older JavaScript engines. Mine, for example, was distributed before ES6 was adopted so I cannot parse this line: console.log=()=>{}; Arrow functions are syntax errors on my device; syntax errors crash the lexer (or parser) so no script in that block runs (script in other blocks will run).
14th Jan 2019, 4:22 PM
Kirk Schafer
Kirk Schafer - avatar
+ 9
So he have to re organise some function for older device? Kirk Schafer But even though they have updated solo-in app browser
14th Jan 2019, 4:26 PM
Charan Leo25
Charan Leo25 - avatar
+ 9
There's not enough information there for me to guess and I don't want to start a hardware troubleshooting side-thread here. Whatever the exact details are, the solutions are likely to be in this set: ~ Try getting the latest Google Play / SoloLearn app update ~ Downgrade all ES6 code to ES5 (either of you; this is a coding site after all!) ~ Change no ES6 code; instead add the Babel transpiler trick from the demo code linked before ~ Try visiting the code from a browser outside the app (their web components are usually more robust / updated longer) ~ Use a different mobile
14th Jan 2019, 8:34 PM
Kirk Schafer
Kirk Schafer - avatar
+ 9
Pedro H.J That new update loads in SoloLearn app for me now. Prior to the change it loaded in mobile Chrome Browser. So... yeah... I'm now in full agreement with Kirk Schafer. 👌
18th Jan 2019, 9:05 PM
David Carroll
David Carroll - avatar
+ 8
It works fine in my smartphone!
14th Jan 2019, 3:35 PM
AL Araf
AL Araf - avatar
+ 8
ⓈⓀⒾⓏⓏⓁⒺⓈ You...are a special case. Your webview supports some of these features in "transitional-ES6" mode, which is a bit more rare here (mine's that way, but my strict mode is not as far along as yours, so I still can't use arrow functions). The command referred to here is: 'use strict'; // first line of any JS This changes the behavior of 'transitional" engines (with SOME ES6 features) + requires variable declaration. IMHO, this is an edge case fix only (Babel will enable it as part of its compatibility transpilation though).
14th Jan 2019, 8:41 PM
Kirk Schafer
Kirk Schafer - avatar
+ 7
Maybe there's a error in the code
14th Jan 2019, 2:21 PM
Alpha
Alpha - avatar
+ 7
Because they're not your true friends. You inadvertently created a friendship tester. Only your *real* friends can see this code!
15th Jan 2019, 6:06 AM
DumbledoresAmy
DumbledoresAmy - avatar