Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebView] postUrl not working anymore #1612

Closed
katajona opened this issue May 11, 2023 · 2 comments · Fixed by #1677
Closed

[WebView] postUrl not working anymore #1612

katajona opened this issue May 11, 2023 · 2 comments · Fixed by #1677
Assignees

Comments

@katajona
Copy link

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
Copy link

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.

@github-actions github-actions bot added the stale Stale issues which are marked for closure label Jun 26, 2023
@katajona
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants