I need to expose some functionality that can be called from web app that is called in flutter_webview package so this website can access device native resources through app. but not directly accessing them but through my functions so it can be monitored and controlled. The idea is to create a channel or to take advantage of the native app functionality although it is a web view and make the most of it.
I tried using javascript channels functionality to setup communication between the web view and flutter app. but just simply using the messages is not good enough to achieve the functionality I am trying to achieve. I need to be able to take full advantage of the app functionalities and other services in the app and let some web app use some functionality of the app without exposing app internal code.
I need to expose some function and when called from javascript or from outside the app runs its own logic, to complete the operation. it can be an api call or something else.
Rhino is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.