|
|
|
|
|
by aikah
2829 days ago
|
|
> I wouldn't call manually exporting Java methods to the WebWidget "no effort whatsover", plus the performance hit of doing cross-language, inter-process calls, in a dynamic language while the platform languages are static. Well like it or not JS is first class on both platforms as they both have a JS engine at the developer's disposal, Kotlin or C# aren't. |
|
If it was first class, there would be official Android APIs for JavaScript, debugging support on Android Studio, project templates on Android Studio.
Instead it is a web widget with its own little island of HTML 5/CSS 3, hardly first class.
The support is not much different than getting chromium and compiling it with the NDK.
The only mobile platforms where JavaScript is first class, alongside the other platform languages is on ChromeOS and UWP.