Skip to content

Communication on android #83

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions