Skip to content

Communication on android #83

@Pandetthe

Description

@Pandetthe

Hi, I am trying to send message from js to c#. It's working on windows and ios but not on android. Am I doing something wrong?

if (window.chrome) {
    window.chrome.webview.postMessage(JSON.stringify(point));
} else if (window.webkit) {
    window.webkit.messageHandlers.webview.postMessage(JSON.stringify(point));
}
WebView.WebMessageReceived += OnWebMessageReceived;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions