google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.43k stars 598 forks source link

[WebView] postUrl not working anymore #1612

Closed katajona closed 1 year ago

katajona commented 1 year ago

Description Since 0.29.1-alpha update the postUrl() function is not working anymore

Steps to reproduce I used to be able to use the old postUrl function the following way:

val state = rememberWebViewState("")
WebView(
    state = state,
    factory = {
        android.webkit.WebView(it).apply {
            postUrl(
                "https://google.com",
                "my_by_array_string".toByteArray()
            )
        }
    }
)

I am not sure if this was the correct way to post data but it was the only way I could get it working. Unfortunately, with the 0.29.1-alpha release it broke.

Expected behavior I am able to do a postUrl call that also has a parameter called byte[] postData

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

katajona commented 1 year ago

The issue is still there and I am waiting for a solution.