+ 8
What should I do to make ES6 syntax work on my phone?
Is there a way to make my phone understand ES6 syntax so that I can run codes with new syntax in Code Playground? My phone is running on android 4.4.2 so I can't update System Webview. What are the other viable options that I can do?
9 Respostas
+ 13
You simply can't do that.
But you can try to use Custom tabs with chromer app(it may not work for you). just share the code link to it. It will open in a custom tab (assuming chrome or Firefox is installed and set as provider in that app). Custom tabs are lightweight compared to loading the full browser.
That's the best you can do. Apart from that you can upgrade your android via installing a custom rom(use a search engine for more info).
# chromer app link
https://play.google.com/store/apps/details?id=arun.com.chromer
+ 17
Ask sololearn if custom chrome tabs can be used. (I don't know which Android versions support it )
+ 9
You can install chrome or firefox on your mobile and run codes in them (use share link option).
+ 4
Great! It's working! Thanks Lord Krishna. Way better than copy paste.
+ 4
to change webview provider
first enable android developer options and then change the web view implementation
https://www.chromium.org/developers/androidwebview/android-webview-beta
+ 4
@Jonathan for version M or below as shown in in the link can join the beta app on playstore
https://play.google.com/apps/testing/com.google.android.webview
+ 3
@Morpheus, unfortunately, I think that only works on Android Nougat and above.
+ 2
I know about chrome(I forgot to mention). It's the one I use to view ES6 codes. But that's on a browser. Is there a way to somehow set it as 'system browser' so I can use that functionality and view codes in-app?
+ 2
@Morpheus, I have tried to download the beta version but it says my device isn't compatible with the version.