Boscop / Boscop/web-view

Rust Webview JavaScript interface

Open
#323 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

I am developing a Web plug-in of Rust native app (Plug-in will be loaded into a Webview instance of native Rust app). My plug-in must fetch ( via GET/POST/PUT/DELETE requests) data from remote servers. Currently, my Web plug-in could not use default JavaScript fetch due to blocking by CORS errors. Therefore, I must find a way to call fetch handlers from Rust native app. 

I know that Android apps can expose JavaScript interface APIs to web plugins (run inside a Webview).

I would like to ask: How can Rust native apps expose JavaScript interface APIs to web plugins (run inside a Webview)" ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.