Hi guys, I tested out my web app on mobile (Androi...
# compose-web
i
Hi guys, I tested out my web app on mobile (Android), when I click on a text field. The phone keyboard doesn't open. https://ismai117.github.io/DroidJobsKMP/
a
@Oleksandr Karpovich [JB] ^^
o
Hi! The mobile web support is in progress and this feature is a TODO. You can follow this PR for example: https://github.com/JetBrains/compose-multiplatform-core/pull/1085 We aim to have it implemented in 1.6.10 release
👍 2
i
Im also receiving this error on safari (iPhones)
a
Do you use Compose with
wasmJs
target or with
js
? If
wasmJs
, Safari still doesn't have some required proposals (so, if you need Safari right now, it's better to use Compose for Web with
js
)
r
I get the same opengl error, but It just seems to check the user agent(I'm on chrome/Linux and I switched the user agent). What proposals are't there yet?
i
I'm using Compose for Web with Js. But for some reason it's not working on iPhones.
r
It doesn't check is OpenGL supported, it checks are you on iphone
i
So, are there any solutions?
r
from
OpenGLLibrary.nativeJs.kt:
Copy code
``
```package org.jetbrains.skiko

internal actual fun loadOpenGLLibrary() {
    when (hostOs) {
        // It is deprecated. See <https://developer.apple.com/documentation/opengles>
        OS.Ios -> throw RenderException("OpenGL on iOS isn't supported")
        // Do nothing as we don't know for sure which OS supports OpenGL.
        // If there is support, we assume that it is already linked.
        // If there is no support, there will be a native crash
        // (to throw a RenderException we need to investigate case by case)
        else -> Unit
    }
}
`````
image.png
but i also found:
So there's a chance that if this when would be removed then maybe it will work, but I don't have an iphone to test it out.
i
You can test it out using device mode in chrome devtools
a
@Oleksandr Karpovich [JB] ^^
o
It caused by a recent change in skiko for iOS (was not supposed to affect web) - https://github.com/JetBrains/skiko/pull/869 We'll fix it
i
No worries! Thanks
r
Thanks for help
Any updates on the situation with skiko "webgl not supported" ?
o
Should be fixed in 1.6.1
r
Ok